Skip to content

Commit

Permalink
2025-01-20 10:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
Browse files Browse the repository at this point in the history
  * 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.
  • Loading branch information
druzus committed Jan 20, 2025
1 parent 9b70add commit 248979e
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 8 deletions.
16 changes: 16 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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_*()
Expand Down
2 changes: 1 addition & 1 deletion include/harbour.hbx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions include/hbapifs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
6 changes: 3 additions & 3 deletions include/hbgtcore.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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
Expand Down
2 changes: 0 additions & 2 deletions include/hbrdddbf.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */
4 changes: 2 additions & 2 deletions src/harbour.def
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -2779,8 +2779,8 @@ hb_inkeyPut
hb_inkeyReset
hb_inkeySetLast
hb_inkeySetText
hb_iswin11
hb_iswin10
hb_iswin11
hb_iswin2k
hb_iswin2k3
hb_iswin7
Expand Down

0 comments on commit 248979e

Please sign in to comment.