From b33cb05de57ddeaeae6e9d1122546abc87c67360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Czerpak?= Date: Tue, 21 Jan 2025 01:11:37 +0100 Subject: [PATCH] 2025-01-21 01:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapigt.h ! removed dummy declaration for hb_inkeyExit() * include/hbexprop.h ! removed dummy declarations for hb_compExprNewCodeblockExpr(), hb_compExprNewAssign() and hb_compExprEqual() ; marked compiler only hb_compExpr*() functions * include/hbgtcore.h ! removed dummy declaration for hb_gt_gcMark() * include/hbxvm.h ! removed dummy declarations for hb_xvmPushBlockLarge() and hb_xvmMacroPushArg() * src/harbour.def + added hb_iswinbuild() + added exported PCRE variable pcre_stack_guard + added exported ZLIB functions: gzfread(), gzwrite(), adler32_z(), crc32_z(), crc32_combine_gen(), crc32_combine_gen64(), crc32_combine_op(), uncompress2(), deflateGetDictionary(), inflateValidate(), inflateCodesUsed() --- ChangeLog.txt | 25 +++++++++++++++++++++++++ include/hbapigt.h | 1 - include/hbexprop.h | 11 ++++------- include/hbgtcore.h | 1 - include/hbxvm.h | 2 -- src/harbour.def | 13 +++++++++++++ 6 files changed, 42 insertions(+), 11 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index c77aeead40..c5d4454f9d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -7,6 +7,31 @@ Entries may not always be in chronological/commit order. See license at the end of file. */ +2025-01-21 01:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + * include/hbapigt.h + ! removed dummy declaration for hb_inkeyExit() + + * include/hbexprop.h + ! removed dummy declarations for hb_compExprNewCodeblockExpr(), + hb_compExprNewAssign() and hb_compExprEqual() + ; marked compiler only hb_compExpr*() functions + + * include/hbgtcore.h + ! removed dummy declaration for hb_gt_gcMark() + + * include/hbxvm.h + ! removed dummy declarations for hb_xvmPushBlockLarge() and + hb_xvmMacroPushArg() + + * src/harbour.def + + added hb_iswinbuild() + + added exported PCRE variable pcre_stack_guard + + added exported ZLIB functions: gzfread(), gzwrite(), + adler32_z(), crc32_z(), crc32_combine_gen(), + crc32_combine_gen64(), crc32_combine_op(), + uncompress2(), deflateGetDictionary(), + inflateValidate(), inflateCodesUsed() + 2025-01-20 10:43 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h ! added missing declaration for hb_fileParamGet() diff --git a/include/hbapigt.h b/include/hbapigt.h index 1c263dfa41..6796debca6 100644 --- a/include/hbapigt.h +++ b/include/hbapigt.h @@ -291,7 +291,6 @@ extern HB_EXPORT void hb_inkeyPoll( void ); /* Poll the console extern HB_EXPORT void hb_inkeyReset( void ); /* Reset the Harbour keyboard buffer */ extern HB_EXPORT void hb_inkeySetText( const char * szText, HB_SIZE nLen, HB_BOOL fEol ); /* Set text into inkey buffer */ extern HB_EXPORT int hb_inkeySetLast( int iKey ); /* Set new LastKey() value, return previous one */ -extern HB_EXPORT void hb_inkeyExit( void ); /* reset inkey pool to default state and free any allocated resources */ extern HB_EXPORT HB_SIZE hb_inkeyKeyString( int iKey, char * buffer, HB_SIZE nSize ); /* convert key value to string */ extern HB_EXPORT int hb_inkeyKeyStd( int iKey ); /* convert Harbour extended key code to Cl*pper inkey code */ diff --git a/include/hbexprop.h b/include/hbexprop.h index 727736931a..0151150445 100644 --- a/include/hbexprop.h +++ b/include/hbexprop.h @@ -97,7 +97,6 @@ extern HB_EXPORT_INT PHB_EXPR hb_compExprNewMult( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewDiv( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewMod( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewPower( PHB_EXPR, HB_COMP_DECL ); -extern HB_EXPORT_INT PHB_EXPR hb_compExprNewAssign( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewEqual( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewPlusEq( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewMinusEq( PHB_EXPR, HB_COMP_DECL ); @@ -115,9 +114,8 @@ extern HB_EXPORT_INT PHB_EXPR hb_compExprNewNot( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewNegate( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewVarRef( const char * szVarName, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewFunRef( const char * szFunName, HB_COMP_DECL ); -extern HB_EXPORT_INT PHB_EXPR hb_compExprNewFunCall( PHB_EXPR, PHB_EXPR, HB_COMP_DECL ); +extern HB_EXPORT_INT PHB_EXPR hb_compExprNewFunCall( PHB_EXPR, PHB_EXPR, HB_COMP_DECL ); /* compiler only */ extern HB_EXPORT_INT PHB_EXPR hb_compExprNewRef( PHB_EXPR, HB_COMP_DECL ); -extern HB_EXPORT_INT PHB_EXPR hb_compExprNewCodeblockExpr( PHB_EXPR, PHB_EXPR ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewSend( const char *, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewMacroSend( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewMethodObject( PHB_EXPR, PHB_EXPR ); @@ -127,17 +125,16 @@ extern HB_EXPORT_INT PHB_EXPR hb_compExprNewArgList( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewArgRef( HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewArray( PHB_EXPR, HB_COMP_DECL ); extern HB_EXPORT_INT PHB_EXPR hb_compExprNewHash( PHB_EXPR, HB_COMP_DECL ); -extern HB_EXPORT_INT PHB_EXPR hb_compExprNewArrayAt( PHB_EXPR, PHB_EXPR, HB_COMP_DECL ); +extern HB_EXPORT_INT PHB_EXPR hb_compExprNewArrayAt( PHB_EXPR, PHB_EXPR, HB_COMP_DECL ); /* compiler only */ extern HB_EXPORT_INT PHB_EXPR hb_compExprAddListExpr( PHB_EXPR, PHB_EXPR ); extern HB_EXPORT_INT PHB_EXPR hb_compExprCBVarAdd( PHB_EXPR, const char * szVarName, HB_BYTE bType, HB_COMP_DECL ); extern HB_EXPORT_INT void hb_compExprCBVarDel( PHB_CBVAR ); extern HB_EXPORT_INT PHB_EXPR hb_compExprAddCodeblockExpr( PHB_EXPR, PHB_EXPR ); -extern HB_EXPORT_INT PHB_EXPR hb_compExprSetCodeblockBody( PHB_EXPR pExpr, HB_BYTE * pCode, HB_SIZE nLen ); +extern HB_EXPORT_INT PHB_EXPR hb_compExprSetCodeblockBody( PHB_EXPR pExpr, HB_BYTE * pCode, HB_SIZE nLen ); /* compiler only */ extern HB_EXPORT_INT PHB_EXPR hb_compExprNewIIF( PHB_EXPR ); extern HB_EXPORT_INT PHB_EXPR hb_compExprMacroAsAlias( PHB_EXPR ); extern HB_EXPORT_INT PHB_EXPR hb_compExprAssign( PHB_EXPR, PHB_EXPR, HB_COMP_DECL ); -extern HB_EXPORT_INT PHB_EXPR hb_compExprEqual( PHB_EXPR, PHB_EXPR ); -extern HB_EXPORT_INT PHB_EXPR hb_compExprAssignStatic( PHB_EXPR, PHB_EXPR, HB_COMP_DECL ); +extern HB_EXPORT_INT PHB_EXPR hb_compExprAssignStatic( PHB_EXPR, PHB_EXPR, HB_COMP_DECL ); /* compiler only */ extern HB_EXPORT_INT HB_BOOL hb_compExprListTypeCheck( PHB_EXPR pExpr, HB_EXPRTYPE ExprType ); extern HB_EXPORT_INT HB_ULONG hb_compExprListLen( PHB_EXPR ); extern HB_EXPORT_INT HB_ULONG hb_compExprParamListLen( PHB_EXPR ); diff --git a/include/hbgtcore.h b/include/hbgtcore.h index fe56be1a16..e7089d5f1d 100644 --- a/include/hbgtcore.h +++ b/include/hbgtcore.h @@ -351,7 +351,6 @@ extern HB_EXPORT void hb_gt_BaseUnlock( PHB_GT pGT ); extern HB_EXPORT void hb_gt_BaseLock( PHB_GT pGT ); extern HB_EXPORT void hb_gtSleep( PHB_GT pGT, double dSeconds ); extern HB_EXPORT PHB_GT hb_gt_ItemBase( PHB_ITEM pItemGT ); -extern HB_EXPORT void hb_gt_gcMark( void ); #define HB_GTLOCAL(g) (g)->pGTData[*HB_GTID_PTR] diff --git a/include/hbxvm.h b/include/hbxvm.h index 8b9539f7f2..1e600efbda 100644 --- a/include/hbxvm.h +++ b/include/hbxvm.h @@ -106,7 +106,6 @@ extern HB_EXPORT HB_BOOL hb_xvmPushVariable( PHB_SYMB pSymbol ); extern HB_EXPORT HB_BOOL hb_xvmPopVariable( PHB_SYMB pSymbol ); extern HB_EXPORT void hb_xvmPushBlock( const HB_BYTE * pCode, PHB_SYMB pSymbols ); /* creates a codeblock */ extern HB_EXPORT void hb_xvmPushBlockShort( const HB_BYTE * pCode, PHB_SYMB pSymbols ); /* creates a codeblock */ -extern HB_EXPORT void hb_xvmPushBlockLarge( const HB_BYTE * pCode, PHB_SYMB pSymbols ); /* creates a codeblock */ extern HB_EXPORT void hb_xvmPushSelf( void ); extern HB_EXPORT void hb_xvmPushVParams( void ); extern HB_EXPORT void hb_xvmPushAParams( void ); @@ -194,7 +193,6 @@ extern HB_EXPORT HB_BOOL hb_xvmMacroArrayGen( HB_USHORT uiArgSets ); extern HB_EXPORT HB_BOOL hb_xvmMacroPush( int bFlags ); extern HB_EXPORT HB_BOOL hb_xvmMacroPushRef( void ); extern HB_EXPORT HB_BOOL hb_xvmMacroPushIndex( void ); -extern HB_EXPORT HB_BOOL hb_xvmMacroPushArg( PHB_SYMB pSymbol, int bFlags ); extern HB_EXPORT HB_BOOL hb_xvmMacroPushList( int bFlags ); extern HB_EXPORT HB_BOOL hb_xvmMacroPushAliased( int bFlags ); extern HB_EXPORT HB_BOOL hb_xvmMacroPushPare( int bFlags ); diff --git a/src/harbour.def b/src/harbour.def index e0cd0b9ef8..0e9d070c34 100644 --- a/src/harbour.def +++ b/src/harbour.def @@ -1963,16 +1963,22 @@ HB_FUN___XSAVESCREEN adler32 adler32_combine adler32_combine64 +adler32_z compress compress2 compressBound crc32 crc32_combine crc32_combine64 +crc32_combine_gen +crc32_combine_gen64 +crc32_combine_op +crc32_z deflate deflateBound deflateCopy deflateEnd +deflateGetDictionary deflateInit2_ deflateInit_ deflateParams @@ -1994,6 +2000,8 @@ gzdopen gzeof gzerror gzflush +gzfread +gzfwrite gzgetc gzgetc_ gzgets @@ -2787,6 +2795,7 @@ hb_iswin7 hb_iswin8 hb_iswin81 hb_iswin9x +hb_iswinbuild hb_iswince hb_iswine hb_iswinnt @@ -3854,6 +3863,7 @@ inflate inflateBack inflateBackEnd inflateBackInit_ +inflateCodesUsed inflateCopy inflateEnd inflateGetDictionary @@ -3869,6 +3879,7 @@ inflateSetDictionary inflateSync inflateSyncPoint inflateUndermine +inflateValidate pcre_assign_jit_stack pcre_callout pcre_compile @@ -3896,10 +3907,12 @@ pcre_malloc pcre_pattern_to_host_byte_order pcre_refcount pcre_stack_free +pcre_stack_guard pcre_stack_malloc pcre_study pcre_version uncompress +uncompress2 zError zlibCompileFlags zlibVersion