Commit Graph

1967 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
78070e00c4 2004-12-31 12:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapicdp.h
  * harbour/source/codepage/cdp_tpl.c
  * harbour/source/codepage/cdpeldos.c
  * harbour/source/codepage/cdpelwin.c
  * harbour/source/codepage/cdpesdos.c
  * harbour/source/codepage/cdpeswin.c
  * harbour/source/codepage/cdpgedos.c
  * harbour/source/codepage/cdpgewin.c
  * harbour/source/codepage/cdphu852.c
  * harbour/source/codepage/cdphuwin.c
  * harbour/source/codepage/cdppl852.c
  * harbour/source/codepage/cdppliso.c
  * harbour/source/codepage/cdpplmaz.c
  * harbour/source/codepage/cdpplwin.c
  * harbour/source/codepage/cdppt850.c
  * harbour/source/codepage/cdpptiso.c
  * harbour/source/codepage/cdpru866.c
  * harbour/source/codepage/cdprukoi.c
  * harbour/source/codepage/cdpruwin.c
  * harbour/source/codepage/cdpsl437.c
  * harbour/source/codepage/cdpsl852.c
  * harbour/source/codepage/cdpsliso.c
  * harbour/source/codepage/cdpslwin.c
  * harbour/source/codepage/cdpsrwin.c
  * harbour/source/rtl/cdpapi.c
    * fix memory leak reported for accented and multi byte CPs

  + harbour/source/codepage/cdpesmwi.c
    * added missing Spanish modern CP

  * harbour/include/hbstack.h
  * harbour/include/hbapiitm.h
  * harbour/source/vm/estack.c
  * harbour/source/vm/itemapi.c
    + added hb_stackReturnItem()
    - removed hb_itemReturnPtr()

  * harbour/source/rdd/workarea.c
    ! fixed possible restoring of scopes in scoped relations after
      'SET RELATION TO'

  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/dbfdbt/dbfdbt1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
    * use hb_stackReturnItem() instead of direct stack accessing

  * harbour/source/rdd/dbfntx/dbfntx1.c
    ! Fixed opening NTX file in ReadOnly mode
    * use hb_stackReturnItem() instead of direct stack accessing

  * harbour/source/rtl/filesys.c
    * cleaned unnecessary initialization

  * harbour/source/vm/memvars.c
    * formatting and small fix for calling GC after hb_memvarsRelease()
2004-12-31 11:47:58 +00:00
Przemyslaw Czerpak
a188a207d6 2004-12-28 11:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/samples/dbf.c
  * harbour/contrib/samples/time.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/gencli.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rtl/accept.c
  * harbour/source/rtl/errorapi.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/initsymb.c
  * harbour/source/vm/macro.c
  * harbour/source/vm/memvclip.c
    * changed 'extern HB_FUNC' to HB_FUNC_EXTERN for easier ABI
      manipulations
2004-12-28 10:33:04 +00:00
Przemyslaw Czerpak
e4ac791059 2004-12-28 10:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour.spec
  * harbour/hbgtmk.sh
  * harbour/make_rpm.sh
  * harbour/bin/pack_src.sh
    * updated for recent changes in make process

  * harbour/contrib/Makefile
    * added odbc lib for Linux compilation

  * harbour/contrib/btree/Makefile
    * changed lib name from hb_btree to hbtree

  * harbour/contrib/btree/hb_btree.api
  * harbour/contrib/btree/hb_btree.c
    * fixed GCC compilation in HB_TR_DEBUG mode

  * harbour/contrib/hbzlib/hbzip.h
  * harbour/contrib/hbzlib/include/hbzip.h
  * harbour/include/hbapi.h
  * harbour/include/hbapicdp.h
  * harbour/include/hbapierr.h
  * harbour/include/hbapifs.h
  * harbour/include/hbapigt.h
  * harbour/include/hbapiitm.h
  * harbour/include/hbapilng.h
  * harbour/include/hbapirdd.h
  * harbour/include/hbcomp.h
  * harbour/include/hbdate.h
  * harbour/include/hbdbsort.h
  * harbour/include/hberrors.h
  * harbour/include/hbexprb.c
  * harbour/include/hbexprop.h
  * harbour/include/hbhash.h
  * harbour/include/hbinit.h
  * harbour/include/hbmacro.h
  * harbour/include/hbpp.h
  * harbour/include/hbrdddel.h
  * harbour/include/hbrddntx.h
  * harbour/include/hbrddsdf.h
  * harbour/include/hbrddwrk.h
  * harbour/include/hbset.h
  * harbour/include/hbstack.h
  * harbour/include/hbtrace.h
  * harbour/include/hbvm.h
  * harbour/include/hbvmpub.h
    * changed #if defined (HB_EXTERN_C) to HB_EXTERN_BEGIN / HB_EXTERN_END
      macros for easier manipulation with different ABI
    * added HB_IS_BADITEM() macro for debugging
    * synced CDP with xHarbour - added basic Unicode support
    * synced RDD with xHarbour

  * harbour/source/codepage/Makefile
  * harbour/source/codepage/cdp_tpl.c
  * harbour/source/codepage/cdpeldos.c
  * harbour/source/codepage/cdpelwin.c
  * harbour/source/codepage/cdpesdos.c
  * harbour/source/codepage/cdpeswin.c
  * harbour/source/codepage/cdpgedos.c
  * harbour/source/codepage/cdpgewin.c
  * harbour/source/codepage/cdphu852.c
  * harbour/source/codepage/cdphuwin.c
  * harbour/source/codepage/cdppl852.c
  * harbour/source/codepage/cdppliso.c
  * harbour/source/codepage/cdpplmaz.c
  * harbour/source/codepage/cdpplwin.c
  * harbour/source/codepage/cdppt850.c
  * harbour/source/codepage/cdpptiso.c
  * harbour/source/codepage/cdpru866.c
  * harbour/source/codepage/cdprukoi.c
  * harbour/source/codepage/cdpruwin.c
  * harbour/source/codepage/cdpsl437.c
  * harbour/source/codepage/cdpsl852.c
  * harbour/source/codepage/cdpsliso.c
  * harbour/source/codepage/cdpslwin.c
  * harbour/source/codepage/cdpsrwin.c
  + harbour/source/codepage/uc1250.c
  + harbour/source/codepage/uc1251.c
  + harbour/source/codepage/uc1253.c
  + harbour/source/codepage/uc1257.c
  + harbour/source/codepage/uc737.c
  + harbour/source/codepage/uc850.c
  + harbour/source/codepage/uc852.c
  + harbour/source/codepage/uc866.c
  + harbour/source/codepage/uc88591b.c
  + harbour/source/codepage/uc8859_1.c
  + harbour/source/codepage/uc8859_2.c
  + harbour/source/codepage/uckoi8.c
  + harbour/source/codepage/uckoi8u.c
  + harbour/source/codepage/ucmaz.c
  * harbour/source/rtl/cdpapi.c
    * synced HB CDP API with xHarbour - added basic Unicode support

  * harbour/source/common/expropt2.c

  * harbour/source/common/hbstr.c
    * removed unnecessary initialization to avoid BCC warnings

  * harbour/source/compiler/harbour.c
    * formatting
      hb_compCodeBlockStop() looks like work in progress or is has
      some old unused code - Ryszard, can you look at it?

  * harbour/source/macro/macro.y
    * removed hack for GCC and old Bison versions

  * harbour/source/pp/ppcore.c
    * removed unnecessary initialization to avoid BCC warnings

  * harbour/source/pp/pptable.c
    + added some sets for RDD synchronization with xHarbour

  * harbour/source/rdd/dbcmd.c
    + added __RDDGETTEMPALIAS

  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/dbfuncs.prg
  * harbour/source/rdd/dbnubs.c
  * harbour/source/rdd/dbstrux.prg
  * harbour/source/rdd/hbdbsort.c
  * harbour/source/rdd/rddord.prg
  * harbour/source/rdd/workarea.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/dbfdbt/dbfdbt1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
    * synchronized with xHarbour - still dbcmd.c has to be synced yet
    ! fixed all known bugs
    Alexander, please look at DBFNTX - I hope all is correct.

  * harbour/source/vm/codebloc.c
    * formatting

  * harbour/source/vm/fm.c
    + added HB_PARANOID_MEM_CHECK to force reallocations in hb_xrealloc
      and fill allocated and freed memory with HB_MEMFILER (0xff by default)
      It's for debugging only.

  * harbour/source/vm/hvm.c
    ! fixed hb_vmTopNumber() declaration for BCC
    * use hb_gcCollectAll() at HVM exit instead of hb_gcReleaseAll() to
      report allocated and not freed items - It could caused that some
      programs begin to report memory leaks.

  * harbour/source/vm/itemapi.c
    * check for HB_IS_BADITEM inside hb_itemClear() when compiled with
      HB_PARANOID_MEM_CHECK for debugging

  * harbour/source/vm/memvars.c
    * formatting
    ! fixed pItem initialization in hb_memvarDetachLocal()
      BTW - is this really necessary? I copy it form hb_itemUnRef()
      but in fact it cannot detect all possible item reference cycles
      if they appear - can they appear?
2004-12-28 09:29:30 +00:00
Przemyslaw Czerpak
8f2352f7fe 2004-12-12 02:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/config/hpux/dir.cf
  + harbour/config/hpux/gcc.cf
  + harbour/config/hpux/global.cf
  + harbour/config/hpux/install.cf
    * Marcelo's files build files for HPUX borrowed from xHarbour

  * harbour/bin/hb-func.sh
  * harbour/bin/hb-mkslib.sh
  * harbour/bin/postinst.sh
    * recent Phil's changes for Darwin and some of mine modifications and
      cleanups

  * harbour/include/Makefile
    + added some missing header files

  * harbour/include/hbapi.h
    + added HB_ITEM_{GET|PUT}_NUMINTRAW() macros
    + added hb_objGetClass()

  * harbour/include/hbdefs.h
    * redefined multi commands macros to use do {...} while(0) for safe
      use in any of C statement
    + added HB_OS_HPUX

  * harbour/include/hbsetup.h
    + added HB_OS_HPUX

  * harbour/include/hbstack.h
    * hb_stackDec(), hb_stackPop(), hb_stackPush() redefined also as macros
      when HB_STACK_MACROS is set
    + added function hb_stackIncrease()

  * harbour/source/common/hbstr.c
    * fixed possible buffer overflow

  * harbour/include/hbrdddbf.h
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/workarea.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/dbfdbt/dbfdbt1.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
    * my recent fixes in xHarbour

  * harbour/source/rtl/copyfile.c
    * small fix to error message

  * harbour/source/rtl/idle.c
    + added HB_IDLESLEEP() and
      void hb_idleSleep( double dSeconds )

  * harbour/source/rtl/isprint.c
    * use hb_xgrab()/hb_xfree() instead of malloc()/free()

  * harbour/source/rtl/run.c
    * added __WATCOMC__ to C compilers supporting system()

  * harbour/source/vm/arrays.c
    * cleaned hb_arrayFromStack(), hb_arrayFromParams()

  * harbour/source/vm/arrayshb.c
    * small fixes to error messages
    ! improved Clipper compatibility in AFILL()
  * harbour/source/vm/asort.c
    * separate entry for integer items - conversion to double may
      damage big 64bit numbers

  * harbour/source/vm/classes.c
    + added USHORT hb_objGetClass( PHB_ITEM pItem )

  * harbour/source/vm/dynsym.c
    ! fixed accessing to uninitialized memory

  * harbour/source/vm/estack.c
    + added hb_stackIncrease() and modification for new stack macros

  * harbour/source/vm/hvm.c
    * fixed some error messages
    * some speed improvements

  * harbour/source/vm/itemapi.c
    * some small optimizations

  * harbour/utils/hbtest/rt_misc.prg
    * modified file name conversions test results for __PLATFORM__UNIX
2004-12-12 01:56:21 +00:00
Przemyslaw Czerpak
08f5a4b48c 2004-10-23 02:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/postinst.sh
   * changed install command syntax for Solaris compatibility

  * harbour/include/hbdefs.h
   * minor formating

  * harbour/source/vm/fm.c
   + overwrite HB_MEMINFO_SIGNATURE with 0 in hb_xfree() for detection
     redundant hb_xfree() call with the same pointer

  * harbour/source/rtl/spfiles.c
   * set the real path in second parameter of RetPath even when
     hb_spFiles fails to avoid race condition

  * harbour/source/vm/hvm.c
   ! set proper decimal value in hb_vmDivide when the integer results
     is converted into double
   ! commented out integer division optimization at runtime for Clipper
     compatibility
2004-10-23 01:15:55 +00:00
Przemyslaw Czerpak
4549e35314 2004-10-19 22:25 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * changed 'sed' and 'tr' expresions to be compatible with SunOS
    + added Darwin dynlib support borrowed from xHarbour thanks
      to Phil Krylov

  * harbour/bin/hb-mkslib.sh
    * minor modification

  * harbour/bin/postinst.sh
  * harbour/config/darwin/gcc.cf
    + Phil's modification for Darwin
    * removed HB_OS_BSD and HB_BIG_ENDIAN - the first macro is set in
      hbsetup.h when HB_OS_DARWIN is set, the second one should be
      automatically detected inside hbdefs.h using C header files.

  * harbour/config/sunos/gcc.cf
    * removed HB_BIG_ENDIAN macro - the same as above

  * harbour/include/hbapi.h
  * harbour/source/vm/fm.c
    * changed 16/32 bit hack #if UINT_MAX == ULONG_MAX for hb_xmem*()
      functions to still not perfect but working on current platforms
      #if UINT_MAX > USHRT_MAX

  * harbour/include/hbdefs.h
    + added HB_DBL_LIM_INT24(d) and HB_LIM_INT24(l) macros
    + try to autodect byte order using information form system C header
      files - it whoud work for Linux, BSD/Darwin, SunOS - maybe also
      for some other *nixes
    * removed some dangerous casting. [x]Harbour code still depnds on
      8bytes double - in CDX for binary compatibility IEEE754 double is
      necessary - if some architectures uses differ type of double value
      for binary compatibility we will have to create proper conversion
      functions for HB_{PUT|GET}_{LE|BE}_DOUBLE and HB_ORD2DBL/HB_DBL2ORD
      macros

  * harbour/include/hbsetup.h
    * define HB_OS_UNIX when HB_OS_SUNOS set

  * harbour/source/common/hbstr.c
  * harbour/source/pp/ppcore.c
    * casting

  * harbour/source/compiler/harbour.c
    * use HB_LIM_INT*() macros instead of hard coded values
    * removed some unnecessary if () statement - always true

  * harbour/source/compiler/harbour.l
  * harbour/source/compiler/hbfix.c
  * harbour/source/vm/macro.c
    * use HB_LIM_INT*() macros instead of hard coded values

  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    ! minor fix

  * harbour/source/rdd/dbfntx/dbfntx1.c
    ! small fix - the temporary index file was not removed
    * do not force any name for temporary index files - important
      in some cases (like DOS and short file names)

  * harbour/source/rtl/diskspac.c
    ! fixed type in SunOS version

  * harbour/source/rtl/gtsln/Makefile
    * minor cleanups

  * harbour/utils/hbtest/rt_math.prg
    * changed to number results to be Clipper compatible.
2004-10-19 21:26:21 +00:00
Przemyslaw Czerpak
26c88c2ae9 2004-10-14 21:30 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
  * harbour/bin/pack_src.sh
  + harbour/config/sunos/dir.cf
  + harbour/config/sunos/gcc.cf
  + harbour/config/sunos/global.cf
  + harbour/config/sunos/install.cf
    + added SunOS support

  * harbour/config/darwin/gcc.cf
    * small modification for nicer work with OS-X installed
      on SF compile farm - I'm not Darwin user and SF is the only
      one place I can make tests - if someone may fix me and leave
      some comments 'why?' it will be nice.

  * harbour/contrib/Makefile
    * exclude ADS RDD from Darwin build

  * harbour/contrib/rdd_ads/adsfunc.c
    * some minor modification to avoid compiler warnings.

  * harbour/include/hbdefs.h
    * fixed typo in HB_PUT_LE_DOUBLE() macro for big endian machines.

  * harbour/source/compiler/genc.c
    ! fixed endian dependend code I left by mistake

  * harbour/source/compiler/harbour.c
  * harbour/source/compiler/harbour.sly
  * harbour/source/compiler/harbour.y
    ! commented out hb_compSequenceFinish()

  * harbour/source/pp/ppcore.c
    + added ( void * ) size as result of __ARCH{16,32,64}BIT__ and
      __{LITTLE,BIG,PDP}_ENDIAN__ macros

  * harbour/source/pp/pragma.c
    ! fixed possible string overflow

  * harbour/source/vm/itemapi.c
  * harbour/source/rtl/diskspac.c
  * harbour/source/rtl/disksphb.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/idle.c
  * harbour/source/rtl/math.c
  * harbour/source/rtl/gtcrs/Makefile
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gtcrs/kbdcrs.c
  * harbour/source/rtl/gtcrs/mousecrs.c
    * modified for SunOS and Darwin support.
2004-10-14 19:36:53 +00:00
Przemyslaw Czerpak
ef0883bf02 2004-10-11 21:40 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/Makefile
  + harbour/make_bsd.sh
  + harbour/make_drw.sh
  * harbour/make_tgz.sh
  + harbour/bin/hb-func.sh
  * harbour/bin/pack_src.sh
  + harbour/bin/postinst.bat
  + harbour/bin/postinst.sh
  * harbour/config/dir.cf
  * harbour/config/bsd/gcc.cf
  * harbour/config/bsd/global.cf
  + harbour/config/darwin/dir.cf
  + harbour/config/darwin/gcc.cf
  + harbour/config/darwin/global.cf
  + harbour/config/darwin/install.cf
  * harbour/config/dos/dir.cf
  * harbour/config/dos/global.cf
  * harbour/config/dos/install.cf
  * harbour/config/dos/owatcom.cf
  * harbour/config/dos/watcom.cf
  * harbour/config/linux/gcc.cf
  * harbour/config/linux/global.cf
  * harbour/contrib/Makefile
  * harbour/contrib/dot/pp_harb.ch
  * harbour/contrib/libct/Makefile
  * harbour/contrib/libct/bit1.c
  * harbour/contrib/libct/bit2.c
  * harbour/contrib/libct/bit3.c
  * harbour/contrib/libct/files.c
  * harbour/contrib/libct/ftoc.c
  - harbour/contrib/libct/invertwin.prg
  + harbour/contrib/libct/invrtwin.prg
  * harbour/contrib/libct/keyset.c
  * harbour/contrib/libct/makefile.bc
  * harbour/contrib/libmisc/dates2.c
  * harbour/contrib/rdd_ads/ads1.c
  * harbour/contrib/rdd_ads/adsfunc.c
  * harbour/contrib/samples/date.c
  * harbour/include/dbinfo.ch
  * harbour/include/hbapi.h
  * harbour/include/hbapicdp.h
  * harbour/include/hbapifs.h
  * harbour/include/hbapigt.h
  * harbour/include/hbapiitm.h
  * harbour/include/hbcomp.h
  * harbour/include/hbdate.h
  * harbour/include/hbdbf.h
  * harbour/include/hbdbferr.h
  * harbour/include/hbdefs.h
  * harbour/include/hbexprb.c
  * harbour/include/hbexprc.c
  * harbour/include/hbexprop.h
  * harbour/include/hbmacro.h
  * harbour/include/hbmath.h
  * harbour/include/hbpcode.h
  * harbour/include/hbrddcdx.h
  * harbour/include/hbrdddbf.h
  * harbour/include/hbrdddbt.h
  * harbour/include/hbrddfpt.h
  * harbour/include/hbrddntx.h
  * harbour/include/hbset.h
  * harbour/include/hbsetup.h
  * harbour/include/set.ch
  * harbour/source/common/Makefile
  * harbour/source/common/expropt1.c
  * harbour/source/common/expropt2.c
  - harbour/source/common/hbffind.c
  * harbour/source/common/hbfsapi.c
  * harbour/source/common/hbstr.c
  * harbour/source/common/hbver.c
  + harbour/source/common/hbverdsp.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/gencli.c
  * harbour/source/compiler/harbour.c
  * harbour/source/compiler/harbour.l
  * harbour/source/compiler/harbour.slx
  * harbour/source/compiler/harbour.sly
  * harbour/source/compiler/harbour.y
  * harbour/source/compiler/hbfix.c
  * harbour/source/compiler/hbpcode.c
  * harbour/source/compiler/hbusage.c
  * harbour/source/compiler/simplex.c
  * harbour/source/macro/macro.l
  * harbour/source/macro/macro.slx
  * harbour/source/macro/macro.y
  * harbour/source/pp/ppcore.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  - harbour/source/rdd/dbfcdx/dbfcdx1.h
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rtl/Makefile
  * harbour/source/rtl/abs.c
  * harbour/source/rtl/at.c
  * harbour/source/rtl/datec.c
  * harbour/source/rtl/dates.c
  * harbour/source/rtl/dateshb.c
  * harbour/source/rtl/datesx.c
  * harbour/source/rtl/empty.c
  * harbour/source/rtl/errorapi.c
  * harbour/source/rtl/errorint.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rtl/fstemp.c
  + harbour/source/rtl/hbffind.c
  * harbour/source/rtl/hbrandom.c
  * harbour/source/rtl/idle.c
  * harbour/source/rtl/inkey.c
  * harbour/source/rtl/math.c
  * harbour/source/rtl/minmax.c
  * harbour/source/rtl/pad.c
  * harbour/source/rtl/padc.c
  * harbour/source/rtl/padl.c
  * harbour/source/rtl/padr.c
  * harbour/source/rtl/philes.c
  * harbour/source/rtl/round.c
  * harbour/source/rtl/soundex.c
  * harbour/source/rtl/str.c
  * harbour/source/rtl/strcase.c
  * harbour/source/rtl/strmatch.c
  * harbour/source/rtl/strtran.c
  * harbour/source/rtl/strzero.c
  * harbour/source/rtl/substr.c
  * harbour/source/rtl/val.c
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gtcrs/kbdcrs.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/gtsln/gtsln.c
  * harbour/source/rtl/gtsln/kbsln.c
  * harbour/source/rtl/gtsln/keytrans.c
  * harbour/source/vm/arrays.c
  * harbour/source/vm/codebloc.c
  * harbour/source/vm/estack.c
  * harbour/source/vm/eval.c
  * harbour/source/vm/extend.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/itemapi.c
  * harbour/source/vm/macro.c
  * harbour/source/vm/memvars.c
  * harbour/source/vm/runner.c
  * harbour/tests/bldtest/bldtest.c
  * harbour/utils/hbtest/hbtest.prg
  * harbour/utils/hbtest/rt_misc.prg
  * harbour/utils/hbtest/rt_str.prg
   * Sorry but it's too much modification for full description
     cvs diff gives file 785982 bytes length. So I only count the
     main things:
   ! cleand the code (no more warning messages under Linux and GCC and
     DOS OpenWatcom) - some of them were real bugs
   ! cleaned all endian dependend code I've found - now Harbour can be
     compiled on LITLE and BIG endian machines - for some other like
     PDP ENDIAN it's enough to define proper macros in hbdefs.h
   + added macros for to get/put values in chosen byte order:
         HB_GET_LE_[U]INT{16,24,32,64}( pPtr )
         HB_GET_BE_[U]INT{16,24,32,64}( pPtr )
         HB_PUT_LE_[U]INT{16,24,32,64}( pPtr, nVal )
         HB_PUT_BE_[U]INT{16,24,32,64}( pPtr, nVal )
   + added macro HB_CAST_BYTE_NUMBERS_OFF which disables casting in
     HB_{GET|PUT}_{LE|BE}_* macros - it's necessary for some platforms
     like ALPHA DEC.
   ! cleaned the code for 64bit machines
   * changed all parameters in hb_date* functions (day, month, year, week)
     from LONG to int - it doesn't change binary compatibility for 32bit
     machines but can cause troubles with compiling the old source
   + changed HB_IT_LONG type to HB_LONG which is mapped to long long
     by default for 32 bit machines.
   + change HB_IT_INTEGER to be real 'int' C type not 'short int'
   + added HB_IS_NUMINT() macro
   + added hb_parnll, hb_stornll, hb_retnll, hbretnlllen, hb_itemPutNLL,
     hb_itemPutNLLLen, hb_itemGetNLL which operates on LONGLONG
   + added hb_parnint, hb_stornint, hb_retnint, hb_retnintlen,
     hb_itemPutNInt, hb_itemPutNIntLen, hb_itemGetNInt which operates on
     HB_LONG
   + added HB_PUSHLONGLONG pcode
   + changed compiler and optimizer to use HB_LONG numbers and reduce
     conversion from to double which may damage the 64bit number.
   + common functions for string to number conversions for compiler, RTL
     and RDD to reduce problems with differ FL values for the same number:
     hb_compStrToNum(), hb_valStrnToNum(), hb_strToNum(), hb_strnToNum()
   + common function hb_numRoun() which uses exactly the same algorithms
     as string to number conversion for the same reason - please keep
     this functions together.
   + hack inside hb_numRound() similar to the one used by CL5.3
   + hb_numInt() which uses uses the same hack as hb_numRound()
   + rewritten number to string conversion
   + some new string manipulation functions hb_strncpy(), hb_strncat(), ...
     They works differ the the C one - always set 0 at the end, the buffer
     has to be n+1 bytes length, the n is total size of buffer not the
     left free space.
   ! cleaned some code which operates on ASCIIZ string to avoid potential
     buffer overflow
   + updated RDD code - it's the first part - in few days I plan to change
     workarea structure in both projects - it will break any 3rd party RDDs
     so they have to be updated. I want to add SUPERTABLE into workarea
     to allow creating new RDD on-line.
   ! cleaned the bugs with negating integers - on most machines (like x86)
     the integers are not 0 symmetric - it means that x = -x does not work
     for {INT,LONG,LONGLONG}_MIN (hb_vmNegate, ABS())
   + cleaned error messages to be Clipper compatible.
   + updated build process for .DEB packages - now hb* scripts and shared
     libs are created by standard make install
   * added new .prg #defines: __PLATFORM__<cPlatfrom>,
     __ARCH{16|32|64}BIT__, __LITTLE_ENDIAN__|__BIG_ENDIAN__|__PDP_ENDIAN__
     !!! cPlatfrom can have lower letters (for xHarbour compatibility)
     If you do not like it please change it.
   * others ...
2004-10-11 20:44:30 +00:00
David Arturo Macias Corona
8c05a732dd 2004-08-06 18:21 UTC-0500 David Arturo Macias Corona <dmacias@mail.udg.mx>
* harbour/source/rtl/dates.c
      ! fixed problem with dates. Now is Clipper compatible
        For empty date it returns empty string, for valid
        when number of years greater equal to 0 it returns formated date
        and in other case it fills buffers with 0 characters.
        Borrowed from xHarbour, in changes made by Przemyslaw Czerpak
        It also fix ( CTOD( "" ) + 30 ) error reported by Randy Portnoff
2004-08-06 23:38:40 +00:00
Ryszard Glab
dd39f3c21e 2004-08-03 11:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/rtl/tget.prg
      * GetNew() no longer evaluates passed set/get codeblock
2004-08-03 09:02:09 +00:00
Viktor Szakats
b9b1362563 2004-08-01 14:38 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/filesys.c
     ! Out of bound buffer access fixed. (I couldn't test this)
       (Thanks to Chen Kedem)
2004-08-01 12:39:47 +00:00
Antonio Linares
cbd894f922 Nil changed into _Nil as it is not allowed as a Class Name 2004-07-27 09:58:12 +00:00
Antonio Linares
50f01e0895 Harbour implementation of Class(y) Class Numeric 2004-07-27 09:47:05 +00:00
Antonio Linares
5a47a1d403 Harbour implementation of Class(y) Class Nil 2004-07-27 09:46:36 +00:00
Antonio Linares
2341426cbf Harbour implementation of Class(y) Class Logical 2004-07-27 09:45:37 +00:00
Antonio Linares
cfd2e48231 Harbour implementation of Class(y) Class Date 2004-07-27 09:45:07 +00:00
Antonio Linares
baf9ccc000 Harbour implementation of Class(y) Class Block 2004-07-27 09:44:35 +00:00
Antonio Linares
e2c69515bc Harbour implementation of Class(y) Class Array 2004-07-27 09:44:06 +00:00
Antonio Linares
ab7c23d394 added missing include file 2004-07-27 00:12:27 +00:00
Antonio Linares
9fe700c87a Harbour implementation of Class(y) Class Character 2004-07-27 00:07:02 +00:00
Antonio Linares
0366162d36 $Id$ fixed 2004-07-25 23:26:49 +00:00
Antonio Linares
d5bf7ce61a Harbour implementation of Class(y) Class ScalarObject 2004-07-25 23:17:44 +00:00
David Arturo Macias Corona
67467989f0 2004-07-17 04:14 UTC-0500 David Arturo Macias Corona <dmacias@mail.udg.mx>
* source/rtl/tget.prg
    + Added DATA CapRow and DATA CapCol values
2004-07-17 09:34:07 +00:00
Luis Krause
3b98cb51c6 2004-07-12 17:19 UTC-0800 Luis Krause Mantilla 2004-07-13 00:20:53 +00:00
Phil Krylov
c9331ce46c 2004-06-08 22:50 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> 2004-06-08 18:50:51 +00:00
Phil Krylov
c4d8ff8810 2004-06-07 14:15 UTC+0300 Phil Krylov <phil@newstar.rinet.ru> 2004-06-07 10:15:40 +00:00
David G. Holm
302fb923c8 See ChangeLog entry 2004-05-18 15:45 UTC-0400 David G. Holm <dholm@jsd-llc.com> 2004-05-18 19:54:41 +00:00
Ryszard Glab
4ff4ff3d11 2004-05-14 16:05 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbexpra.c
   * source/compiler/expropta.c
   * source/compiler/harbour.c
   * source/macro/macroa.c
   * source/rtl/tget.prg
   * source/rtl/tgetint.prg
      * fixed to be more Clipper compatible

   * source/rtl/persist.prg
      * fixed to not use xBase extensions
2004-05-14 13:58:47 +00:00
Ryszard Glab
f130138204 2004-05-13 11:00 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/rtl/transform.c
      * TRANSFORM(1.23,"999.") correctly returns "  1." now
      instead of empty string

   * source/rtl/tget.prg
      * fixed to correctly display buffer when negative value
      and '0' was pressed in the position next to decimal
      point
      e.g. -1230. was displayed as -123-.
      * fixed support for '9999.' picture
2004-05-13 08:50:28 +00:00
Ryszard Glab
b8d0f3a098 2004-05-11 15:10 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* CVSROOT/avail
      * restored write access to the entire repository for
      all developers

   * doc/codestyl.txt
      * small corrections (use 3 spaces instead of Tab)

   * include/hbcomp.h
   * source/compiler/cmdcheck.c
   * source/compiler/harbour.c
   * source/compiler/hbusage.c
      + added posibility to specify the output PPO file with -p
      e.g.
      -pppo/myfile.ppo
      (thanks to Larry Sevilla)

   * source/rtl/tget.prg
      * fixed positioning of cursor when the first pressed key
      was a digit during editing of numeric value

   * source/compiler/hbfix.c
   * source/rdd/dbcmd.c
   * source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rtl/dates.c
   * source/rtl/filesys.c
   * source/rtl/inkey.c
   * source/rtl/isprint.c
   * source/rtl/math.c
   * source/rtl/philes.c
   * source/vm/classes.c
   * source/vm/hvm.c
      * removed '//' comments
2004-05-11 13:28:15 +00:00
Ryszard Glab
9df7e88a73 2004-05-08 10:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbfdbt/dbfdbt1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rtl/is.c
   * source/rtl/strcase.c
   * source/rtl/transfrm.c
      * updated to refer hb_cdp_page instead of s_cdpage

   * source/vm/itemapi.c
      * snprintf is used only in GCC/Linux and WatcomC
      guarded with #ifdef HB_HAS_SNPRINTF
      (this is ommision from my previous commit)
2004-05-11 13:06:32 +00:00
Ryszard Glab
2112980b99 2004-05-08 10:40 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/rdd/dbf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbfdbt/dbfdbt1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rtl/is.c
   * source/rtl/strcase.c
   * source/rtl/transfrm.c
      * updated to refer hb_cdp_page instead of s_cdpage

   * source/vm/itemapi.c
      * snprintf is used only in GCC/Linux and WatcomC
      guarded with #ifdef HB_HAS_SNPRINTF
      (this is ommision from my previous commit)
2004-05-08 08:31:13 +00:00
Ryszard Glab
09c05aac87 2004-05-07 19:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
+ config/dos/owatcom.cf
      * added configuration file for OpenWatcom (renamed
      from watcom.cf)

   * config/dos/watcom.cf
      * restored previous version so it correctly compiles
      under WatcomC 10 - please use watcom.cf for WatcomC
      and owatcom.cf for OpenWatcom

   * makefile.bc
   * makefile.nt
   * makefile.vc
   * hrbdll.bc
   * source/codepage/Makefile
   + source/codepage/cdpsrwin.c
      + new file with Serbian codepage

   * CVSROOT/avail
      * removed reference to my local file

   * ERRATA
      * updated (removed reference to tmpname)

   * doc/codestyl.txt
      * updated with some coding guidelines adopted from PHP
      (please fell free to discuss them ;-)

   * doc/howtocvs.txt
      * added description for commit on Linux

   * include/hbapicdp.h
   * source/codepage/cdpesdos.c
      * restored previous versions

   * include/hbcomp.h
      * added <malloc.h> reference for WatcomC compiler

   * include/hbexprc.c
      * fixed warning reported by WatcomC

   * source/vm/itemapi.c
      * fixed infinite support for WatcomC

   * source/rtl/cdpapi.c
      * renamed global symbol s_cdpage into hb_cdp_page

   * source/rtl/gtcrs/kbdcrs.c
      * fixed reporting keystrokes with codes > 127
2004-05-07 17:32:59 +00:00
Ryszard Glab
58e748bc75 2004-04-24 15:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbapi.h
      * changed ULONG hb_objHasMsg into BOOL hb_objHasMsg

   * include/hbvmpub.h
      * added
         union {
          PHB_FUNC pFunPtr;
          int iStaticsBase;
         } value
       to HB_SYMB structure to remove pointer/int conversion

   * source/compiler/genc.c
   * source/compiler/gencli.c
   * source/rdd/dbf1.c
   * source/rdd/delim1.c
   * source/rdd/sdf1.c
   * source/rdd/dbfcdx/dbfcdx1.c
   * source/rdd/dbfdbt/dbfdbt1.c
   * source/rdd/dbffpt/dbffpt1.c
   * source/rdd/dbfntx/dbfntx1.c
   * source/rtl/symbol.prg
   * source/vm/classes.c
   * source/vm/dynsym.c
   * source/vm/hvm.c
   * source/vm/initsymb.c
   * source/vm/macro.c
   * source/vm/runner.c
      * changed to use new HB_SYMB structure
      * removed all pointer/long castings (except runner.c)
2004-04-24 13:33:06 +00:00
Ryszard Glab
abe158c8d0 2004-04-17 12:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbapi.h
   * source/rtl/empty.c
   * source/rtl/idle.c
   * source/vm/arrays.c
   * source/vm/estack.c
   * source/vm/extend.c
   * source/vm/itemapi.c
      * added missing code to use HB_IT_POINTER just like
      other value's type
      You can use:
      hb_retptr( void * pointer )
      hb_parptr( ) -> void *
      hb_storptr( void * pointer, ...... )
      to return/manage pointers from low level functions.
      For example:
      p = GET_SOME_POINTER()
      ? VALTYPE(p)   //prints: 'P'
      ? p   //prints: 0x12345678

   * tests/onidle.prg
      * fixed to use values of pointer type

   * tests/tstmacro.prg
      * added code to test TYPE() function
2004-04-17 10:58:20 +00:00
Alexander S.Kresin
a4bed99897 2004-04-16 13:55 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2004-04-16 09:54:44 +00:00
Przemyslaw Czerpak
e101b3078d 2004-04-14 12:20 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/tests/bldtest/Makefile
    * fixed typo in file name

  * xharbour/include/hbdefs.h
    + added HB_COUNTER and HB_PTRDIFF types - first for reference
      counters and second for any pointer differences and pointer to
      integer conversions - this modification is synced with xHarbour

  * harbour/include/hbapi.h
  * harbour/include/hbdefs.h
  * harbour/source/rtl/philes.c
  * harbour/source/vm/arrays.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/itemapi.c
    * use HB_COUNTER type
2004-04-14 10:32:01 +00:00
David G. Holm
e39f835bc4 See ChangeLog entry 2004-04-09 15:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2004-04-09 18:54:53 +00:00
Ryszard Glab
643d421f1a 2004-04-02 16:25 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* source/compiler/gencli.c
      * fixed warnings

   * source/rtl/cdpapi.c
      *fixed warnings (Can the author of the code check if
      I correctly parenthesized multiple || and && conditions?)

   * source/vm/classes.c
      *fixed warning in gcc (commented out unused
      static hb_clsScope function)

   * source/rdd/dbfntx/dbfntx1.c
   * source/rtl/fstemp.c
      * fixed hb_fsCreateTemp() to use 'mkstemp' on Unix
      * fixed sorting procedure to use hb_fsCreateTemp
      wrapper function

   * source/rtl/set.c
      *hb_set.HB_SET_DIRSEPARATOR defaults to '/' on Unix
2004-04-02 14:06:17 +00:00
Ryszard Glab
b79d50c582 2004-04-02 13:15 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbexpra.c
   * include/hbexprop.h
   * source/common/expropt1.c
   * source/compiler/expropta.c
   * source/macro/macro.y
   * source/macro/macroa.c
   * source/vm/macro.c
      * fixed to release memory in cases where invalid
      syntax was macro compiled

   * source/vm/itemapi.c
      * fixed to correctly check for infinity on Unix
      STR(LOG(-1)) no longer core dumps

   * source/rtl/filesys.c
   * source/rdd/hbdbsort.c
      * fixed to suppres warnings

   * source/pp/ppcore.c
   * utils/hbtest/rt_misc.prg
      * Clipper preproceses '**' into '^' - harbour too
2004-04-02 11:14:37 +00:00
Antonio Linares
92c3a16b2a A Linux linking time warning removed 2004-04-02 10:04:20 +00:00
Ryszard Glab
e3971c5905 2004-03-30 16:30 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
* include/hbapi.h
   * source/vm/macro.c
      * added HB_ITEM_PTR pError member to HB_MACRO structure
      * fixed bug in macro compiler - calls to static
        functions are not allowed in macro compiler

   * source/common/expropt1.c
   * source/common/hbffind.c
      *fixed minor warnings reported by Randy Portnoff

   * source/rtl/set.c
      *SET(_SET_DEBUG) defaults to FALSE (Clipper compatible)

   * source/rtl/idle.c
      *small optimization of hb_idleState()

   * source/compiler/harbour.y
      *the compiler generates line number for DO CASE
      (if debug info requested - to allow breakpoint)

   * source/debug/debugger.prg
      *the debugger shows the line number for modules where
      no source code is available
2004-03-30 14:13:52 +00:00
David G. Holm
83b41c99c0 See ChangeLog entry 2004-03-29 15:00 UTC-0500 David G. Holm <dholm@jsd-llc.com> 2004-03-29 19:57:36 +00:00
Luis Krause
1826983505 2004-03-24 10:08 UTC-0800 Luis Krause Mantilla 2004-03-24 18:05:19 +00:00
Luis Krause
665f353484 2004-03-21 21:48 UTC-0800 Luis Krause Mantilla 2004-03-22 05:46:22 +00:00
Ryszard Glab
0fcf861638 2004-03-09 13:50 UTC+0100 Ryszard Glab <rglab@imid.med.pl>
+ source/rtl/altd.prg
      +new file with ALTD() procedure code

   * hrbdll.bc
   * hrbdll.vc
   * makefile.bc
   * makefile.nt
   * makefile.vc
   * source/rtl/Makefile
      *added a reference to rtl/altd.prg

   * source/common/hbffind.c
      *fixed to compile correctly with HB_OS_UNIX

   * include/hbcomp.h
   * include/hbexpra.c
   * include/hbexprb.c
   * include/hbexprop.h
   * include/hbpcode.h
   * source/common/expropt1.c
   * source/compiler/expropta.c
   * source/compiler/exproptb.c
   * source/compiler/genc.c
   * source/compiler/harbour.c
   * source/compiler/harbour.y
   * source/compiler/hbfix.c
   * source/compiler/hbgenerr.c
   * source/compiler/hbpcode.c
   * source/macro/macro.y
   * source/macro/macroa.c
   * source/macro/macrob.c
   * source/vm/hvm.c
      +added missing support for @&macro and @M->memvar
      +added new pcode HB_MACROPUSHREF (all sources have to be
       recompiled)

   * source/debug/dbgtwin.prg
   * source/debug/debugger.prg
      *fixed procedures callstack when modules with/without debug info
      are linked together
      *fixed the debugger activation when ALTD() is used in
      a module with no debug info (the debugger shows up
      on the first line with debug info after the ALTD()
      is called)

   NOTICE:
      Some compilers may require that the debug library has to
      be specified as an object file in order to get the
      debugger linked in.
2004-03-09 13:51:50 +00:00
Alexander S.Kresin
35d723904d 2004-03-08 19:50 UTC+0300 Alexander Kresin <alex@belacy.belgorod.su> 2004-03-08 16:49:56 +00:00
Viktor Szakats
a03bd59f6e 2004-02-27 12:37 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/teditor.prg
     ! Fixed a Bound error in GetParagraph which came up when
       using <Del> in wrap mode, in the last line I guess.
       Note that this just fixed the bound error, not the possible
       real problem.
2004-02-27 11:33:34 +00:00
Viktor Szakats
1432141747 2004-02-21 8:14 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/common/hbffind.c
   * source/rtl/direct.c
     + Completely rearranged, so that the platform specific stuff
       is kept in one function. Redundant code removed.
     * Attrib filters needed to make DIRECTORY() CA-Cl*pper
       compatible have been moved to the low-level file-find
       functions.
     + Added label support for Win32.
     ! Fix for Win32. It has been made compatible with the
       C RTL _dos_findfirst pattern matching, which is what
       CA-Clipper is compatible with.
     * Adding space to the stringified attribute list on
       HB_FA_NORMAL removed, since it's not compatible, and it
       doesn't get executed anyway, since HB_FA_NORMAL == 0.
     * UNIX part formatted.
     ; All this means that file find API is fixed now and compatible
       with CA-Cl*pper on the lower level. Heavily tested under
       Win32, and probably easy to fix for any other platforms
       now in case of incompatibility. Changes has be merged from
       an older version of the file, so please double chk your
       changes/platforms.
     ; Note that other file-find API based functions will also
       automatically benefit from the above changes, like FILE()/
       hb_fsFile().
2004-02-21 07:18:28 +00:00
Viktor Szakats
0fb3715ffa 2004-02-21 07:39 UTC+0100 Viktor Szakats <viktor.szakats@syenar.hu>
* source/rtl/memoread.c
     * Previous change reverted. hb_retc( NULL ) was intentional
       and is an optimized version of hb_retc( "" ). Both will return
       an empty string.
     % hb_fsClose() calls reduced.

   * src/rtl/tbcolumn.prg
   * src/rtl/tbrowse.prg
     ! :SetColumn() retval made compatible.
     ! :ColWidth() retval made compatible.
     % Using array functions to speed up a few things.
     % Got rid of the predefined 4096 long array in every
       columns plus the browse object.
     ; More and more incompatibilities are popping up, some
       of them quite strange, and only coming up in a large
       app's sophisticated browse stressing environment.
       - Removing rightmost column while active will do RTE,
       - If headsep is initialized after the columns and cargo,
         browse will sometimes behave strangely (headsep value
         disappears??)
       - Moving columns off the visible area will screw up
         internals.
       - Modifying columns is slow because of the unconditional
         :configure() calls.
2004-02-21 06:38:03 +00:00