Commit Graph

8129 Commits

Author SHA1 Message Date
Viktor Szakats
b9f9689418 2008-01-25 10:05 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbzlib/make_b32.bat
   * contrib/hbzlib/make_vc.bat
     + Added creation of .lib from .dll for non-GNU make systems.
2008-01-25 09:05:57 +00:00
Przemyslaw Czerpak
da6f8a212c 2008-01-23 02:24 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbrddntx.h
    ! fixed type of Signature field in tag structure

  * harbour/source/rdd/dbfntx/dbfntx1.c
    ! fixed possible leaving locked index when number of tags
      exceed 63. 63 is maximum number of tags in multi tag NTX
      file
    ! fixed typo in HB_TRACE message
    % simplify NTXNODE data access in RDDINFO method

  * harbour/source/rdd/dbfcdx/dbfcdx1.c
    * formatting, some minor cleanup and fixed typo in comment
2008-01-23 01:24:48 +00:00
Viktor Szakats
dd38329862 2008-01-18 02:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbrddads/make_b32.bat
   * contrib/hbrddads/make_vc.bat
     ! Fixed typo in a label.
       (Thanks to Eduardo Horbino)
2008-01-18 01:12:08 +00:00
Przemyslaw Czerpak
5d809c61c4 2008-01-18 01:39 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzlib/hbmzip.c
    * cast result of hb_fsGetOsHandle() to expected OS handle type
      - thanks to Jorge
2008-01-18 00:39:37 +00:00
Przemyslaw Czerpak
8bae6cb2b9 2008-01-18 01:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzlib/zip.c
  * harbour/contrib/hbzlib/unzip.c
    ! fixed possible access to uninitialized memory - thanks to Lorenzo

  * harbour/contrib/hbzlib/hbzlib.c
    * fixed casting - thanks to Andi

  * harbour/contrib/hbzlib/hbmzip.c
    * use hb_fsGetOsHandle() instead of LongToHandle() - code which
      uses hb_fsGetOsHandle() will work also with our own virtual
      handles if we add such extensions in the future

  * harbour/source/vm/harbinit.prg
    ! call __SetHelpK() only when HELP() function/procedure exist
      Clipper compatible behavior
2008-01-18 00:17:35 +00:00
Przemyslaw Czerpak
8128564f46 2008-01-17 17:29 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/harbour.spec
    ! removed dummy %endif which left after recent modification
      for Mandriva detection

  * harbour/ChangeLog
    ! fixed ChangeLog description - I repeated by mistake the previous one
2008-01-17 16:29:26 +00:00
Przemyslaw Czerpak
0c2ee593bb 2008-01-17 17:23 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzlib/ioapi.c
  * harbour/contrib/hbzlib/zip.c
  * harbour/contrib/hbzlib/unzip.c
  * harbour/contrib/hbzlib/crypt.h
  * harbour/contrib/hbzlib/hbzlib.c
  * harbour/contrib/hbzlib/hbmzip.c
    * casting for C++ compilation
    * changed function declaration for C++ compilation
    * removed #include "errno.h" - some platforms do not have it
    * updated WIN32 API for WinCE and UNICODE builds
    * use localtime_r() only for Linux builds - TODO: create our own
      API for it and remove all #if... from core code so we will have
      it only in one place easy to update for different platforms

  * harbour/contrib/hbzlib/common.mak
    * replaced TABs with SPACEs

  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
  * harbour/bin/hb-func.sh
  * harbour/contrib/Makefile
    + added hbzlib to contrib libraries compiled by default
2008-01-17 16:23:13 +00:00
Przemyslaw Czerpak
eec720e9e9 2008-01-17 16:50 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbzlib/ioapi.c
  * harbour/contrib/hbzlib/zip.c
  * harbour/contrib/hbzlib/unzip.c
  * harbour/contrib/hbzlib/crypt.h
  * harbour/contrib/hbzlib/hbzlib.c
  * harbour/contrib/hbzlib/hbmzip.c
    * casting for C++ compilation
    * changed function declaration for C++ compilation
    * removed #include "errno.h" - some platforms do not have it
    * updated WIN32 API for WinCE and UNICODE builds
    * use localtime_r() only for Linux builds - TODO: create our own
      API for it and remove all #if... from core code so we will have
      it only in one place easy to update for different platforms

  * harbour/contrib/hbzlib/common.mak
    * replaced TABs with SPACEs

  * harbour/harbour-ce-spec
  * harbour/harbour-w32-spec
  * harbour/harbour.spec
  * harbour/bin/hb-func.sh
  * harbour/contrib/Makefile
    + added hbzlib to contrib libraries compiled by default
2008-01-17 15:51:12 +00:00
Viktor Szakats
9c37ecf0d7 2008-01-16 12:03 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/make_b32_all.bat
   * contrib/make_vc_all.bat
   + contrib/hbzlib/common.mak
     + Added missing non-GNU make file.
     + Added hbzlib to "all" non-GNU make batches.
2008-01-16 11:04:15 +00:00
Przemyslaw Czerpak
5b3753ba89 2008-01-16 03:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
+ harbour/contrib/hbzlib/crypt.h
    + added modified for minizp crypt.h - it comes from minizip
      source code and it's modified infozip file

  * harbour/contrib/hbzlib/zip.c
    * disabled unused functions to eliminate warning

  * harbour/contrib/hbzlib/unzip.c
    * added suggested by compiler statement markers {} to pacify warnings

  * harbour/contrib/hbzlib/hbmzip.c
    ! added missing parenthesis in one logical expression
    * updated for Linux compilation - not tested yet but it
      can be cleanly compiled

  * harbour/contrib/hbzlib/hbzlib.c
    * synced with some minor modifications in my local copy
2008-01-16 03:00:00 +00:00
Przemyslaw Czerpak
47c3dbfebc 2008-01-16 03:18 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/macro.c
    ! strip trailing and leading SPACEs and TABs from macro compiled
      symbols
2008-01-16 02:18:23 +00:00
Mindaugas Kavaliauskas
b2f93a309a 2008-01-16 01:20 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbout/contrib/hbzlib
    + added support for zlib library and zip files (based on 
      minizip)
  + harbour/contrib/hbzlib/zconf.h
  + harbour/contrib/hbzlib/zlib.h
    + zlib include files
  + harbour/contrib/hbzlib/zip.h
  + harbour/contrib/hbzlib/unzip.h
    + minizip include files
  + harbour/contrib/hbzlib/ioapi.c
  + harbour/contrib/hbzlib/zip.c
  + harbour/contrib/hbzlib/unzip.c
    + minizip source files. Some fixes are applied to avoid compile 
      time warning and errors, see readme.txt for list
    ; I've compiled with BCC only, please, check other compilers
  + harbour/contrib/hbzlib/hbzlib.c
    + zlib wrapper functions. Przemyslaw Czerpak is author of this code. 
      The file was posted to developers mailing list on 2007-05-17. 
      I think licence statments in the begining of file gives permission 
      to include it into SVN.
    * HB_UNCOMPRESSLEN() function added. Source copied from Przemyslaw's
      email on 2008-01-10.
  + harbour/contrib/hbzlib/hbmzip.c
    + wrapper functions for minizip library
      Function names uses convention:
      - HB_ZIP*() - manages compression of .zip file:
           HB_ZIPOPEN(), HB_ZIPCLOSE()
      - HB_ZIPFILE*() - manages compression of files inside .zip:
           HB_ZIPFILECREATE(), HB_ZIPFILEWRITE(), HB_ZIPFILECLOSE()
      - HB_UNZIP*() - manages decompression of .zip fileL
           HB_UNZIPOPEN(), HB_UNZIPCLOSE()
      - HB_UNZIPFILE*() - manages decompression of files inside .zip
           HB_UNZIPFILEOPEN(), HB_UNZIPFILEREAD(), HB_UNZIPFILECLOSE(),
           HB_UNZIPFILEFIRST(), HB_UNZIPFILENEXT(), HB_UNZIPFILEPOS(), 
           HB_UNZIPFILEGOTO(), HB_UNZIPFILEINFO()
      Parameters of functions are documented inside source files.
    + implemented some higher level functions. These function are not 
      wrapper of minizip:
      HB_ZIPSTOREFILE(), HB_UNZIPEXTRACTCURRENTFILE()
    ; minizip gives low level access on zip files. This could be a 
      problem if you not going to put your fingers on internals, but 
      just want to compress/decompress files. Because managing of 
      file attributes is a little complicated. These higher level 
      functions do the job.
    ; please test code under linux. Source is written using docs only, 
      without test or deeper knowledge.
  + harbour/contrib/hbzlib/hbzlib.ch
    + defines for zlib and minizip libraries
    ; I've used HB_ZLIB_* and HB_ZIP_* prefixes, because some original 
      names of minizip library are too general, ex., APPEND_STATUS_CREATE
      If you want to use original define names we change this.
  + harbour/contrib/hbzlib/readme.txt
    * some comments on the source of libraries and ChangeLog for minizip 
      files
  + harbour/contrib/hbzlib/tests/myzip.prg
  + harbour/contrib/hbzlib/tests/myunzip.prg
    + tiny compression/decompression utilities written in Harbour
  + harbour/contrib/hbzlib/Makefile
  + harbour/contrib/hbzlib/make_b32.bat
  + harbour/contrib/hbzlib/make_vc.bat
    + makefiles written using another contrib's makefiles as template
    ; I'm not makefiles guru, please test it. I've also used command line 
      parameters: -DNOCRYPT -DNOUNCRYPT, to compile minizip. I don't know 
      howto include these to our makefiles
2008-01-15 23:23:34 +00:00
Tomaz Zupan
c99b895a06 2008-01-15 19:30 UTC+0100 Tomaz Zupan (tomaz.zupan/at/orpo.si)
* harbour.spec
    * Recognize more Mandriva releases
    * Changed platform from mdk to mdv for Mandriva
2008-01-15 18:39:00 +00:00
Przemyslaw Czerpak
0e5377f9dc 2008-01-15 14:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/macro.c
    ! make macro substitution before macro compilation - Clipper
      compatible behavior - fix borrowed from xHarbour
    ! do not overwrite 1-st error object by others which can appear
      during macro TYPE() checking
2008-01-15 13:27:56 +00:00
Miguel Angel Marchuet Frutos
7bcc218e29 2008-01-14 13:44 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* source/vm/extend.c
    * Undo Added conversion from logical params in hb_par* functions.
      ( thks to Juan Gálvez )
2008-01-15 12:46:00 +00:00
Miguel Angel Marchuet Frutos
9fc3562477 2008-01-14 12:28 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* source/vm/extend.c
    * Added conversion from logical params in hb_par* functions.
      ( thks to Juan Gálvez )
2008-01-15 11:33:42 +00:00
Przemyslaw Czerpak
ad374294bd 2008-01-15 10:31 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbdefs.h
    ! do not define [U]LONGLONG when HB_DONT_DEFINE_BASIC_TYPES macro
      is set
2008-01-15 09:31:22 +00:00
Przemyslaw Czerpak
5127d70658 2008-01-15 10:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rdd/usrrdd/usrrdd.c
    * added missing 'const' to few variable declarations
2008-01-15 09:21:41 +00:00
Przemyslaw Czerpak
18f80120f6 2008-01-14 19:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
    * replaced TAB with SPACEs

  * harbour/source/rdd/dbcmd.c
    * changed hb_retnl() in LASTREC() to hb_retnint() to increase maximum
      record number to 2^32 - unsigned 32bit integer instead of signed one.

  * harbour/source/rdd/dbf1.c
    ! fixed possible memory leak/GPF when sx_DBFencrypt() is called when
      table already has password set
    * added support for password passing in sx_DBFdecrypt() - it's accepted
      only when table has no password

  * harbour/source/rdd/hbsix/sxcompat.prg
    - removed SX_SETPASS()
  * harbour/source/rdd/hbsix/sxtable.c
    + added new SX_SETPASS() implementation which supports
      some undocumented SIX3 actions
    ! fixed problem with setting password for currently open table
      with SX_SETPASS( <cPass> )
2008-01-14 18:35:54 +00:00
Przemyslaw Czerpak
74e6b4f63f 2008-01-12 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
  * harbour/include/hbapiitm.h
  * harbour/source/vm/itemapi.c
    - removed hb_itemLockReadCPtr()/hb_itemLockWriteCPtr()/hb_itemUnLockCPtr()
      Whole modification which will address all different aspects it to
      complex to introduce it now. I'll return to this problem after
      1.0 release
2008-01-12 12:20:12 +00:00
Przemyslaw Czerpak
046ef2656f 2008-01-12 13:12 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/itemapi.c
    ! fixed hb_itemLockReadCPtr() used for static strings
2008-01-12 12:13:04 +00:00
Przemyslaw Czerpak
59eb815320 2008-01-11 22:35 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/itemapi.c
    ! use hb_xRefFree() instead of hb_xRefDec() in hb_itemUnLockCPtr()
      It's necessary when source item is cleared before.
2008-01-11 21:35:29 +00:00
Przemyslaw Czerpak
2c5bb1c719 2008-01-11 18:13 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbexprb.c
    * removed unused variable
2008-01-11 17:13:51 +00:00
Przemyslaw Czerpak
3611daa5a2 2008-01-11 18:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapiitm.h
  * harbour/source/vm/itemapi.c
    + added new functions:
         BOOL hb_itemParamStore( USHORT uiParam, PHB_ITEM pItem )
         BOOL hb_itemParamStoreForward( USHORT uiParam, PHB_ITEM pItem )
      They copy/move pItem body to parameter passed by reference and
      return TRUE when operation was done successfully (uiParam was passed
      by reference)
    + added new functions for string manipulation:
         char * hb_itemLockReadCPtr( PHB_ITEM pItem, ULONG * pulLen );
         char * hb_itemLockWriteCPtr( PHB_ITEM pItem, ULONG * pulLen );
         void   hb_itemUnLockCPtr( char * pszString );
      It's recommended to use them instead of hb_itemGetCPtr().
      Pointer to string buffer returned by hb_itemLockReadCPtr() will
      be always valid even if source item will be cleared, destroyed or
      overwritten until hb_itemUnLockCPtr() is called. Each locked string
      has to be unlocked to avoid memory leaks. After unlocking the string
      pointer cannot be longer used.
      hb_itemLockWriteCPtr() works like hb_itemLockReadCPtr() but string
      pointer returned by this function is writable so user can change
      the body of string item. It's the _ONLY_ one way when it's possible.
      Modifying string items using pointers returned by hb_parc() or
      hb_itemGetCPtr() or extracted directly from HB_ITEM body is _FORBIDDEN_
      and can cause unpredictable results (GPF when constant/readonly memory
      pages are changed, changing many different items which share the same
      memory buffer, etc.).
      This is code illustrates how to use hb_itemLockReadCPtr()/
      hb_itemUnLockCPtr() and it's also good example why hb_itemGetCPtr()
      is very danger function and cannot be used in such case - if you
      replace hb_itemLockReadCPtr() with hb_itemGetCPtr() and remove
      hb_itemUnLockCPtr() then you will have buggy code.

         HB_FUNC( MYFUNC )
         {
            PHB_ITEM pObject = hb_param( 1, HB_IT_OBJECT )
            if( pObject )
            {
               char * pszName1, * pszName2;
               PHB_ITEM pResult;

               pResult = hb_objSendMsg( pObject, "POP", 0 );
               pszName1 = hb_itemLockReadCPtr( pResult, NULL );
               pResult = hb_objSendMsg( pObject, "POP", 0 );
               pszName2 = hb_itemLockReadCPtr( pResult, NULL );
               if( pszName1 && pszName2 )
                  hb_retc_buffer( hb_xstrcpy( NULL,
                              "[", pszName1, "]-[", pszName2, "]", NULL ) );
               hb_itemUnLockCPtr( pszName1 );
               hb_itemUnLockCPtr( pszName2 );
            }
         }

      This code shows how to use hb_itemLockWriteCPtr():
         proc main()
            local cVal, cVal2
            cVal := cVal2 := "ABC"
            STRPUT( @cVal2, 2, 42 )
            ? cVal, cVal2
         return
         #pragma begindump
         #include "hbapiitm.h"
         HB_FUNC( STRPUT )
         {
            PHB_ITEM pString = hb_param( 1, HB_IT_STRING );
            ULONG ulAt = hb_parnl( 2 );
            if( pString && ulAt && ISNUM( 3 ) )
            {
               ULONG ulLen;
               char * pszValue;
               pszValue = hb_itemLockWriteCPtr( pString, &ulLen );
               if( pszValue )
               {
                  if( ulAt <= ulLen )
                     pszValue[ ulAt - 1 ] = ( char ) hb_parni( 3 );
                  hb_itemUnLockCPtr( pszValue );
               }
            }
         }
         #pragma enddump

  * harbour/include/hbcompdf.h
  * harbour/include/hbexprop.h
  * harbour/include/hbexprb.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbusage.c
    * removed HB_I18N_SUPPORT macro and enabled I18N code in default build
2008-01-11 17:01:34 +00:00
Mindaugas Kavaliauskas
40d7f55063 2008-01-11 17:32 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/include/hbexprb.c
  * harbour/source/compiler/hbmain.c
    ! added string escaping before to i18n .pot files
    + added hb_i18n_gettext_strict() support for compiler. This function 
      generates warning if argument is not literal string. See discussion 
      on mailing list from 2007-11-23 to 2007-11-29, for details.
2008-01-11 15:30:31 +00:00
Pritpal Bedi
d89767bae9 2007-01-10 18:05 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* source/rtl/teditor.prg
    ! Fixed [ <nWndRow> scrolls past ::naTextLen ]
2008-01-11 01:52:24 +00:00
Pritpal Bedi
77f8c8d957 2007-01-10 17:50 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* source/rtl/memoedit.prg
  * source/rtl/teditor.prg
    + Implemented Clipper compatible missing parameters:
         nTextBuffRow
         nTextBuffColumn
         nWindowRow
         nWindowColumn
      Tested slightly but need deeper testing in case <nWndRow> scrolls past ::naTextLen.
2008-01-11 01:41:02 +00:00
Przemyslaw Czerpak
4d9930caa6 2008-01-09 15:03 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/vm/estack.c
    * added missing static to s_initSymbol declaration

  * harbour/include/hbgtinfo.ch
  * harbour/source/rtl/scroll.c
    * formatting

  * harbour/common.mak
    * added empty line necessary for some make systems (f.e. wmake)

  * harbour/bin/hb-func.sh
    * changed system libs order to avoid problems on some platforms

  * harbour/bin/pack_src.sh
    * collect information about repository files using 'svn status -v'
      command instead of scanning .svn/entries files to avoid problems
      with different formats used by SVN

  * harbour/include/hbchksum.h
  * harbour/include/hbset.h
    ! added missing extern in few function prototypes

  * harbour/include/hbclass.ch
    * use HB_CLS_PARAM_LIST macro instead of ... for strict C52 mode

  * harbour/source/common/hbfsapi.c
    + added missing const to one declaration

  * harbour/source/common/hbstr.c
    * minor cleanup in hb_stricmp()

  * harbour/source/rtl/inkey.c
    ! casting to avoid negative values during char to int translation

  * harbour/source/rtl/mouse53.c
    * added one internal definition

  * harbour/source/rtl/philes.c
    * removed unnecessary #include(s)
    * added missing const to one declaration

  * harbour/source/rtl/valtype.c
  * harbour/source/vm/hashfunc.c
    * cleanup RT error call to eliminate hb_paramError() function

  * harbour/source/pp/pplib.c
  * harbour/source/vm/runner.c
  * harbour/source/vm/debug.c
  * harbour/source/vm/arrayshb.c
  * harbour/source/vm/classes.c
  * harbour/source/vm/hvm.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/gtfunc.c
  * harbour/source/rtl/hbinet.c
  * harbour/source/rtl/hbregex.c
  * harbour/source/rtl/idle.c
  * harbour/source/rtl/errorapi.c
  * harbour/source/rtl/hbtoken.c
  * harbour/source/rtl/direct.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rdd/dbcmd53.c
  * harbour/source/rdd/fieldhb.c
  * harbour/source/rdd/hbsix/sxcompr.c
  * harbour/source/rdd/hbsix/sxcrypt.c
  * harbour/source/compiler/hbcmplib.c
  * harbour/contrib/hbrddads/adsfunc.c
  * harbour/contrib/hbrddads/adsmgmnt.c
    - removed unnecessary calls to hb_ret()
    % replaced hb_itemRelease( hb_itemReturn( pItem ) ) with
      hb_itemReturnRelease( pItem )
    % replaced hb_itemPut*( hb_arrayGetItemPtr( pArray, ... ), ... ) with
      hb_arraySetNI( pArray, ... )

  * harbour/source/macro/macro.y
  * harbour/source/macro/macro.yyc
  * harbour/contrib/xhb/cstructc.c
  * harbour/contrib/hbw32/w32_ole.c
  * harbour/contrib/hbgtwvg/wvtcore.c
    * cleaned typos with double ;;

  * harbour/source/vm/extend.c
  * harbour/source/rtl/math.c
    * cleaned HB_EXPORT usage

  * harbour/source/pp/ppcore.c
    ! fixed Harbour extension which allows to use match marker
      at the beginning of rule definition

  * harbour/source/main/harbour.c
    ! fixed hex conversion in FM log module - fix done by Phil Krylov
      in xHarbour

  * harbour/source/rdd/nulsys/nulsys.c
    + added dummy version of DBEVAL() and DBFILTER() - these functions
      are used in RTL

  * harbour/contrib/hbct/bitnum.c
    + added INTNEG(), INTPOS()

  + harbour/contrib/hbct/ctrand.prg
    + added RANDOM(), RAND() - borrowd from xHarbour by Pavel Tsarenko

  + harbour/contrib/hbct/setrc.c
    + added SETRC()

  * harbour/contrib/hbct/getinput.prg
    % minor optimization

  * harbour/contrib/hbct/Makefile
  * harbour/contrib/hbct/common.mak
    * updated for new files

  * harbour/contrib/hbnf/tempfile.prg
    * use HB_FTempCreate() - modification borrowed from xHarbour
      TOFIX this function uses hb_isbyref() which does not exist
      in Harbour

  * harbour/config/w32/msvc.cf
    + added -nologo flag for cl.exe (Phil Krylov's modification borrowed
      from xHarbour

  * harbour/config/w32/mingw32.cf
    - removed repeated definitions

  * harbour/config/w32/install.cf
    ! added alternative install rule for command.com with max line size limit
2008-01-09 14:04:12 +00:00
Viktor Szakats
4632277c99 fixed missing item from previous changelog entry 2008-01-08 18:38:47 +00:00
Viktor Szakats
8ceb521c43 restored unwanted modification 2008-01-08 18:37:10 +00:00
Viktor Szakats
995b647af4 2008-01-08 19:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* include/hbclass.ch
     ! Enabling HB_CLS_NO_DECORATION if compiled with HB_C52_STRICT, 
       since in strict mode some PP extensions required by the 
       decoration feature are not available.
       (Thanks Przemek for the tip)
2008-01-08 18:36:06 +00:00
Viktor Szakats
3ff05bdd24 2008-01-05 01:07 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/tpopup.prg
     ! Fixed typo in POPUPMENU():getAccel(), causing wrong 
       position being returned. Reported by Jose Miguel.

   * source/rtl/ttopbar.prg
     ! Changed HB_C52_STRICT guards to HB_EXTENSION.
2008-01-05 00:10:21 +00:00
Pritpal Bedi
9a63e09587 2007-12-28 15:51 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* source/rtl/tbrowse.prg
    Method DispCell()
      case 'L'
         DispOut( ftmp, cColor ) => DispOut( alltrim( ftmp ), cColor )
2007-12-28 23:41:51 +00:00
Przemyslaw Czerpak
9ba8471505 2007-12-22 13:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_tgz.sh
    + added HB_BUILDSUF
    - removed hbverfix and pretest from final binaries
    ! fixed setting UNTAR_OPT
2007-12-22 12:15:07 +00:00
Przemyslaw Czerpak
007a9c5f8f 2007-12-22 12:58 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_tgz.sh
    + added HB_BUILDSUF
    - removed hbverfix and pretest from final binaries
    ! fixed setting UNTAR_OPT
2007-12-22 11:59:11 +00:00
Przemyslaw Czerpak
1c49b2962b 2007-12-22 11:59 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_tgz.sh
    * use -fPIC on HP-UX
    * respect user defined C_USR and L_USR
    ! fixed typo in GNU tar detection
2007-12-22 10:59:33 +00:00
Przemyslaw Czerpak
11f489338e 2007-12-22 11:28 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-mkslib.sh
    + added -fPIC to GCC parameters - it's necessary on some platforms
    + use .sl suffix for shared library in HP-UX

  * harbour/bin/hb-func.sh
    + use .sl suffix for shared library in HP-UX

  * harbour/bin/postinst.bat
    * removed < > from email address

  * harbour/include/hbgtcore.h
  * harbour/source/rtl/gtkeycod.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/gtos2/gtos2.c
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtpca/gtpca.c
    * fixed typo in function name - it should be hb_gt_dos_keyCodeTranslate()
      not hb_gt_dos_keyCodeTanslate()

  * harbour/make_tgz.sh
    * updated for non GNU tar versions

  * harbour/ChangeLog
    * replaced TABs with SPACEs
2007-12-22 10:28:28 +00:00
Przemyslaw Czerpak
4c80b461fe 2007-12-21 20:09 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingw.sh
    * fixed yet another typo located by Phil Krylov - thanks
2007-12-21 19:10:00 +00:00
Przemyslaw Czerpak
d2a6ec646b 2007-12-21 18:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_xmingw.sh
    * fixed two typos - many thanks to Phil Krylov for locating them
2007-12-21 17:50:07 +00:00
Przemyslaw Czerpak
b9e3d16323 2007-12-21 18:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/pack_src.sh
    * try to detect GNU tar

  * harbour/make_xmingw.sh
    * added new default location for MinGW cross-compiler in Gentoo
      distribution
    * added auto detection of MinGW cross-compiler installation which
      should work in most cases when default location test fails

  * harbour/make_tgz.sh
    * try to detect GNU make and GNU tar

  * harbour/source/rtl/gtwvt/gtwvt.c
    * call hb_gt_wvt_InitWindow explicitly to eliminate problems
      with ignored WM_CREATE message when new window handler is not
      yet registered
2007-12-21 17:21:40 +00:00
Mindaugas Kavaliauskas
40f717b8e4 2007-12-21 18:00 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/source/lang/msgltwin.c
    * month name typo
2007-12-21 15:58:58 +00:00
Przemyslaw Czerpak
eec2a93fb0 2007-12-21 10:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * added system libraries necessary for linking some of harbour
      contrib libs in WinCE
    * minor cleanup

  * harbour/source/rtl/gtxwc/gtxwc.c
    * added missing 'const' in declaration
2007-12-21 09:56:08 +00:00
Przemyslaw Czerpak
3bbdd3c965 2007-12-21 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * respect -fPIC used to create Harbour binaries in default
      GCC switches used by hb* scripts
2007-12-21 09:05:41 +00:00
Przemyslaw Czerpak
8d6e84e2dc 2007-12-20 15:56 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/make_rpmw32.sh
    * moved -maxdepth option before actions and expressions in find
      parameters
2007-12-20 14:56:52 +00:00
Lorenzo Fiorini
7fbcb38a51 2007-12-20 14:00:56 +00:00
Przemyslaw Czerpak
609f24e2e4 2007-12-20 11:44 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/common.mak
  * harbour/source/rtl/Makefile
  * harbour/include/hbgtcore.h
  + harbour/source/rtl/gtkeycod.c
    + added hb_gt_dos_keyCodeTanslate() - based on hb_gt_ReadKey()
      from GTDOS by David G. Holm <dholm@jsd-llc.com>

  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/gtos2/gtos2.c
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtpca/gtpca.c
    * use hb_gt_dos_keyCodeTanslate() to eliminate repeated code

  * harbour/contrib/hbrddads/Makefile
  * harbour/contrib/hbpgsql/Makefile
    * updated code to locate directories with header files

  * harbour/source/rtl/hbini.prg
    ! fixed typo in HB_IniRead()

  * harbour/source/rtl/persist.prg
    ! eliminated internal static variable
2007-12-20 10:45:01 +00:00
Przemyslaw Czerpak
7634fa1f8a 2007-12-20 08:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/files.c
    ! added missing 'return;' - in OS2 builds - it should fix value
      returned by SETFDATI(), many thanks to David for his tests,
      now SETFDATI() should be fully functional in OS2 builds.
2007-12-20 07:06:38 +00:00
Przemyslaw Czerpak
2be165e461 2007-12-19 18:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/xhb/Makefile
  * harbour/contrib/xhb/common.mak
  + harbour/contrib/xhb/xhbqself.c
    + added xHarbour compatible HB_QSELF() function

  * harbour/contrib/xhb/xhbfunc.c
    * removed HB_QSELF() redirecting to Class(y) compatible __SENDER()
      function

  * harbour/contrib/xhb/xhbcomp.prg
    ! fixed scalar classes overloading, do not enable extended messages
      for basic types if user haven't requested it (ENABLE TYPE CLASS ...),
      use scalar classes defined in RTL
2007-12-19 17:48:57 +00:00
Przemyslaw Czerpak
ed89a813a2 2007-12-19 13:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbmath.h
  * harbour/source/rtl/math.c
    * cleaned matherr API, now it works in the same way on all
      platforms - this modification fixes also some strange
      results when math functions were called with wrong arguments
      on some platforms

  * harbour/contrib/hbct/trig.c
  * harbour/contrib/hbct/finan.c
  * harbour/contrib/hbct/ctmath2.c
    * updated for new matherr API and cleaned some minor problems

  * harbour/contrib/hbct/files.c
    ! use DATE and TIME parameters formated like for DOS in OS2
      version of SETFDATI() - David,  if possible please repeat
      the test from my previous commit, thank you.
2007-12-19 12:05:59 +00:00
Pritpal Bedi
93bd747242 2007-12-18 13:08 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* contrib/xhb/xhbcomp.prg
    + Added xHarbour specific methods to Type classes.
2007-12-18 21:00:02 +00:00