Commit Graph

7858 Commits

Author SHA1 Message Date
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
Przemyslaw Czerpak
3a934f0ae8 2007-12-18 11:17 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    * reverted conversion to UTF8 of national characters (svn diff)

  * harbour/include/hbdate.h
  * harbour/source/common/hbdate.c
    + added hb_timeStrGet()

  * harbour/contrib/hbct/files.c
    * use hb_timeStrGet() instead of sscanf()
    + added OS2 version of SETFDATI() - please test it !!!
      I'm interesting in results of this code compiled with OS2
      Harbour build:
         proc main()
            local cFile:="_tst.tmp"
            FCLOSE(FCREATE(cFile))
            ? FILEDATE(cFile), FILETIME(cFile)
            ? SETFDATI(cFile,STOD("20061129"),"12:34:45")
            ? FILEDATE(cFile), FILETIME(cFile)
            ? SETFDATI(cFile)
            ? FILEDATE(cFile), FILETIME(cFile)
            FERASE(cFile)
         return
2007-12-18 10:18:02 +00:00
Viktor Szakats
0fbcae3c6b typo 2007-12-18 07:02:37 +00:00
Przemyslaw Czerpak
35e32d6526 2007-12-18 06:05 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/files.c
  * harbour/source/common/hbfsapi.c
    ! fixes in OS2 build - thanks to David
2007-12-18 05:06:04 +00:00
Viktor Szakats
e55e64405a 2007-12-17 21:40 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* bin/bld.bat
     ! %HB_USER_LIBS% (for bcc32) moved to the beginning of the lib list.

   * contrib/mtpl_b32.mak
     ! Fixed preprocessor error in line 190 when HB_INSTALL_PREFIX != HB_ROOT

   * source/rtl/getsys53.prg
   * source/rtl/getsys.prg
     ! Moved ReadStats() to getsys52.prg

   * ChangeLog
     ! Removed UTF-8 signature from the beginning of the file.
       Unfortunately accented chars got converted to UTF8, which 
       would need to fixed.
       Pritpal, please turn off this feature on your editor for Harbour.
2007-12-17 20:49:22 +00:00
Przemyslaw Czerpak
cb47250bfc 2007-12-17 21:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapigt.h
  * harbour/include/hbgtcore.h
  * harbour/source/rtl/gtapi.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/gt_tpl/gt_tpl.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/gtwin/gtwin.c
  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gtos2/gtos2.c
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gtsln/gtsln.c
  * harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/rtl/gtpca/gtpca.c
  * harbour/source/rtl/gtgui/gtgui.c
  * harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/contrib/hbct/ctwin.c
  * harbour/contrib/hbgtwvg/gtwvg.c
  * harbour/source/rtl/gtalleg/gtalleg.c
  * harbour/source/rtl/gtalleg/ssf.h
  * harbour/source/rtl/gtalleg/fixedth.sfc
    * added missing const to few declarations
    * formatting and minor code cleanup

  * harbour/source/rtl/hbgtcore.c
    ! fixed GTNUL registration

  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/gtstd/gtstd.c
    * moved static variables to dynamic GT area

  * harbour/contrib/hbct/files.c
    ! fixed DOS version
2007-12-17 20:22:32 +00:00
Miguel Angel Marchuet Frutos
392a5fb27a 2007-12-17 13:41 UTC+0100 Miguel Angel Marchuet Frutos <miguelangel@marchuet.net>
* common.mak
      + Added some missing files (suggested by Juan Gálvez)
2007-12-17 12:49:44 +00:00
Przemyslaw Czerpak
7b35fe5e75 2007-12-16 15:42 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbgtwvg/gtwvg.h
    * added OleLoadPicture() declaration when BCC5.5 is used.
      It's missing in BCC55 header files.
2007-12-16 14:42:35 +00:00
Przemyslaw Czerpak
9a582f3f79 2007-12-16 15:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/hbct/files.c
    ! fixed pure C compilation I broke in previous commit
2007-12-16 14:06:20 +00:00
Przemyslaw Czerpak
b30055548c 2007-12-16 13:32 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/common/hbfsapi.c
    + added OS2 version of hb_fsFileExists() and hb_fsDirExists()
      Please test - I do not have OS2

  * harbour/source/rdd/dbf1.c
    ! removed unnecessary printf() message I left by mistake

  * harbour/contrib/hbct/files.c
    + added OS2 version of SETFATTR()
      Please test - I do not have OS2

  * harbour/config/os2/global.cf
    + added temporary workaround for possible problems with some
      GNU make versions

  * harbour/make_deb.sh
    + build hbpgsql when libpq-dev is installed

  * harbour/include/clipdefs.h
    * do not define PBYTE, PSHORT, PUSHORT, PLONG, PULONG, PBOOL, PVOID
      when HB_OS_OS2 && HB_DONT_DEFINE_BASIC_TYPES is defined
2007-12-16 12:32:41 +00:00
Mindaugas Kavaliauskas
873e71fdf3 2007-12-15 18:35 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
* harbour/contrib/hbrddads/adsfunc.c
    + ADSGetServerName()
  * harbour/contrib/hbrddads/make_b32.bat
  * harbour/contrib/hbrddads/make_vc.bat
    ! Fixed variable names in help screen
    * Added setting to ADS_REQUIRE_VERSION by value of ADS_VER
2007-12-15 16:35:16 +00:00
Pritpal Bedi
6528736d35 2007-12-14 08:55 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbgtwvg/wvtutils.c
    ! Fixed memory leak in HB_FUNC( WVT_GETTITLE )
2007-12-14 16:22:00 +00:00
Przemyslaw Czerpak
bbe276622b 2007-12-14 13:48 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * force linking GT drivers in hb* scripts also when shared library
      is used
2007-12-14 12:48:26 +00:00
Przemyslaw Czerpak
0126fb9d19 2007-12-14 08:51 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/tscalar.prg
    + added APPEND method to array scalar object
2007-12-14 07:51:42 +00:00
Przemyslaw Czerpak
8469a5d29c 2007-12-13 16:55 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbapigt.h
  * harbour/source/rtl/gtapi.c
    ! fixed DISPCOUNT() return value
    * cleaned some GT functions declarations
2007-12-13 15:55:56 +00:00
Przemyslaw Czerpak
4220e6671e 2007-12-13 10:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.c
    ! fixed allocating terminal context - thanks to Enrico

  * harbour/contrib/hbct/token2.c
    + added automatic cleanup code for static data allocated by
      TokenInit() using hb_vmAtExit() functions
    * Change RestToken() to validate size of passed string

  * harbour/contrib/hbct/ct.prg
    - removed TokenExit() from CT EXIT procedure - it's not
      longer necessary

  * harbour/contrib/hbrddads/adsmgmnt.c
    * minor cleanup - hb_xgrab() cannot return NULL pointer
2007-12-13 09:14:23 +00:00
Pritpal Bedi
b57a417ecf 2007-12-13 18:05 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbrddads/adsmgmnt.c
    ! Fixed memory leak in HB_FUNC( ADSMGGETLOCKOWNER )
      if ( pstUserInfo )
         hb_xfree( pstUserInfo );
2007-12-13 01:56:20 +00:00
Przemyslaw Czerpak
684186b30a 2007-12-12 22:01 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gt_tpl/gt_tpl.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/gtos2/gtos2.c
    * updated for new API

  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/gtstd/gtstd.c
  * harbour/source/rtl/gtpca/gtpca.c
  * harbour/source/rtl/gttrm/gttrm.c
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/gtsln/gtsln.c
  * harbour/source/rtl/gtxwc/gtxwc.c
  * harbour/source/rtl/gtwin/gtwin.c
  * harbour/source/rtl/gtwvt/gtwvt.c
  * harbour/source/rtl/gtalleg/gtalleg.c
    * cleanup
2007-12-12 21:02:06 +00:00
Pritpal Bedi
e4cfd4ca06 2007-12-13 10:42 UTC+0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbgtwvg/wvtpaint.prg
    ! Formatting. 
  * harbour/contrib/hbgtwvg/hbgtwvg.c
    + static BOOL hb_gt_wvt_PutChar( PHB_GT pGT, int iRow, int iCol,
                            BYTE bColor, BYTE bAttr, USHORT usChar )
      GUI elements need that every screen region requsted to be redrawn must be redrawn.
2007-12-12 18:45:26 +00:00
Przemyslaw Czerpak
e681d29ae0 2007-12-12 11:06 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/ChangeLog
    * removed UTF-8 signature: 0xEF 0xBB 0xBF

  * harbour/source/rtl/gtwvt/gtwvt.c
    * converted TABs to SPACEs
2007-12-12 10:06:40 +00:00
Przemyslaw Czerpak
cc63db17a4 2007-12-12 10:46 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/idle.c
    ! fixed casting in hb_idleSleep() which truncated the fraction part
      of given timeout
2007-12-12 09:46:42 +00:00
Viktor Szakats
b0fcd569fe 2007-12-11 23:37 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* source/compiler/hbusage.c
     * Year bumped to 2008.
2007-12-11 22:38:20 +00:00