Commit Graph

11115 Commits

Author SHA1 Message Date
Przemyslaw Czerpak
c3e1436da0 2009-06-26 02:22 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbvm.h
  * harbour/include/hbrdddbf.h
  * harbour/include/hbapidbg.h
  * harbour/include/hbset.h
  * harbour/include/hbcomp.h
  * harbour/include/hbapirdd.h
  * harbour/include/hbstack.h
  * harbour/include/hbsxfunc.h
  * harbour/include/hbapilng.h
  * harbour/include/hbgtcore.h
  * harbour/include/hbapifs.h
  * harbour/include/hbdbsort.h
  * harbour/include/hbapigt.h
  * harbour/include/hbapi.h
  * harbour/include/hbapierr.h
  * harbour/include/hbapiitm.h
  * harbour/include/hbrddfpt.h
  * harbour/contrib/hbmysql/mysql.c
  * harbour/contrib/hbct/bitnum.c
  * harbour/contrib/hbct/token2.c
  * harbour/contrib/hbct/charsprd.c
  * harbour/contrib/hbct/ctnet.c
  * harbour/contrib/hbct/charonly.c
  * harbour/contrib/hbct/atadjust.c
  * harbour/contrib/hbct/ctwin.c
  * harbour/contrib/hbct/charsort.c
  * harbour/contrib/hbct/ctwin.h
  * harbour/contrib/hbct/charmix.c
  * harbour/contrib/hbct/charevod.c
  * harbour/contrib/hbct/maxline.c
  * harbour/contrib/hbct/wordrepl.c
  * harbour/contrib/hbct/charrepl.c
  * harbour/contrib/hbct/files.c
  * harbour/contrib/hbct/video.c
  * harbour/contrib/hbct/charswap.c
  * harbour/contrib/hbct/dattime3.c
  * harbour/contrib/hbct/charop.c
  * harbour/contrib/hbct/misc2.c
  * harbour/contrib/hbct/charone.c
  * harbour/contrib/hbct/ctstr.c
  * harbour/contrib/hbct/screen1.c
  * harbour/contrib/hbct/token1.c
  * harbour/contrib/hbct/ctstr.h
  * harbour/contrib/hbct/charmirr.c
  * harbour/contrib/hbct/relation.c
  * harbour/contrib/hbct/atnum.c
  * harbour/contrib/hbct/like.c
  * harbour/contrib/hbct/count.c
  * harbour/contrib/hbct/disk.c
  * harbour/contrib/hbct/ctstrfil.c
  * harbour/contrib/hbct/posdiff.c
  * harbour/contrib/hbct/addascii.c
  * harbour/contrib/hbct/tab.c
  * harbour/contrib/hbct/numline.c
  * harbour/contrib/hbct/dattime2.c
  * harbour/contrib/hbct/asciisum.c
  * harbour/contrib/hbct/expand.c
  * harbour/contrib/hbct/pos2.c
  * harbour/contrib/hbct/numat.c
  * harbour/contrib/hbct/atrepl.c
  * harbour/contrib/hbct/wordtoch.c
  * harbour/contrib/hbct/print.c
  * harbour/contrib/hbct/justify.c
  * harbour/contrib/xhb/hbxml.c
  * harbour/contrib/xhb/dbf2txt.c
  * harbour/contrib/xhb/xhbis.c
  * harbour/contrib/xhb/fparse.c
  * harbour/contrib/xhb/xstrdel.c
  * harbour/contrib/xhb/hbcomprs.c
  * harbour/contrib/xhb/datesxhb.c
  * harbour/contrib/xhb/xhbmsgs.c
  * harbour/contrib/xhb/freadlin.c
  * harbour/contrib/xhb/txtline.c
  * harbour/contrib/xhb/xhbtrim.c
  * harbour/contrib/xhb/xhbcopyf.c
  * harbour/contrib/xhb/cstructc.c
  * harbour/contrib/xhb/xhbfunc.c
  * harbour/contrib/hbtpathy/tplinux.c
  * harbour/contrib/hbgt/charmixg.c
  * harbour/contrib/hbgt/strexpan.c
  * harbour/contrib/hbgt/charodd.c
  * harbour/contrib/hbgt/strright.c
  * harbour/contrib/hbgt/asciisgt.c
  * harbour/contrib/hbgt/strdiffg.c
  * harbour/contrib/hbgt/chrtotal.c
  * harbour/contrib/hbgt/strcount.c
  * harbour/contrib/hbgt/strleft.c
  * harbour/contrib/hbgt/ascposgt.c
  * harbour/contrib/hbgt/chrfirst.c
  * harbour/contrib/hbgt/chrcount.c
  * harbour/contrib/hbgt/strpbrk.c
  * harbour/contrib/hbgt/chareven.c
  * harbour/contrib/hbgt/strcspn.c
  * harbour/contrib/hbgt/atdiff.c
  * harbour/contrib/hbsqlit3/hbsqlit3.c
  * harbour/contrib/hbmzip/hbmzip.c
  * harbour/contrib/hbnf/proper.c
  * harbour/contrib/hbnf/fttext.c
  * harbour/contrib/hbnf/chdir.c
  * harbour/contrib/hbnf/getver.c
  * harbour/contrib/hbnf/ftattr.c
  * harbour/contrib/hbnf/mkdir.c
  * harbour/contrib/hbnf/rmdir.c
  * harbour/contrib/Makefile
  * harbour/contrib/hbcurl/hbcurl.c
  * harbour/contrib/rddsql/sddmy/mysqldd.c
  * harbour/contrib/rddsql/sddpg/pgsqldd.c
  * harbour/contrib/rddsql/sddfb/fbirddd.c
  * harbour/contrib/rddsql/sddodbc/odbcdd.c
  * harbour/contrib/rddsql/sqlmix.c
  * harbour/contrib/hbhpdf/harupdf.c
  * harbour/contrib/rddads/adsx.c
  * harbour/contrib/rddads/adsfunc.c
  * harbour/contrib/rddads/rddads.h
  * harbour/contrib/rddads/ads1.c
  * harbour/contrib/hbmisc/hb_f.c
  * harbour/contrib/hbmisc/strfmt.c
  * harbour/contrib/hbmisc/stringsx.c
  * harbour/contrib/hbmisc/spd.c
  * harbour/contrib/hbtip/utils.c
  * harbour/contrib/hbwin/wapi_winbase.c
  * harbour/contrib/hbwin/win_misc.c
  * harbour/contrib/hbbtree/hb_btree.h
  * harbour/contrib/hbbtree/hb_btree.c
  * harbour/source/pp/hbpp.c
  * harbour/source/vm/runner.c
  * harbour/source/vm/estack.c
  * harbour/source/vm/itemapi.c
  * harbour/source/vm/hvm.c
  * harbour/source/vm/cmdarg.c
  * harbour/source/vm/memvars.c
  * harbour/source/vm/dynlibhb.c
  * harbour/source/vm/set.c
  * harbour/source/main/harbour.c
  * harbour/source/debug/dbgentry.c
  * harbour/source/common/hbfsapi.c
  * harbour/source/common/hbfopen.c
  * harbour/source/rtl/gtdos/gtdos.c
  * harbour/source/rtl/diskspac.c
  * harbour/source/rtl/console.c
  * harbour/source/rtl/chrasc.c
  * harbour/source/rtl/fscopy.c
  * harbour/source/rtl/run.c
  * harbour/source/rtl/spfiles.c
  * harbour/source/rtl/defpath.c
  * harbour/source/rtl/philes.c
  * harbour/source/rtl/oldbox.c
  * harbour/source/rtl/math.c
  * harbour/source/rtl/hbgtcore.c
  * harbour/source/rtl/cdpapi.c
  * harbour/source/rtl/gtcrs/gtcrs.c
  * harbour/source/rtl/dirdrive.c
  * harbour/source/rtl/hbi18n1.c
  * harbour/source/rtl/trim.c
  * harbour/source/rtl/hbzlibgz.c
  * harbour/source/rtl/philesx.c
  * harbour/source/rtl/mlcfunc.c
  * harbour/source/rtl/filehb.c
  * harbour/source/rtl/fstemp.c
  * harbour/source/rtl/is.c
  * harbour/source/rtl/hbrunfun.c
  * harbour/source/rtl/ampm.c
  * harbour/source/rtl/setcolor.c
  * harbour/source/rtl/oemansi.c
  * harbour/source/rtl/disksphb.c
  * harbour/source/rtl/hbzlib.c
  * harbour/source/rtl/strpeek.c
  * harbour/source/rtl/replic.c
  * harbour/source/rtl/stuff.c
  * harbour/source/rtl/hbstrfmt.c
  * harbour/source/rtl/transfrm.c
  * harbour/source/rtl/hbhex.c
  * harbour/source/rtl/trace.c
  * harbour/source/rtl/hbadler.c
  * harbour/source/rtl/samples.c
  * harbour/source/rtl/filebuf.c
  * harbour/source/rtl/hbcrc.c
  * harbour/source/rtl/gete.c
  * harbour/source/rtl/hbmd5.c
  * harbour/source/rtl/langapi.c
  * harbour/source/rtl/gtcgi/gtcgi.c
  * harbour/source/rtl/errapi.c
  * harbour/source/rtl/hbregexc.c
  * harbour/source/rtl/natmsg.c
  * harbour/source/rtl/fssize.c
  * harbour/source/rtl/hbinet.c
  * harbour/source/rtl/colorind.c
  * harbour/source/rtl/copyfile.c
  * harbour/source/rtl/mouseapi.c
  * harbour/source/rtl/soundex.c
  * harbour/source/rtl/memofile.c
  * harbour/source/rtl/hbffind.c
  * harbour/source/rtl/gtapi.c
  * harbour/source/rtl/direct.c
  * harbour/source/rtl/filesys.c
  * harbour/source/rtl/file.c
  * harbour/source/rtl/val.c
  * harbour/source/rtl/hbregex.c
  * harbour/source/rtl/rat.c
  * harbour/source/rtl/isprint.c
  * harbour/source/rdd/dbfntx/dbfntx1.c
  * harbour/source/rdd/dbsql.c
  * harbour/source/rdd/workarea.c
  * harbour/source/rdd/wacore.c
  * harbour/source/rdd/sdf1.c
  * harbour/source/rdd/dbdetach.c
  * harbour/source/rdd/dbcmdx.c
  * harbour/source/rdd/dbfnsx/dbfnsx1.c
  * harbour/source/rdd/dbcmd.c
  * harbour/source/rdd/dbfcdx/dbfcdx1.c
  * harbour/source/rdd/delim1.c
  * harbour/source/rdd/dbf1.c
  * harbour/source/rdd/hsx/hsx.c
  * harbour/source/rdd/dbcmd53.c
  * harbour/source/rdd/usrrdd/usrrdd.c
  * harbour/source/rdd/wafunc.c
  * harbour/source/rdd/dbffpt/dbffpt1.c
  * harbour/source/rdd/hbsix/sxsem.c
  * harbour/source/rdd/hbsix/sxord.c
  * harbour/source/rdd/hbsix/sxfname.c
  * harbour/source/rdd/hbsix/sxtable.c
  * harbour/source/rdd/hbsix/sxdate.c
  * harbour/source/rdd/hbsix/sxutil.c
  * harbour/source/rdd/hbsix/sxcompr.c
  * harbour/source/compiler/hbmain.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/hbpcode.c
  * harbour/source/compiler/genc.c
  * harbour/source/compiler/gencc.c
  * harbour/source/compiler/hbcmplib.c
  * harbour/source/compiler/ppcomp.c
    * changed 'char *' and changed 'BYTE *' to 'const char *' in
      the following functions:
         const char * hb_vmFindModuleSymbolName( PHB_SYMB pSym );
         void  hb_vmInitSymbolGroup( void * hNewDynLib, int argc,
                                     const char * argv[] );
         void hb_dbgEntry( int nMode, int nLine, const char *szName,
                           int nIndex, PHB_ITEM pFrame );
         void hb_dbgAddBreak( void *handle, const char *cModule,
                              int nLine, const char *szFunction );
         void hb_dbgAddWatch( void *handle, const char *szExpr, BOOL bTrace );
         PHB_ITEM hb_dbgGetExpressionValue( void *handle,
                                            const char *expression );
         BOOL hb_dbgIsValidStopLine( void *handle, const char *szModule,
                                     int nLine );
         void hb_dbgSetToCursor( void *handle, const char *szModule,
                                 int nLine );
         void hb_dbgSetWatch( void *handle, int nWatch,
                              const char *szExpr, BOOL bTrace );
         const char * hb_setGetCPtr( HB_set_enum set_specifier );
         const char * hb_setGetAltFile( void );
         const char * hb_setGetDateFormat( void );
         const char * hb_setGetTimeFormat( void );
         const char * hb_setGetDefault( void );
         const char * hb_setGetDelimChars( void );
         const char * hb_setGetDevice( void );
         const char * hb_setGetExtraFile( void );
         const char * hb_setGetPath( void );
         const char * hb_setGetMFileExt( void );
         const char * hb_setGetPrintFile( void );
         const char * hb_setGetEOL( void );
         const char * hb_setGetHBOUTLOG( void );
         const char * hb_setGetHBOUTLOGINFO( void );
         const char * hb_setGetOSCODEPAGE( void );
         void hb_compInitPP( HB_COMP_DECL, int argc,
                             const char * const argv[] );
         void hb_compGenPCodeN( const BYTE * pBuffer, ULONG ulSize,
                                HB_COMP_DECL );
         int  hb_compMain( int argc, const char * const argv[],
                           BYTE ** pBufPtr, ULONG * pulSize,
                           const char * szSource );
         void hb_compChkCompilerSwitch( HB_COMP_DECL, int,
                                        const char * const args[] );
         void hb_compChkDefines( HB_COMP_DECL, int iArg,
                                 const char * const args[] );
         void hb_compGenCString( FILE * yyc, const BYTE * pText, ULONG ulLen );
         AREAP hb_rddRequestArea( const char * szAlias, PHB_ITEM pCargo,
                                  BOOL fNewArea, BOOL fWait );
         char * hb_stackDirBuffer( void );
         LONG hb_sxPtoD( const char * pDate );
         const char * hb_langID( void );
         const char * hb_langSelectID( const char * pszID );
         const char * hb_langDGetItem( int iIndex );
         const char * hb_langDGetErrorDesc( ULONG ulIndex );
         BOOL       hb_fsChDir( const char * pszDirName );
         HB_FHANDLE hb_fsCreate( const char * pszFileName, ULONG ulAttr );
         HB_FHANDLE hb_fsCreateEx( const char * pszFilename, ULONG ulAttr,
                                   USHORT uiFlags );
         HB_FHANDLE hb_fsCreateTemp( const char * pszDir,
                                     const char * pszPrefix,
                                     ULONG ulAttr, char * pszName );
         HB_FHANDLE hb_fsCreateTempEx( char * pszName, const char * pszDir,
                                       const char * pszPrefix,
                                       const char * pszExt, ULONG ulAttr );
         const char * hb_fsCurDir( USHORT uiDrive );
         USHORT     hb_fsCurDirBuff( USHORT uiDrive, char * pbyBuffer,
                                     ULONG ulLen );
         void       hb_fsBaseDirBuff( char * pbyBuffer );
         BOOL       hb_fsDelete( const char * pszFileName );
         BOOL       hb_fsFile( const char * pszFileName );
         BOOL       hb_fsIsDirectory( const char * pszFilename );
         HB_FOFFSET hb_fsFSize( const char * pszFileName, BOOL bUseDirEntry );
         HB_FHANDLE hb_fsExtOpen( const char * pszFileName,
                                  const char * pDefExt,
         char *     hb_fsExtName( const char * pFilename,
                                  const char * pDefExt, USHORT uiExFlags,
                                  const char * pPaths );
         BOOL       hb_fsMkDir( const char * pszDirName );
         HB_FHANDLE hb_fsOpen( const char * pszFileName, USHORT uiFlags );
         BOOL       hb_fsRmDir( const char * pszDirName );
         BOOL       hb_fsRename( const char * pszOldName,
                                 const char * pszNewName );
         BOOL       hb_fsGetFileTime( const char * pszFileName,
                                      LONG * plJulian, LONG * plMillisec );
         BOOL       hb_fsSetFileTime( const char * pszFileName,
                                      LONG lJulian, LONG lMillisec );
         BOOL       hb_fsGetAttr( const char * pszFileName, ULONG * pulAttr );
         BOOL       hb_fsSetAttr( const char * pszFileName, ULONG ulAttr );
         HB_FHANDLE hb_fsPOpen( const char * pFilename, const char * pMode );
         BOOL       hb_fsCopy( const char * pSource, const char * pDest );
         BOOL       hb_spFile( const char * pFilename, char * pRetPath );
         BOOL       hb_spFileExists( const char * pFilename, char * pRetPath );
         HB_FHANDLE hb_spOpen( const char * pFilename, USHORT uiFlags );
         HB_FHANDLE hb_spCreate( const char * pFilename, ULONG ulAttr );
         HB_FHANDLE hb_spCreateEx( const char * pFilename,
                                   ULONG ulAttr, USHORT uiFlags );
         PHB_FILE   hb_fileExtOpen( const char * pFilename,
                                    const char * pDefExt, USHORT uiExFlags,
                                    const char * pPaths, PHB_ITEM pError );
         PHB_FILE   hb_fileCreateTemp( const char * pszDir,
                                       const char * pszPrefix,
                                       ULONG ulAttr, char * pszName );
         PHB_FILE   hb_fileCreateTempEx( char * pszName, const char * pszDir,
                                         const char * pszPrefix,
                                         const char * pszExt, ULONG ulAttr );
         HB_ERRCODE hb_gtBox( SHORT uiTop, SHORT uiLeft, SHORT uiBottom,
                              SHORT uiRight, const BYTE * pbyFrame );
         HB_ERRCODE hb_gtDrawBox( SHORT uiTop, SHORT uiLeft, SHORT uiBottom,
                                  SHORT uiRight, const BYTE * pbyFrame,
                                  int iColor );
         HB_ERRCODE hb_gtWrite( const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtWriteAt( USHORT uiRow, USHORT uiCol,
                                  const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtWriteCon( const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtPutText( USHORT uiRow, USHORT uiCol,
                                  const BYTE * pStr, ULONG ulLength,
                                  int iColor );
         HB_ERRCODE hb_gtOutStd( const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtOutErr( const BYTE * pbyStr, ULONG ulLen );
         HB_ERRCODE hb_gtBoxEx( int iTop, int iLeft, int iBottom, int iRight,
                                const BYTE * pbyFrame, int iColor );
         void       hb_mouseRestoreState( const BYTE * pBuffer );
         const char * hb_strLTrim( const char * szText, ULONG * ulLen );
         const char * hb_conNewLine( void );
         const char * hb_conSetColor( const char * szColor );
         const char * hb_errGetDescription( PHB_ITEM pError );
         const char * hb_errGetFileName( PHB_ITEM pError );
         const char * hb_errGetOperation( PHB_ITEM pError );
         const char * hb_errGetSubSystem( PHB_ITEM pError );
         int hb_ctwAddWindowBox( int iWindow, const BYTE * szBox, int iColor );
         const char *ct_at_exact_forward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcMatch, size_t sMatchLen,
                                size_t *psMatchStrLen );
         const char *ct_at_exact_backward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcMatch, size_t sMatchLen,
                                size_t *psMatchStrLen );
         const char *ct_at_wildcard_forward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcMatch, size_t sMatchLen,
                                char cWildCard, size_t *psMatchStrLen );
         const char *ct_at_wildcard_backward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcMatch, size_t sMatchLen,
                                char cWildCard, size_t *psMatchStrLen );
         const char *ct_at_charset_forward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcCharSet, size_t sCharSetLen,
                                size_t *psMatchedCharPos );
         const char *ct_at_charset_backward
                              ( const char *pcString, size_t sStrLen,
                                const char *pcCharSet, size_t sCharSetLen,
                                size_t *psMatchedCharPos );
         char * hb_adsOemToAnsi( const char * pcString, ULONG ulLen );
         char * hb_adsAnsiToOem( const char * pcString, ULONG ulLen );
         struct hb_BTree * hb_BTreeNew( const char *FileName,
                                        USHORT usPageSize, USHORT usKeySize,
                                        ULONG ulFlags, USHORT usBuffers );
         struct hb_BTree * hb_BTreeOpen( const char *FileName, ULONG lFlags,
                                         USHORT usBuffers );
         BOOL hb_BTreeInsert( struct hb_BTree * pBTree, const char * szKey,
                              PHB_ITEM pData );
         BOOL hb_BTreeDelete( struct hb_BTree * pBTree, const char * szKey,
                              LONG lData );
         BOOL hb_BTreeSeek( struct hb_BTree * pBTree, const char * szKey,
                            LONG lData, BOOL bSoftSeek );
         const char * hb_BTreeKey( struct hb_BTree * pBTree );

    * modified RDD methods:
         HB_ERRCODE PUTVALUEFILE( AREAP, USHORT, const char *, USHORT );
         HB_ERRCODE GETVALUEFILE( AREAP, USHORT, const char *, USHORT );
    * modified GT methods:
         void REST( HB_GT_PTR, int, int, int, int, const BYTE * );
         void PUTTEXT( HB_GT_PTR, int, int, BYTE, const BYTE *, ULONG );
         void WRITEAT( HB_GT_PTR, int, int, const BYTE *, ULONG );
         void WRITE( HB_GT_PTR, const BYTE *, ULONG );
         void WRITECON( HB_GT_PTR, const BYTE *, ULONG );
         void BOX( HB_GT_PTR, int, int, int, int, const BYTE *, BYTE );
         void BOXD( HB_GT_PTR, int, int, int, int, const BYTE *, BYTE );
         void BOXS( HB_GT_PTR, int, int, int, int, const BYTE *, BYTE );
         void OUTSTD( HB_GT_PTR, BYTE *, ULONG );
         void OUTERR( HB_GT_PTR, BYTE *, ULONG );
         void MOUSERESTORESTATE( HB_GT_PTR, const BYTE * );
    * modified RDD structers:
         DBFIELDINFO, DBOPENINFO, DBORDERCONDINFO, DBCONSTRAINTINFO,
         DBORDERCREATEINFO
    + modified parameters and behevior:
         const char * hb_fsNameConv( const char * szFileName, char ** pszFree );
         const char * hb_osEncode( const char * szFileName, char ** pszFree );
         const char * hb_osDecode( const char * szFileName, char ** pszFree );
      Please look at implementation and current usage of these functions.
    + added new function:
         BOOL hb_itemGetWriteCL( PHB_ITEM pItem,
                                 char ** pszValue, ULONG * pulLen );
      which converts item string buffer to writable state to use with
      functions like FREAD() instead of hb_itemUnShare*()
    * updatd other code to respect above modifications
    ! fixed bugs (also GPF traps) located by above modifications

   TODO: please make build tests. Especially in OS2 - not tested at all.
2009-06-26 00:33:38 +00:00
Viktor Szakats
bd5452a48f 2009-06-25 13:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbformat/hbformac.c
  * examples/superlib/superlib.dif
  * examples/hbsqlit2/hbsqlit2.c
  * examples/uhttpd2/socket.c
    * 'const' cleanup.
2009-06-25 11:59:09 +00:00
Viktor Szakats
69205770d7 2009-06-25 13:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbmzip/hbmzip.c
  * contrib/hbblat/blatwrp.c
  * contrib/hbfbird/firebird.c
  * contrib/xpp/dbcmdx.c
  * contrib/xpp/philesx.c
  * contrib/rddsql/sqlbase.c
  * contrib/rddsql/sqlmix.c
  * contrib/gtwvg/gtwvg.h
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
  * contrib/hbclipsm/time.c
  * contrib/rddads/adsfunc.c
  * contrib/rddads/ads1.c
  * contrib/hbgd/gdwrp.c
  * contrib/hbtip/utils.c
  * contrib/hbtip/base64x.c
  * contrib/hbtip/encmthd.c
    * 'const' cleanup.
    ; NOTE: I've left some warnings which I couldn't fix, 
            and there were also cases where code modification 
            will be needed due to existing bugs now revealed.
2009-06-25 11:41:11 +00:00
Viktor Szakats
f52e6b0f52 2009-06-25 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Minor

  * contrib/hbmysql/mysql.c
  * contrib/hbodbc/odbc.c
  * contrib/hbtpathy/tpcommon.c
  * contrib/hbsqlit3/hbsqlit3.c
  * contrib/hbpgsql/postgres.c
  * contrib/hbmisc/strfmt.c
  * contrib/hbwin/win_prn2.c
  * contrib/hbwin/win_prt.c
  * contrib/hbwin/win_prn1.c
  * contrib/hbqt/hbqt_slots.cpp
    * 'const' cleanup.

  * contrib/hbqt/generator/hbqtgen.prg
  + contrib/hbqt/generator/hbmk.hbm
    ! Fixed all warnings.
    ! Fixed to generate different Harbour interface code
      for different QT integer types.
    * Some formatting. (IF() -> iif(), spaces)
    + Added .hbm file to ensure warning-free code.

  * contrib/hbqt/hbqt_qimage.cpp
  * contrib/hbqt/hbqt_qlatin1char.cpp
  * contrib/hbqt/hbqt_qdatetime.cpp
  * contrib/hbqt/hbqt_qfilesystemmodel.cpp
  * contrib/hbqt/hbqt_qpalette.cpp
  * contrib/hbqt/hbqt_qicon.cpp
  * contrib/hbqt/hbqt_qhttp.cpp
  * contrib/hbqt/hbqt_qftp.cpp
  * contrib/hbqt/hbqt_qwebpage.cpp
  * contrib/hbqt/hbqt_qresource.cpp
  * contrib/hbqt/hbqt_qvariant.cpp
  * contrib/hbqt/hbqt_qcolordialog.cpp
  * contrib/hbqt/hbqt_qpixmap.cpp
  * contrib/hbqt/hbqt_qlatin1string.cpp
  * contrib/hbqt/Makefile_gen
  * contrib/hbqt/hbqt_qkeyevent.cpp
  * contrib/hbqt/hbqt_qcoreapplication.cpp
  * contrib/hbqt/hbqt_qcolor.cpp
  * contrib/hbqt/hbqt_qtextstream.cpp
  * contrib/hbqt/hbqt_qmodelindex.cpp
    * Regenerated after generator fixes.
2009-06-25 10:18:21 +00:00
Pritpal Bedi
219a90337d * Previous entry updated. 2009-06-25 08:19:04 +00:00
Pritpal Bedi
55c40788ea 2009-06-25 08:15:01 +00:00
Pritpal Bedi
d375eecda6 2009-06-25 01:05 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/Makefile_gen

  * harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt.h

  * harbour/contrib/hbqt/hbqt_qapplication.cpp
  * harbour/contrib/hbqt/hbqt_qcoreapplication.cpp
  * harbour/contrib/hbqt/TQApplication.prg
  + harbour/contrib/hbqt/TQCoreApplication.prg
  * harbour/contrib/hbqt/hbqt_slots.cpp
  * harbour/contrib/hbqt/hbqt_slots.h
  * harbour/contrib/hbqt/moc_slots.cpp

  * harbour/contrib/hbqt/qth/QApplication.qth
  * harbour/contrib/hbqt/qth/QCoreApplication.qth
    + Added 1 more class at prg level and extended others.
    ! Changed the way events are being handelled.
2009-06-25 08:13:06 +00:00
Viktor Szakats
ff33fa0603 2009-06-25 03:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Some casing fixes.

  * ChangeLog
    + Added more incompat notes to 2009-06-20 22:24 UTC+0200 entry.

  * source/pp/pplib.c
  * source/compiler/hbcmplib.c
    * 'const' cleanup.

  * source/vm/fm.c
    - Deleted HB_FM_STAT() and HB_FM_NOSTAT() functions.
2009-06-25 01:45:18 +00:00
Viktor Szakats
e569ecf8b4 2009-06-24 22:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * include/hbapiitm.h
  * source/vm/itemapi.c
  * source/vm/arrays.c
  * source/vm/extend.c
    ; Started addition of 'const' keywords where applicable.
    * First pass:
      extern HB_EXPORT const char * hb_parc( int iParam );
      extern HB_EXPORT const char * hb_parcx( int iParam );
      extern HB_EXPORT const char * hb_itemGetCPtr( PHB_ITEM pItem );
      extern HB_EXPORT const char * hb_arrayGetCPtr( PHB_ITEM pArray, ULONG ulIndex );
    ; NOTE: This modification will break code in most compilers,
            especially in C++ mode.
            As a next steps source code will have to be modified
            according to this change. Be patient, don't report all
            errors to the developers. You can join the code cleanup.

  * source/vm/dynsym.c
  * source/vm/itemapi.c
  * source/vm/arrays.c
  * source/vm/memvars.c
  * source/vm/extend.c
  * source/vm/set.c
  * source/vm/classes.c
    * 'const's added to caller code.
2009-06-24 20:37:05 +00:00
Viktor Szakats
2cca1f30b4 2009-06-24 20:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/memvars.c
    - Deleted hb_fsCommit() as non CA-Cl*pper compatible.
      I'll let others decide what to do with this patch.

  * contrib/hbclipsm/date.c
    ! Changed hb_parnl() calls used to extract dates to hb_pardl().
2009-06-24 18:40:23 +00:00
Pritpal Bedi
fb52a61cc6 2009-06-24 08:40 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/Makefile_gen
  * harbour/contrib/hbqt/hbqt_qapplication.cpp
  * harbour/contrib/hbqt/qth/QApplication.qth
  + harbour/contrib/hbqt/TQApplication.prg
    + Added QApplication() PRG level class. Only one instance of
      application is ever activated but its members can be accessed/assigned
      as QApplication():new():setStyle( ... )
2009-06-24 15:46:13 +00:00
Viktor Szakats
d909e96194 2009-06-24 17:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/wvgcuig.c
  * contrib/gtwvg/wvgutils.c
  * contrib/gtwvg/wincallb.c
  * contrib/gtwvg/wvgcore.c
  * contrib/gtwvg/wvgwing.c
    ! Fixed non-ANSI comments.
2009-06-24 15:41:06 +00:00
Viktor Szakats
25c6a13d1f 2009-06-24 16:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/qth/QLatin1String.qth
  * contrib/hbqt/qth/QTextStream.qth
  * contrib/hbqt/qth/QApplication.qth
  * contrib/hbqt/qth/QLatin1Char.qth
  * contrib/hbqt/hbqt_qlatin1char.cpp
  * contrib/hbqt/hbqt_qapplication.cpp
  * contrib/hbqt/hbqt_qlatin1string.cpp
  * contrib/hbqt/hbqt.h
  * contrib/hbqt/hbqt_slots.cpp
  * contrib/hbqt/hbqt_qtextstream.cpp
    ! hb_parc() -> hb_parcx(). This may fix GPFs when non-string
      parameter was read from C code and NULL pointer was passed
      to certain QT methods. I couldn't find any specific mention
      that NULL would be an accepted input value for the ones
      I've checked.
      Please review, and if hb_parc() was intentionally used,
      and NULL value intentionally passed to QT, pls revert where
      needed.
2009-06-24 14:58:05 +00:00
Viktor Szakats
393a813242 2009-06-24 16:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/memvars.c
    + Added hb_fsCommit() to __MVSAVE().
      (Change copied from xhb, created by Peter Rees)

  * contrib/gtwvg/wvgsink.c
    ! Fixed BCC warning after recent change.
      (BTW, does anyone know a switch to enable such warning:
      "'x' is assigned a value that is never used" with *MinGW* ?
      It's annoying that BCC catches it, while other compilers
      don't. I'm now only using BCC when creating builds.)
2009-06-24 14:09:16 +00:00
Viktor Szakats
d9a9a26538 2009-06-24 13:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_dos.bat
  * mpkg_win.bat
  * make_gnu.bat
    * Now make_gnu.bat will also install libs to lib/<arch>/<comp>
      by default. This will enable default settings to work in
      multi-compiler mode.
    ; NOTE: hbmk script may need to be adapted for this change,
            to add lib/<arch>/<comp> to libpath. Only MinGW + msys
            users using hbmk *script* are affected though.

  * contrib/hbqt/hbqt_slots.cpp
    ! Fixed QT_QDEBUG() to map to QT function even on Windows.
      (no OutputDebugString() here please)
    ! Fixed wrong hb_itemPutCPtr() usage. Here, only string
      allocated by Harbour functions can be used. Attaching
      foreign string pointers will produce serious problems.
      This fixes one GPF reported by Lorenzo on Linux.
    ! Renamed static vars to have 's_' prefix.
    ! Commented unused SlotsExecFocusEvent(). This fixes the
      MinGW warning.
    ! Fixed to use hb_snprintf() instead of unsafe sprintf().
    % Events::eventFilter() simplified.
    * Formatting.

  * source/rtl/gtwvt/gtwvt.c
    ! Fixed hb_gtInfo( HB_GTI_SCREENSIZE ) called with invalid parameter.
      (untested, please test)

  * contrib/gtwvg/gtwvg.c
    ! Fixed hb_gtInfo( HB_GTI_SCREENSIZE ) called with invalid parameter.
    ! Fixed hb_gtInfo( HB_GTI_SETPOSANDSIZE ) called with invalid parameter.
      (untested, please test)

  * contrib/hbxbp/tests/demoxbp.prg
    ! Fixed FUNCTION not returning value.

  * utils/hbmk2/hbmk2.prg
    * Cleanup to path separator handling in .hbc files found
      automatically.
2009-06-24 11:41:37 +00:00
Viktor Szakats
5707980814 2009-06-24 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_dos.bat
  * mpkg_win.bat
    * Changed 'lib' location to be lib/<arch>/<comp>.
      This way the generated install kits became compatible
      with each other and also with the 'unified' build. This
      means they can be installed / copied onto each other.
      This in turn means that we can provide binaries not
      included in the 'unified' build as extra packages,
      which "plugs in" into the former.
    ; Same has already been true for the source packages which
      can be copied onto any binary installation without causing
      any damage.

  * INSTALL
    + Added NOTE to QUICK START, that GNU Make and msys and other
      tools are not needed to build Harbour apps.
2009-06-24 10:22:31 +00:00
Pritpal Bedi
13c79c2479 2009-06-24 00:02 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/generator/qt45.qtp
  * harbour/contrib/hbqt/Makefile_gen

  * harbour/contrib/hbqt/hbqt.ch
  * harbour/contrib/hbqt/hbqt.h

  * harbour/contrib/hbqt/hbqt_qbitmap.cpp
  * harbour/contrib/hbqt/hbqt_qcolor.cpp
  * harbour/contrib/hbqt/hbqt_qcolordialog.cpp
  + harbour/contrib/hbqt/hbqt_qdatetime.cpp
  * harbour/contrib/hbqt/hbqt_qdir.cpp
  * harbour/contrib/hbqt/hbqt_qevent.cpp
  * harbour/contrib/hbqt/hbqt_qfiledialog.cpp
  * harbour/contrib/hbqt/hbqt_qfont.cpp
  + harbour/contrib/hbqt/hbqt_qfontdatabase.cpp
  * harbour/contrib/hbqt/hbqt_qfontdialog.cpp
  * harbour/contrib/hbqt/hbqt_qimagereader.cpp
  * harbour/contrib/hbqt/hbqt_qimagewriter.cpp
  * harbour/contrib/hbqt/hbqt_qinputdialog.cpp
  * harbour/contrib/hbqt/hbqt_qkeysequence.cpp
  + harbour/contrib/hbqt/hbqt_qlatin1char.cpp
  + harbour/contrib/hbqt/hbqt_qlatin1string.cpp
  * harbour/contrib/hbqt/hbqt_qlayout.cpp
  * harbour/contrib/hbqt/hbqt_qmessagebox.cpp
  * harbour/contrib/hbqt/hbqt_qobject.cpp
  * harbour/contrib/hbqt/hbqt_qpainter.cpp
  * harbour/contrib/hbqt/hbqt_qpixmap.cpp
  * harbour/contrib/hbqt/hbqt_qresource.cpp
  * harbour/contrib/hbqt/hbqt_qsound.cpp
  * harbour/contrib/hbqt/hbqt_qstyle.cpp
  * harbour/contrib/hbqt/hbqt_qtextcodec.cpp
  * harbour/contrib/hbqt/hbqt_qtextdocumentfragment.cpp
  * harbour/contrib/hbqt/hbqt_qtimer.cpp
  * harbour/contrib/hbqt/hbqt_qurl.cpp
  * harbour/contrib/hbqt/hbqt_qvariant.cpp
  * harbour/contrib/hbqt/hbqt_qwidget.cpp
  + harbour/contrib/hbqt/hbqt_qwidgetaction.cpp
  + harbour/contrib/hbqt/hbqt_qwidgetitem.cpp

  * harbour/contrib/hbqt/TQBitmap.prg
  * harbour/contrib/hbqt/TQColor.prg
  * harbour/contrib/hbqt/TQColorDialog.prg
  + harbour/contrib/hbqt/TQDateTime.prg
  * harbour/contrib/hbqt/TQDir.prg
  * harbour/contrib/hbqt/TQEvent.prg
  * harbour/contrib/hbqt/TQFileDialog.prg
  * harbour/contrib/hbqt/TQFont.prg
  + harbour/contrib/hbqt/TQFontDatabase.prg
  * harbour/contrib/hbqt/TQFontDialog.prg
  * harbour/contrib/hbqt/TQImageReader.prg
  * harbour/contrib/hbqt/TQInputDialog.prg
  * harbour/contrib/hbqt/TQKeySequence.prg
  + harbour/contrib/hbqt/TQLatin1Char.prg
  + harbour/contrib/hbqt/TQLatin1String.prg
  * harbour/contrib/hbqt/TQLayout.prg
  * harbour/contrib/hbqt/TQMessageBox.prg
  * harbour/contrib/hbqt/TQObject.prg
  * harbour/contrib/hbqt/TQPainter.prg
  * harbour/contrib/hbqt/TQPixmap.prg
  * harbour/contrib/hbqt/TQResource.prg
  * harbour/contrib/hbqt/TQSound.prg
  * harbour/contrib/hbqt/TQStyle.prg
  * harbour/contrib/hbqt/TQTextCodec.prg
  * harbour/contrib/hbqt/TQTextDocumentFragment.prg
  * harbour/contrib/hbqt/TQTimer.prg
  * harbour/contrib/hbqt/TQUrl.prg
  * harbour/contrib/hbqt/TQVariant.prg
  * harbour/contrib/hbqt/TQWidget.prg
  + harbour/contrib/hbqt/TQWidgetAction.prg
  + harbour/contrib/hbqt/TQWidgetItem.prg

  * harbour/contrib/hbqt/qth/QBitmap.qth
  * harbour/contrib/hbqt/qth/QColor.qth
  * harbour/contrib/hbqt/qth/QColorDialog.qth
  + harbour/contrib/hbqt/qth/QDateTime.qth
  * harbour/contrib/hbqt/qth/QDir.qth
  * harbour/contrib/hbqt/qth/QEvent.qth
  * harbour/contrib/hbqt/qth/QFileDialog.qth
  * harbour/contrib/hbqt/qth/QFont.qth
  + harbour/contrib/hbqt/qth/QFontDatabase.qth
  * harbour/contrib/hbqt/qth/QFontDialog.qth
  * harbour/contrib/hbqt/qth/QImageReader.qth
  * harbour/contrib/hbqt/qth/QImageWriter.qth
  * harbour/contrib/hbqt/qth/QInputDialog.qth
  * harbour/contrib/hbqt/qth/QKeySequence.qth
  + harbour/contrib/hbqt/qth/QLatin1Char.qth
  + harbour/contrib/hbqt/qth/QLatin1String.qth
  * harbour/contrib/hbqt/qth/QLayout.qth
  * harbour/contrib/hbqt/qth/QMessageBox.qth
  * harbour/contrib/hbqt/qth/QObject.qth
  * harbour/contrib/hbqt/qth/QPainter.qth
  * harbour/contrib/hbqt/qth/QPixmap.qth
  * harbour/contrib/hbqt/qth/QResource.qth
  * harbour/contrib/hbqt/qth/QSound.qth
  * harbour/contrib/hbqt/qth/QStyle.qth
  * harbour/contrib/hbqt/qth/QTextCodec.qth
  * harbour/contrib/hbqt/qth/QTextDocumentFragment.qth
  * harbour/contrib/hbqt/qth/QTimer.qth
  * harbour/contrib/hbqt/qth/QUrl.qth
  * harbour/contrib/hbqt/qth/QVariant.qth
  * harbour/contrib/hbqt/qth/QWidget.qth
  + harbour/contrib/hbqt/qth/QWidgetAction.qth
  + harbour/contrib/hbqt/qth/QWidgetItem.qth
 
    + Added 6 new classes.
    + Added QT's <Static Public Members>. So now classes must be more complete.
      The insight to include these members is suggested by WenSheng, thanks.
2009-06-24 07:12:05 +00:00
Viktor Szakats
bcb206bf7a 2009-06-24 06:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Minor opt in IsDriveSpec() function.
2009-06-24 04:50:18 +00:00
Viktor Szakats
5e20902faa 2009-06-24 06:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Rewritten PathNormalize().
      Previous version had problems with relative paths, didn't
      normalize everything possible and always added an ending
      backslash. This new one hopefully fixes all these problems.
      It also won't touch empty paths.
      I'd appreciate if someone could take a reviewers look at
      the code, it's now actually much simpler.
    ; beta2 release delayed a bit because of this change.

  * mpkg_win.nsi
    * Changed from MUI to MUI2. (no visible changes)
2009-06-24 04:45:09 +00:00
Viktor Szakats
b237deed30 2009-06-23 04:37 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbsqlit3/Makefile
    + Enabled for all pocc compilers.
2009-06-24 02:38:08 +00:00
Viktor Szakats
ccc6a4e021 2009-06-23 23:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * mpkg_win.bat
  * include/hbver.h
  * harbour.spec
    * Changed version to 2.0.0beta2 (from 2.0.0beta1)
    ; NOTE: Everyone is encouraged to create binary releases
            for various platforms and try this new version with real apps.
            We can even upload these binary releases to sf.net.

  * utils/hbmk2/hbmk2.prg
    * Minor internal cleanup regarding macro marker chars.
    % Not including libpaths containing late-evaluation macros in
      actual commands.
    * Cleaned handling of paths added from .hbc. Now slashes are
      properly formed and paths are normalized.

  * INSTALL
    * Minor in new section.
2009-06-23 22:00:14 +00:00
Viktor Szakats
81926389b2 2009-06-23 23:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/hbgtcore.c
    ! Fixed GPF when using hb_gtInfo( HB_GTI_SETWIN ) without
      valid parameter. Thanks to Marek Horodyski for the report.

  * contrib/gtwvg/wvgsink.c
    ! Attempt to fix MinGW warning.
      ---
      ../../wvgsink.c: In function 'HB_FUN_WVG_AXSETUPCONNECTIONPOINT':
      ../../wvgsink.c:519: warning: dereferencing pointer 'hSink.56' does break strict-aliasing rules
      ../../wvgsink.c:530: note: initialized from here
      ---
      Please review, I'm not at all sure this patch is correct.
2009-06-23 21:01:39 +00:00
Viktor Szakats
f5904ca848 2009-06-23 19:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * include/hbapiitm.h
  * source/vm/itemapi.c
  * source/vm/arrays.c
  * source/vm/extend.c
    * Clean alternative for: 2009-06-23 18:15 UTC+0200
      (now change is local to extend.c)
      Thanks Przemek.
2009-06-23 17:23:22 +00:00
Viktor Szakats
f1052fb187 2009-06-23 19:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- examples/superlib/hbsuper.hbp
  + examples/superlib/superlib.hbc
  + examples/superlib/superlib.dif
  - examples/superlib/hbsuper.dif
  * examples/superlib/readme.txt
  + examples/superlib/superlib.hbp
    * Change make system to have full multiplatform/multicompiler
      support. The same all other examples and contribs have.
    + Added one-liner instruction, how to build superlib based
      apps using hbmk2.
2009-06-23 17:11:04 +00:00
Viktor Szakats
7de9ca92fe 2009-06-23 18:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbapi.h
  * include/hbapiitm.h
  * source/vm/itemapi.c
  * source/vm/arrays.c
  * source/vm/extend.c
    ! Fixed hb_parvc() function to return NULL in case an array 
      is passed as Harbour level parameter. This makes this function 
      (and _parc()) fully CA-Cl*pper compatible.
    ; Please review maybe there is a lighter patch to achieve this 
      goal. I had to add NULL versions for two functions downstream.

  * utils/hbmk2/hbmk2.prg
    * Formatting.
2009-06-23 16:16:52 +00:00
Viktor Szakats
1c8d9f5858 2009-06-23 17:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added section:
      QUICK START TO BUILD YOUR OWN HARBOUR APPLICATIONS
      Contains basics to start to build Harbour apps (using hbmk2).
2009-06-23 15:15:12 +00:00
Viktor Szakats
4e92dd7f79 2009-06-23 14:10 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Correction to xcc + /MT switch.
2009-06-23 12:10:37 +00:00
Viktor Szakats
16c5811ea0 2009-06-23 13:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Synced /MT switch with GNU Make build switch for pocc/pocc64.
2009-06-23 11:34:16 +00:00
Viktor Szakats
dbab909116 2009-06-23 12:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed problem with pocc not finding compiled .c objects 
      in some cases.
      Damn these two compilers pocc and watcom.
2009-06-23 10:40:31 +00:00
Viktor Szakats
2dce96316f 2009-06-23 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added filter support for input file types .rc, .res, .o, .obj, .c, .cpp.
    ! Fixed filter support for some existing cases with input files.
    + Added special support for escaping filenames inside watcom
      command script file. Of course this is different from common
      command line escaping rules. I didn't try to find out the details,
      but for simple spaces, it now works. If someone wants to tweak
      them, they go under the name _ESC_SINQUOTE_WATCOM.

  * utils/hbrun/hbrun.hbp
  * utils/hbrun/hbrun.rc
    * Changed the way harbour.ico is referred to. Now the dir of
      it is passed as include dir and no dir is used inside the .rc
      file. This was needed to make watcom happy, which counts
      relative dirs in #include from cwd, rather than from host
      file.
2009-06-23 10:15:24 +00:00
Przemyslaw Czerpak
f604930a1e 2009-06-23 11:56 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
  * harbour/utils/hbmk2/hbmk2.prg
    * updated automatic first function detection to decode non symbol
      characters in C function names
2009-06-23 09:56:44 +00:00
Viktor Szakats
da656fbc14 2009-06-23 10:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hboleold/hboleold.hbp
  + examples/hboleold/tests/hbmk.hbm
    * hbmk2 files adjusted.
2009-06-23 08:57:54 +00:00
Przemyslaw Czerpak
ecb7067866 2009-06-23 10:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/genc.c
    * convert any function names to unique symbol accepted by C compilers
      it resolves problems with compiling without -n .prg files using some
      strange characters in file name, i.e. 
         /*** ^co+d-e.prg ***/
         ? procname()
2009-06-23 08:03:54 +00:00
Viktor Szakats
0cdaf09ccd 2009-06-23 05:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* examples/hbmsql/hbmsql.hbc
  * examples/hbmsql/hbmsql.hbp
  - examples/hbsqlit2/tests/hbsqlit2.hbc
  + examples/hbsqlit2/hbsqlit2.hbc
  * examples/hbsqlit2/hbsqlit2.hbp
  + examples/hbsqlit2/tests/hbmk.hbm
  - examples/hbapollo/tests/hbapollo.hbc
  + examples/hbapollo/hbapollo.hbc
  * examples/hbapollo/hbapollo.hbp
  + examples/hbapollo/tests/hbmk.hbm
  - examples/hbwhat/tests/hbwhat.hbc
  + examples/hbwhat/hbwhat.hbc
  * examples/hbwhat/hbwhat.hbp
  + examples/hbwhat/tests/hbmk.hbm
    * Updated make files, added missing one, synced
      with latest layout.  Enabled -inc mode in all.
      Storing output inside arch/comp subtree to allow
      parellel builds. Moving towards plugin mode.
2009-06-23 03:08:18 +00:00
Viktor Szakats
225997bb80 minor 2009-06-23 02:41:43 +00:00
Viktor Szakats
90a6cfab37 2009-06-23 04:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Changed ${hb_self} macro to ${hb_dir}
    + Added ${hb_name} macro which translates to the container
      filename (so f.e. in hbwin.hbc it will be "hbwin")
    + Added "late-evaluation" macros in libpaths= lists,
      when looking for .hbc files. Late eval macros are marked
      with %{}. This feature means you can setup
      'libpaths=contrib/%{hb_name}' and when looking for
      'hbwin.hbc', it will look for it in contrib/hbwin dir.
    * libpaths/-L values will not be checked for existence before
      adding them to internal lib list.
    ; All this means that it's now possible to setup contrib
      libs and headers in their own directory while keeping the
      "zero-conf" work environment. IOW contrib libs and directories
      don't need to "pollute" central lib/header dir. This also
      means that we can lift lots of restrictions regarding
      naming, since only lib name needs to be unique, headers
      don't (it's still good practice though since one users
      may want to use both contribs at the same time), they
      also don't bother those users who aren't using them. This
      system also makes it very easy to add 3rd party libs to
      the contrib dir. So in this sense it's basically a fully
      open "plugin" system for any libs.
      It's very easily possible to add 'examples', or 'extras'
      subtrees to libpath also.
      From the user side, it looks like this (without any extra
      configuration or any path specs):
         > hbmk2 myprogram.prg hbwin.hbc hbct.hbc
    ; QUESTION: Where such contribs (with libs and headers)
                could go on a *nix system? While developing
                above stuff I had the unified Windows installer
                in mind, but it would be good to adapt these
                on *nix systems, too.

  + contrib/xpp/xpp.hbc
    + Added .hbc file for xpp lib.
2009-06-23 02:40:28 +00:00
April White
6af3a36044 2009-06-22 20:48 UTC+0600 April White (april users.sourceforge.net)
* contrib\hbblat\blatcls.prg
    * METHOD Check() CLASS HBBlat -> METHOD PROCEDURE
  * contrib\hbgd\gdimage.prg
    * METHOD Destruct() CLASS GDImage -> METHOD PROCEDURE
  * contrib\xhb\hblog.prg
    * METHOD Open() CLASS HB_Logger -> METHOD PROCEDURE
    * METHOD Close() CLASS HB_Logger -> METHOD PROCEDURE
    * METHOD Log( cMessage, nPriority ) CLASS HB_Logger -> METHOD PROCEDURE
    * METHOD Log( nStyle, cMessage, cName, nPriority ) CLASS HB_LogChannel -> METHOD PROCEDURE
    * METHOD Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogConsole -> METHOD PROCEDURE
    * METHOD Send( nStyle, cMessage, cName, nPriority ) CLASS HB_LogDebug -> METHOD PROCEDURE
  * contrib\xhb\stream.prg
    * METHOD CopyTo( oTargetStream ) CLASS TStream -> METHOD PROCEDURE
    * METHOD Finalize CLASS TStreamFileReader -> METHOD PROCEDURE
    * METHOD Finalize CLASS TStreamFileWriter -> METHOD PROCEDURE
    * METHOD WriteByte( cByte ) CLASS TStreamFileWriter -> METHOD PROCEDURE
  * contrib\xhb\ttable.prg
    * METHOD GET() CLASS HBRecord -> METHOD PROCEDURE
    * METHOD Put() CLASS HBRecord -> METHOD PROCEDURE
    * METHOD DBMove( nDirection ) CLASS HBTable -> METHOD PROCEDURE
    * METHOD READ( lKeepBuffer ) CLASS HBTable -> METHOD PROCEDURE
    * METHOD ReadBlank( lKeepBuffer ) CLASS HBTable -> METHOD PROCEDURE
    * METHOD AddField( f, t, l, d ) CLASS HBTable -> METHOD PROCEDURE
    * METHOD Gentable() CLASS HBTable -> METHOD PROCEDURE
    * METHOD Create() CLASS HBOrder -> METHOD PROCEDURE
2009-06-23 01:56:52 +00:00
April White
10e1d5c2fe 2009-06-22 20:38 UTC+0600 April White (april users.sourceforge.net)
* examples/hbextern/hbextern.prg
    * significant re-implementation
      ; with no params will work like original version
      ; processes source files with LF terminators
      ; params to control: recursion, include 'conditions',
        include classes, include class methods/etc
      ; execute with -? or --help
2009-06-23 00:43:43 +00:00
Viktor Szakats
71b915f4a3 2009-06-23 02:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Restored HB_COMPILE() first parameter. This time it's 'harbour' 
      instead of empty string.
2009-06-23 00:21:07 +00:00
Przemyslaw Czerpak
1ef31fd275 2009-06-23 02:15 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbcmplib.c
    * removed automatically set 1-st parameter in hb_compile*() functions
      so user can control it from .prg code
2009-06-23 00:15:42 +00:00
Viktor Szakats
c32cb146f5 2009-06-23 01:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added information about C/C++ mode defaults.

  * contrib/xhb/xhberr.prg
    + Some internal xhb functions added.
      (from xhb repo)
2009-06-22 23:57:38 +00:00
Viktor Szakats
57ea03f80a 2009-06-23 00:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Deleted first empty string parameter passed to HB_COMPILE()
      function. AFAIR it seems it was needed so far (or was ignored,
      but I've put it there for some reason), but after recent fix,
      it's interpreted as empty filename, which seems logical.
2009-06-22 22:37:47 +00:00
Viktor Szakats
999cf5ba39 2009-06-23 00:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
  * external/sqlite3/sqlite3.h
    * sqlite upgraded to 3.6.15 (from 3.6.14.2)
2009-06-22 22:10:24 +00:00
Viktor Szakats
7e0b52576e 2009-06-22 23:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/getsys.prg
    ! GETACTIVE() function fixed to work even if an app
      manages getlist on its own. In this case GETACTIVE()
      will maintain the GET object in its own STATIC variable.
      This should fix the SuperLib problem reported by Bruno Luciani.

  * examples/superlib/hbsuper.dif
    + Will now automatically enable CLIPPER53 protected code
      if Harbour was built with HB_COMPAT_C53 setting. This
      enables SuperLib to use C53's build-in mouse functions.
2009-06-22 21:43:49 +00:00
Przemyslaw Czerpak
f0dc881f78 2009-06-22 23:13 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/compiler/hbcmplib.c
    ! fixed reverted order of parameters passed in arrays and missing last
      parameter
2009-06-22 21:13:16 +00:00
Viktor Szakats
da5141ce56 2009-06-22 22:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    ! Typo in prev.

  * contrib/gtwvg/gtwvg.c
  * contrib/hbwin/win_prn2.c
    ! Suppressed two mingw/C++ warnings.

  * examples/superlib/hbsuper.hbp
    * lib name changed to 'super' (from 'superlib') to match
      the lib name of the Cl*pper version.

  * examples/superlib/readme.txt
    * Minor text correction.
2009-06-22 20:26:29 +00:00
Przemyslaw Czerpak
52759504b9 2009-06-22 21:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/lang.c
    % simplified HB_USERLANG() code

  * harbour/include/hbdefs.h
    * use inline functions for HB_PUT_PTR() and HB_GET_PTR() macros in
      GCC builds. It makes GCC builds alignment free and fixes the problem
      with broken strict aliasing rules.

  * harbour/include/hbwmain.c
    * casting
2009-06-22 19:30:27 +00:00
Viktor Szakats
564cb93315 2009-06-22 17:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Always escape filenames/paths if they contain "-" char.
      (on Windows).
      (this could recently cause a regression with BCC)

  * include/hbapi.h
    ! Missded change from previous commit.

  * bin/postinst.bat
    + hbrun is now built also in non-dll mode at the end of the
      build process, so it gets built with the icon.
      Probably we should switch to using hbmk2 to build these
      extra tools, eventually.
2009-06-22 15:27:38 +00:00
Viktor Szakats
b25f1d53c0 2009-06-22 17:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/lang.c
  * source/rtl/isprint.c
  * contrib/hbwin/win_prn2.c
    ! Fixed most mingw/C++ warnings:
      warning: deprecated conversion from string constant to 'char*'
    * Added 'const' to hb_PrinterIsReady() string parameter.
    ; Please review me.
    ; TOFIX: These remain of this type of warning:
      ../../../../../include/hbwmain.c:78: warning: deprecated conversion from string constant to 'char*'
      ../../ctnet.c:182: warning: deprecated conversion from string constant to 'char*'
      ../../print.c:204: warning: deprecated conversion from string constant to 'char*'
      ../../print.c:205: warning: deprecated conversion from string constant to 'char*'
      ../../win_prn2.c:437: warning: deprecated conversion from string constant to 'CHAR*'
      ../../../maindllp.c:429: warning: deprecated conversion from string constant to 'char*'
      ../../../maindllp.c:454: warning: deprecated conversion from string constant to 'char*'

  * contrib/gtwvg/wincallb.c
    ! Added cast to avoid error in mingw/C++ mode.
      Thanks Pritpal, it worked.

  * contrib/gtwvg/Makefile
    + Reenabled for mingw/C++
2009-06-22 15:07:07 +00:00
Viktor Szakats
d772fc5b2f 2009-06-22 16:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/gtwvg/Makefile
    ! Typo in prev.

  * INSTALL
  - config/linux/gpp.cf
    - Deleted HB_COMPILER=gpp. Please use HB_BUILD_MODE=cpp
      which works with all compilers.
2009-06-22 14:06:43 +00:00