2024-10-17 15:04 UTC+0200 Aleksander Czajczynski (hb fki.pl)

* .github/workflows/windows-ci.yml
    * update windows MSYS2 integration runner set of
      requested packages. PGSQL, Firebird and MariaDB libs
      are no longer available in the 32-bit environment

    + add clang x86_64 compiler for testing under this CI

  * include/harbour.hbx
  * include/hbapi.h
  * src/common/hbver.c
  * src/harbour.def
  * src/rtl/version.c
    ! fixed Windows 11 detection, by vendor likings it has
      NT Kernel Version stamped with 10.0, so now Build Number
      is more significant as a recognition factor.

    + new C helper functions hb_winisbuild(), hb_iswin11()

    + added PRG function hb_osIsWin11()

    * also try to detect new Windows Server versions

  * config/win/clang.mk
  * utils/hbmk2/hbmk2.prg
  * ChangeLog.txt
    ! recursion happening in the Makefiles rendered recently
      introduced compatibility option unreliable. Changed to
      use separate variable: HB_USER_FIXES=--mingw-script
      You don't need it, the problem shouldn't exist, but
      anyway...
This commit is contained in:
Aleksander Czajczynski
2024-10-17 15:04:53 +02:00
parent 60a10666f4
commit c88029eee9
9 changed files with 176 additions and 15 deletions

View File

@@ -731,6 +731,7 @@ DYNAMIC hb_osDriveSeparator
DYNAMIC hb_osError
DYNAMIC hb_osFileMask
DYNAMIC hb_osIs64bit
DYNAMIC hb_osIsWin11
DYNAMIC hb_osIsWin10
DYNAMIC hb_osIsWin2K
DYNAMIC hb_osIsWin7

View File

@@ -1213,9 +1213,11 @@ extern HB_EXPORT HB_BOOL hb_iswin7( void ); /* return HB_TRUE if OS == Windo
extern HB_EXPORT HB_BOOL hb_iswin8( void ); /* return HB_TRUE if OS == Windows 8 or newer */
extern HB_EXPORT HB_BOOL hb_iswin81( void ); /* return HB_TRUE if OS == Windows 8.1 or newer */
extern HB_EXPORT HB_BOOL hb_iswin10( void ); /* return HB_TRUE if OS == Windows 10 or newer */
extern HB_EXPORT HB_BOOL hb_iswin11( void ); /* return HB_TRUE if OS == Windows 11 or newer */
extern HB_EXPORT HB_BOOL hb_iswince( void ); /* return HB_TRUE if OS is Windows CE or Windows Mobile */
extern HB_EXPORT HB_BOOL hb_iswinver( int iMajor, int iMinor, int iType, HB_BOOL fOrUpper );
extern HB_EXPORT HB_BOOL hb_iswinsp( int iServicePackMajor, HB_BOOL fOrUpper );
extern HB_EXPORT HB_BOOL hb_iswinbuild( int iBuildNum, HB_BOOL fOrUpper );
extern HB_EXPORT HB_BOOL hb_printerIsReady( const char * pszPrinterName );