From 248979e15b3c971504c51b0e04f038a30cbbd0a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Czerpak?= Date: Mon, 20 Jan 2025 10:43:30 +0100 Subject: [PATCH] 2025-01-20 10:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h ! added missing declaration for hb_fileParamGet() * include/hbgtcore.h * added HB_EXPORT attribute for hb_gt_getClipboard(), hb_gt_setClipboard() and hb_gt_dos_keyCodeTranslate() * include/hbrdddbf.h ! removed declaration for hb_dbfTranslateRec() function - this functions was removed many years ago * include/harbour.hbx * src/harbour.def ! fixed order of declared functions - they should be sorted. --- ChangeLog.txt | 16 ++++++++++++++++ include/harbour.hbx | 2 +- include/hbapifs.h | 1 + include/hbgtcore.h | 6 +++--- include/hbrdddbf.h | 2 -- src/harbour.def | 4 ++-- 6 files changed, 23 insertions(+), 8 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index c5ab2b88b6..c77aeead40 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,22 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2025-01-20 10:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * include/hbapifs.h + ! added missing declaration for hb_fileParamGet() + + * include/hbgtcore.h + * added HB_EXPORT attribute for hb_gt_getClipboard(), hb_gt_setClipboard() + and hb_gt_dos_keyCodeTranslate() + + * include/hbrdddbf.h + ! removed declaration for hb_dbfTranslateRec() function - this functions + was removed many years ago + + * include/harbour.hbx + * src/harbour.def + ! fixed order of declared functions - they should be sorted. + 2025-01-20 01:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbcurl/hbcurl.hbx ! added missing new functions: curl_easy_er_buff_get() and curl_multi_*() diff --git a/include/harbour.hbx b/include/harbour.hbx index 562f6892c5..ec9130b7a7 100644 --- a/include/harbour.hbx +++ b/include/harbour.hbx @@ -731,8 +731,8 @@ DYNAMIC hb_osDriveSeparator DYNAMIC hb_osError DYNAMIC hb_osFileMask DYNAMIC hb_osIs64bit -DYNAMIC hb_osIsWin11 DYNAMIC hb_osIsWin10 +DYNAMIC hb_osIsWin11 DYNAMIC hb_osIsWin2K DYNAMIC hb_osIsWin7 DYNAMIC hb_osIsWin8 diff --git a/include/hbapifs.h b/include/hbapifs.h index 4e0aa3127b..828af0e714 100644 --- a/include/hbapifs.h +++ b/include/hbapifs.h @@ -470,6 +470,7 @@ extern HB_EXPORT HB_BYTE * hb_fileLoadData( PHB_FILE pFile, HB_SIZE nMaxSize, /* interface to PRG level hb_vf*() file pointer items */ extern HB_EXPORT PHB_FILE hb_fileParam( int iParam ); +extern HB_EXPORT PHB_FILE hb_fileParamGet( int iParam ); extern HB_EXPORT PHB_FILE hb_fileItemGet( PHB_ITEM pItem ); extern HB_EXPORT PHB_ITEM hb_fileItemPut( PHB_ITEM pItem, PHB_FILE pFile ); extern HB_EXPORT void hb_fileItemClear( PHB_ITEM pItem ); diff --git a/include/hbgtcore.h b/include/hbgtcore.h index 3754e6f2c4..fe56be1a16 100644 --- a/include/hbgtcore.h +++ b/include/hbgtcore.h @@ -629,8 +629,8 @@ extern HB_EXPORT PHB_GT hb_gtLoad( const char * szGtName, PHB_GT pGT, PHB_GT_FU /* low-level GT functions common to different GTs supported by RTL */ extern int hb_gt_chrmapinit( int * piTransTbl, const char * pszTerm, HB_BOOL fSetACSC ); -extern HB_BOOL hb_gt_setClipboard( const char * szClipData, HB_SIZE nLen ); -extern HB_BOOL hb_gt_getClipboard( char ** pszClipData, HB_SIZE * pnLen ); +extern HB_EXPORT HB_BOOL hb_gt_setClipboard( const char * szClipData, HB_SIZE nLen ); +extern HB_EXPORT HB_BOOL hb_gt_getClipboard( char ** pszClipData, HB_SIZE * pnLen ); #if defined( HB_OS_WIN ) extern HB_EXPORT HB_BOOL hb_gt_winapi_setClipboard( HB_UINT uFormat, PHB_ITEM pItem ); extern HB_EXPORT HB_BOOL hb_gt_winapi_setClipboardRaw( HB_UINT uFormat, void * pData, HB_SIZE nSize ); @@ -640,7 +640,7 @@ extern HB_EXPORT void hb_gt_winapi_setKbdState( int kbdShifts ); extern HB_EXPORT void hb_gt_winapi_tone( double dFrequency, double dDuration ); #endif /* HB_OS_WIN */ #if defined( HB_OS_DOS ) || defined( HB_OS_WIN ) || defined( HB_OS_OS2 ) -extern int hb_gt_dos_keyCodeTranslate( int iKey, int iFlags, PHB_CODEPAGE cdp ); +extern HB_EXPORT int hb_gt_dos_keyCodeTranslate( int iKey, int iFlags, PHB_CODEPAGE cdp ); #endif /* HB_OS_DOS || HB_OS_WIN || HB_OS_OS2 */ HB_EXTERN_END diff --git a/include/hbrdddbf.h b/include/hbrdddbf.h index aa6e78dfa5..141042b9d2 100644 --- a/include/hbrdddbf.h +++ b/include/hbrdddbf.h @@ -268,8 +268,6 @@ extern HB_EXPORT HB_BOOL hb_dbfLockIdxFile( DBFAREAP pArea, PHB_FILE pFile, extern HB_EXPORT HB_BOOL hb_dbfLockIdxWrite( DBFAREAP pArea, PHB_FILE pFile, PHB_DBFLOCKDATA pLockData ); -extern HB_EXPORT void hb_dbfTranslateRec( DBFAREAP pArea, HB_BYTE * pBuffer, PHB_CODEPAGE cdp_src, PHB_CODEPAGE cdp_dest ); - HB_EXTERN_END #endif /* HB_RDDDBF_H_ */ diff --git a/src/harbour.def b/src/harbour.def index e25f0cfda5..e0cd0b9ef8 100644 --- a/src/harbour.def +++ b/src/harbour.def @@ -924,8 +924,8 @@ HB_FUN_HB_OSDRIVESEPARATOR HB_FUN_HB_OSERROR HB_FUN_HB_OSFILEMASK HB_FUN_HB_OSIS64BIT -HB_FUN_HB_OSISWIN11 HB_FUN_HB_OSISWIN10 +HB_FUN_HB_OSISWIN11 HB_FUN_HB_OSISWIN2K HB_FUN_HB_OSISWIN7 HB_FUN_HB_OSISWIN8 @@ -2779,8 +2779,8 @@ hb_inkeyPut hb_inkeyReset hb_inkeySetLast hb_inkeySetText -hb_iswin11 hb_iswin10 +hb_iswin11 hb_iswin2k hb_iswin2k3 hb_iswin7