Commit Graph

19889 Commits

Author SHA1 Message Date
druzus
09e7ec96b7 Update vm1-ci.yml 2025-01-26 08:41:26 +01:00
Przemysław Czerpak
f6d2990002 2025-01-25 23:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/vm1-ci.yml
    * add path to sysctl call
2025-01-25 23:25:48 +01:00
Przemysław Czerpak
48c3d350a5 2025-01-25 17:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/vm1-ci.yml
    * enablkled freeimage
    * set HB_BUILD_TEST to ${{matrix.strictness}}
    * reenabled full strict build
2025-01-25 17:45:07 +01:00
Przemysław Czerpak
856c70d197 2025-01-25 17:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/bio.c
  * contrib/hbssl/evpciph.c
  * contrib/hbssl/evpenc.c
  * contrib/hbssl/evpmd.c
  * contrib/hbssl/ssl.c
    * updated to compile with newer versions of LibreSSL
2025-01-25 17:14:45 +01:00
Przemysław Czerpak
c114c98743 2025-01-25 12:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbcurl/core.c
    ! fixed curl_easy_getinfo( <curl>, CURLINFO_CERTINFO, <arg> ) call. The
      argument should be 'struct curl_certinfo **' not 'struct curl_slist **'
2025-01-25 12:08:20 +01:00
Przemysław Czerpak
d59d6d69db 2025-01-25 11:14 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbcurl/core.c
    ! declare buffer for CURLOPT_ERRORBUFFER as 'char *' instead of
      'unsigned char *', the exact buffer type is chcked in typecheck-gcc.h
      and 'unsigned char *' does not pass this test
    ; QUESTION:
      Why curl_easy_setopt( <pCurl>, HB_CURLOPT_ER_BUFF_SETUP, [<nBufSize>] )
      accepts <nBufSize> parameter?
      Buffer smaller then CURL_ERROR_SIZE means GPF and larger waste of memory.
      The only acceptable value for <nBufSize> is CURL_ERROR_SIZE.
      The allocate buffer should be initialized with '\0' otherwise we will
      have other GPF trap when user call curl_easy_er_buff_get() before any
      error is set. This bug was fixed in CURL 7.60.0.
2025-01-25 11:14:38 +01:00
Przemysław Czerpak
87b5139864 2025-01-25 10:19 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/vm1-ci.yml
  * .github/workflows/vm2-ci.yml
    * updated to always set number of CPUs for -j GNU make switch,
      using unlimited number of forks (-j without parameter) causes
      'Resource temporarily unavailable' error
2025-01-25 10:19:58 +01:00
druzus
65a6755f72 Update vm1-ci.yml 2025-01-24 23:41:49 +01:00
druzus
4f5358eca9 Update vm1-ci.yml 2025-01-24 23:29:18 +01:00
druzus
a4456fdc5b Update vm1-ci.yml 2025-01-24 23:15:13 +01:00
Aleksander Czajczynski
a30e2091db 2025-01-24 15:02 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* contrib/hbct/dattime3.c
    ! fixed in block variable declaration for strict ANSI C compat
    * code formatting
    ; both borrowed from Viktor's fork, thanks
      aa4665f16f
      d9f37296b0

  * src/rdd/dbcmd.c
    * note about C5.3/5.2 DBAPPEND( [<lUnlockAll>=.t.] ) updated again
      upon Przemek notification, thanks
2025-01-24 15:02:38 +01:00
Przemysław Czerpak
8d5afdcac1 2025-01-24 13:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/vm1-ci.yml
    * switched the runner from macos-latest to ubuntu-latest
      Support for macOS runners has been deprecated.
2025-01-24 13:28:10 +01:00
Przemysław Czerpak
81943b138c 2025-01-24 13:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/vm1-ci.yml
    * updated to recent cross-platform-actions releae
2025-01-24 13:23:16 +01:00
Przemysław Czerpak
bf146ab5ee 2025-01-24 12:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbwin/olecore.c
    * pacified false MSVC warning. It's very seldom situation that I'm adding
      code to pacify false compiler warnings anyhow in this case it cost in
      practice nothing so I decided to do that.

  * contrib/xhb/hboutdbg.c
  * src/rtl/gtcrs/gtcrs.c
    * NULL pointer casting to pacify warning

  * src/pp/hbpp.c
    % do not created new iLen variable but reuse the one previously declared

  * src/vm/classes.c
    % allocate puiMsgIdx as array of HB_USHORT items instead of HB_SYMCNT.
      This modification only reduces the memory usage and has no effect on
      number of accepted symbols.
    * changed 'HB_SYMCNT uiHashKey' to 'HB_SIZE nHashKey' to avoid explicit
      casting in the code
2025-01-24 12:32:32 +01:00
Przemysław Czerpak
8b21566675 2025-01-24 10:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/hbssl.hbm
    * added -Wno-error=deprecated-declarations to suppress errors in Solaris
      strict builds compiled with -Werror
      EVP_des_*() except EVP_des_ede3*()), EVP_desx_*(), EVP_rc[24]*() and
      EVP_md[245]*() are deprecated
2025-01-24 10:10:24 +01:00
Przemysław Czerpak
a403494eff 2025-01-24 09:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/ssl.c
  * contrib/hbssl/sslctx.c
    * protect access to SSLv3_*() functions with #ifndef OPENSSL_NO_SSL3_METHOD
2025-01-24 09:21:32 +01:00
Przemysław Czerpak
60448beec6 2025-01-24 07:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/vm2-ci.yml
    * reenabled solaris build with release 11.4-gcc
2025-01-24 07:02:31 +01:00
Przemysław Czerpak
b3ee8c65fb 2025-01-23 17:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbdate.h
  * src/common/hbdate.c
  * src/harbour.def
    + added new C functions:
         HB_BOOL hb_timeStrGetUTC( const char * szTime,
                                   int * piHour, int * piMinutes,
                                   int * piSeconds, int * piMSec,
                                   int * piUTCOffset );
         HB_BOOL hb_timeStampStrGetUTC( const char * szDateTime,
                                        int * piYear, int * piMonth,
                                        int * piDay, int * piHour,
                                        int * piMinutes, int * piSeconds,
                                        int * piMSec, int * piUTCOffset );
      They can decode timestamp value with ISO 8601 UTC offset.

  * src/common/hbdate.c
    * use hb_timeStampStrGetUTC() in hb_timeStampStrGetDT() and return UTC
      time if it was with UTC offset
      Now Harbour compiler accept timestamp strings with with UTC offset, i.e.
         ? t"2025-01-22 00:45 UTC+0100" // => 2025-01-21 23:45:00.000
      Also HB_StrToTS() supports it.

  * src/pp/hbpp.c
    * use new hb_timeStampStrGetDT() to decode timestamp from ChangeLog to
      build revision number. It also fixes bug with decoding negative UTC
      offsets.
2025-01-23 17:45:49 +01:00
Aleksander Czajczynski
4a4691653b 2025-01-23 11:47 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* contrib/hbcurl/core.c
  * contrib/hbcurl/hbcurl.ch
  * contrib/hbcurl/hbcurl.hbx
    * applied more cleanups, following Viktor Szakats guidance in hisrepo:
      6127603217
      - add `HB_CURLM_ERROR` to indicate error in hbcurl wrapper.
      - replace use of `HB_CURLM_INTERNAL_ERROR` with `HB_CURLM_ERROR`.
      - sync Harbour variable integer sizes with curl ones.
      - tidy up a variable scopes.
      - drop unused variable.
      - omit `hb_ret()` (it's a no-op).
      - formatting.
      - add functions to `hbcurl.hbx`.

    + add curl_ws_send()/curl_ws_recv() - WebSocket connectivity,
      borrowed from Viktor's fork, thanks again!
      2c71a5c940

  * src/rdd/dbcmd.c
    * note about C5.3 and Harbour extensions to
      DBAPPEND( [<lUnlockAll>=.t.] ), thanks Viktor

  * ChangeLog.txt
    ! typos
2025-01-23 11:48:57 +01:00
Przemysław Czerpak
81bf9807b5 2025-01-22 21:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* utils/hbmk2/hbmk2.prg
    * do not interrupt whole build process when optional dependency package
      is disabled explicitly by -depcontrol=<optdeppkg>:no

  * contrib/gtqtc/gtqtc.hbc
  * contrib/gtqtc/gtqtc.hbp
    * respect QT_SELECT envvar looking for QT dependencies
2025-01-22 21:08:08 +01:00
Przemysław Czerpak
0ca7dbe6f2 2025-01-21 09:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/windows-ci.yml
    * install freeimage only in 64-bit environment,
      it's not available in the 32-bit one

  * contrib/3rd/sqlite3/sqlite3.hbp
    * use -Wno-unknown-warning-option to pacify problems with old
      clang versions which do not understand -Wno-stringop-overread
2025-01-21 09:45:12 +01:00
Przemysław Czerpak
a72a8a5494 2025-01-21 09:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/linux-ci.yml
    * disabled global -Wno-error=... C compiler parameters
    * set HB_BUILD_TEST="${{matrix.strictness}}" envvar

  * .github/workflows/macos-ci.yml
  * .github/workflows/vm2-ci.yml
    * disabled global -Wno-error=... C compiler parameters
    * set HB_BUILD_TEST="${{matrix.strictness}}" envvar
    * reenabled hbfimage contrib library

  * .github/workflows/windows-ci.yml
    * reenabled hbfimage contrib library
2025-01-21 09:08:47 +01:00
Przemysław Czerpak
223bfa649e 2025-01-21 08:46 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/3rd/sqlite3/sqlite3.hbp
    * do not enable -Wno-error=stringop-overread C compiler flag in MS-Windows
      clang builds and HB_BUILD_TEST='strict' - this C clang version does not
      support it
2025-01-21 08:46:15 +01:00
Przemysław Czerpak
9e86079873 2025-01-21 08:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/linux-ci.yml
    * reenabled hbfimage contrinb library

  * src/vm/Makefile
  * src/vm/vmmt/Makefile
    * set -DHB_FM_STD_ALLOC C compiler parameter for HB_BUILD_TEST='strict'
2025-01-21 08:12:22 +01:00
Przemysław Czerpak
f4ea383593 2025-01-21 06:45 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* .github/workflows/windows-ci.yml
    * disabled global -Wno-error=... C compiler parameters
    * set HB_BUILD_TEST="${{matrix.strictness}}" envvar

  * contrib/3rd/sqlite3/sqlite3.hbp
    * set -Wno-error=stringop-overread C compiler parameter for GCC builds
      when HB_BUILD_TEST='strict'

  * contrib/hbzebra/hbzebra.hbp
    * set -Wno-error=array-bounds C compiler parameter for GCC builds
      when HB_BUILD_TEST='strict'
2025-01-21 06:45:38 +01:00
Przemysław Czerpak
b33cb05de5 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-21 01:11:37 +01:00
Przemysław Czerpak
248979e15b 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 10:43:30 +01:00
Przemysław Czerpak
9b70addc1e 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_*()
2025-01-20 01:00:27 +01:00
Przemysław Czerpak
c748a5a08d 2025-01-19 19:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/hbssl.h
    * set OPENSSL_API_COMPAT to 10100 instead of 10100 to reduce conflicts
      with OPENSSL_CONFIGURED_API
2025-01-19 19:38:34 +01:00
Przemysław Czerpak
8ef93ac2a1 2025-01-19 14:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/dbfcdx/dbfcdx1.c
    % Removed always false dummy condition. For
         pPage->TagParent->MaxKeys >= 2 &&
         ( ( iKeys + pPage->TagParent->MaxKeys - 1 )
                   / pPage->TagParent->MaxKeys ) == 1
      the expression
         iKeys > ( ( pPage->TagParent->MaxKeys * 3 ) >> 1 )
      was alwas false.
      As side effect this modification pacifies the buggy GCC warnings.
2025-01-19 14:33:34 +01:00
Przemysław Czerpak
a40aa4baf0 2025-01-19 02:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/hbssl.h
  * contrib/hbssl/rsa.c
    * renamed hb_RSA_par_free() to hb_RSA_par_remove()

  * contrib/hbssl/evppkey.c
    * few code clenups

  * contrib/hbssl/x509.c
    ! use GC pointer items instead of raw ones
2025-01-19 02:08:01 +01:00
Przemysław Czerpak
fe96da68f6 2025-01-18 09:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/evp.c
    * clear key and iv buffers before passing them to EVP_BytesToKey()
      otherwise some uninitialized bytes are accessed and valgrind reports
      uninitialized memory access

  * contrib/hbssl/evpciph.c
    ! fixed typo in index in my previous commit

  * contrib/hbssl/tests/digest.prg
    ! use OPENSSL_VERSION_NUMBER() instead OPENSSL_VERSION() to retrieve
      OpenSSL version number

  * contrib/hbssl/tests/inetssl.prg
    * updated to use 2048 RSA certificates instead of 1024 ones which are
      no more supported by modern OpenSSL libraries

  * contrib/hbssl/tests/pem.prg
    * cleaned output
2025-01-18 09:33:49 +01:00
Przemysław Czerpak
60e9a0e663 2025-01-18 05:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/rdd/dbfnsx/dbfnsx1.c
  * src/rtl/dates.c
  * src/rtl/hbtoken.c
    ! pacified few stupid warnings
2025-01-18 05:03:36 +01:00
Przemysław Czerpak
0fc41962a8 2025-01-18 04:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/bio.c
    ! added missing BIO_free() call in HB_BIO destructor
    ! fixed BIO_free() function to properly operate on HB_BIO structure

  * contrib/hbssl/evp.c
    ! fixed EVP_PKEY_free() to work with Harbour GC pointer items instead of
      raw pointer items

  * contrib/hbssl/evpciph.c
    ! fixed EVP_SealInit() and EVP_OpenInit() to work with Harbour GC pointer
      items instead of raw pointer items

  * contrib/hbssl/hbssl.h
  * contrib/hbssl/rsa.c
  * contrib/hbssl/evppkey.c
    + added new C functions:
         void hb_RSA_par_free( int iParam );
         EVP_PKEY * hb_EVP_PKEY_get( PHB_ITEM pItem );
         void hb_EVP_PKEY_free( PHB_ITEM pItem );

  * contrib/hbssl/evppkey.c
    ! fixed EVP_PKEY_assign_RSA to work with RSA Harbour GC pointer
      item instead of raw pointer items

  * contrib/hbssl/pem.c
    ! redirect old dummy functions to current ones using Harbour GC pointer
      items:
         PEM_read_bio_PrivateKey() => PEM_read_PrivateKey()
         PEM_read_bio_PUBKEY()     => PEM_read_PUBKEY()
         PEM_read_bio_X509()       => PEM_read_X509()
         PEM_read_bio_X509_AUX()   => PEM_read_X509_AUX()
      Now they should work.

  ; above are only few fixes for chosen problems and still there are many
    others, most of HBSSL code should be rewritten from scratch to work
    with OpenSSL 3.x API
2025-01-18 04:59:57 +01:00
Przemysław Czerpak
b462e89e90 2025-01-18 04:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbssl/bio.c
    ! added missing BIO_free() call in HB_BIO destructor
    ! fixed BIO_free() function to properly operate on HB_BIO structure

  * contrib/hbssl/evpciph.c
    ! accept EVP_KEY Harbour pointer items in EVP_SealInit()

  * contrib/hbssl/hbssl.h
  * contrib/hbssl/rsa.c
  * contrib/hbssl/evppkey.c
    ! accept EVP_KEY Harbour pointer items in EVP_PKEY_assign_RSA()

  ; above are only few fixes for chosen problems and still there are many others
  ; most of HBSSL code should be rewritten to work with OpenSSL 3.0 API
2025-01-18 04:58:36 +01:00
DIEGO H FAZIO
b1ed85024c 2025-01-16 01:00 UTC+0100 Fazio Diego (diegohfazio gmail.com)
* contrib/hbcurl/hbcurl.ch
    + added HB_CURLOPT_ER_BUFF_SETUP
      curl_easy_setopt( curl, HB_CURLOPT_ER_BUFF_SETUP ) <- Initialize ERRORBUFFER
  * contrib/hbcurl/core.c
    + added PRG functions:
      read error from ERRORBUFFER
      see https://curl.se/libcurl/c/CURLOPT_ERRORBUFFER.html
      curl_easy_er_buff_get( curl ) -> cErrorBuffer
2025-01-17 12:19:53 +01:00
Aleksander Czajczynski
bdc240ed99 2025-01-10 10:15 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/rtl/listbox.prg
    * merged #371 from Kamil, thanks for the patch.
      Applied minor reformat .NOT. -> ! and added a comment
      about buggy ListBox:hitTest() on no-box dropdown in
      Cl*pper 5.3.
2025-01-10 10:15:24 +01:00
Aleksander Czajczynski
d210b77c23 Merge branch 'listbox-fix' of https://github.com/kamilprzyb2/harbour-core 2025-01-10 10:03:17 +01:00
Kamil Przybylski
9fe5df8f5c 2025-01-09 12:00 UTC+0100 Kamil Przybylski (kprzybylski quay.pl)
* src/rtl/listbox.prg
    ! fixed nTop not being incremented in ListBox:hitTest() for no-box dropdown
    * replaced inconsistent references to ::nTop with nTop
    * renamed variables to better reflect their role
2025-01-09 12:00:03 +01:00
FiveTech Software
56bd63589b Merge pull request #371 from kamilprzyb2/listbox-fix
Fix nTop not being assigned properly in ListBox:hitTest()
2025-01-08 15:24:48 +01:00
Kamil Przybylski
2b6acca9ca 2025-01-08 13:14 UTC+0100 Kamil Przybylski (kprzybylski quay.pl)
* src/rtl/listbox.prg
    ! fixed nTop variable not being assigned properly in ListBox:hitTest()
2025-01-08 13:14:11 +01:00
Aleksander Czajczynski
c2870ac7d8 2025-01-07 22:49 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* contrib/hbcurl/hbcurl.ch
    * updated HB_CURLOPT_SSL_OPTIONS: HB_CURLSSLOPT_*

    + added HB_CURLMSG_RESP_HANDLE, HB_CURLMSG_RESP_HPOS
      mappings of array elements returned by
      curl_multi_info_read( <hMulti>[, <aHandles> ]) -> <aResults>

  * contrib/hbcurl/core.c
    * adapted @emazv72 contribution from:
      https://github.com/vszakats/hb/pull/344
      Many thanks, it could be useful for managing multiple transfers,
      by extending some kind of Inkey() loop or in many other
      scenarios.

    + added curl lib version guards

    * minor code and code formattings

    + extended function
      curl_multi_info_read( <hMulti>[, <aHandles> ]) -> <aResults>
      with a possibility to return real GC pointer of specific
      transfer related to reported event. <aHandles> should be
      specified if this is expected.

  + contrib/hbcurl/tests/multi.prg
    + demo of the additions
2025-01-07 22:49:07 +01:00
Emanuele Zavallone
60663791e1 2025-01-07 21:43 UTC+0100 Emanuele Zavallone (emanuele.zavallone gmail.com)
* contrib/hbcurl/easy.c
  * contrib/hbcurl/hbcurl.ch
    + added multi interface implementation
2025-01-07 22:47:43 +01:00
Aleksander Czajczynski
cb9888c76d 2025-01-07 12:24 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/common/hbver.c
    * indent cleanup

  * src/rtl/filesys.c
  * src/rtl/fssize.c
    ! restore dynamic calling of GetFileAttributesEx() on
      Windows (significant only on very old systems)
2025-01-07 12:24:59 +01:00
Aleksander Czajczynski
21ea321f0a 2025-01-02 14:33 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* config/global.mk
  * config/win/clang-noauto.mk
  * config/win/clang.mk
    * supplemented config for Windows clang cross compilers
      distributed in multilib fashion, like Martin Storsjo's:
      https://github.com/mstorsjo/llvm-mingw

    + HB_CCPREFIX= support for clang on Windows, you can build
      ARM64 Harbour from AMD64 hosts using mentioned toolchain:
      set PATH=C:\llvm-mingw\bin;%PATH%
      set HB_COMPILER=clang
      win-make (build for your host first)
      set HB_CCPREFIX=aarch64-w64-mingw32-
      set HB_HOST_BIN=<HarbourPath>\bin\win\clang\ (if not autodetected)
      win-make

    ; cross compiling from Unix hosts is not yet tested, but
      looks very close to be possible

    ! fixed typo's

  * utils/hbmk2/hbmk2.prg
    * changed llvm-ar call to also respect HB_CCPREFIX
2025-01-02 14:32:10 +01:00
Aleksander Czajczynski
a23ea4904f 2024-12-29 00:28 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* src/rtl/hbproces.c
    ! in process creating functions like hb_processRun(), *Open(),
      on Android: don't use setuid( getuid() ) method for resetting
      attributes as it rises "Bad system call" and the process is not
      executed. This fixes building Harbour in hbmk2 stage on Android
      device itself (for example using Termux) and can fix deploying
      multi-process Android apps. For devices older than Android 8,
      where the kernel was not hardened, please report any regresions,
      if you have such multi-process deployments.

  * ChangeLog.txt
    % stripped spaces before EOLs
2024-12-29 00:27:36 +01:00
Aleksander Czajczynski
ce1bc20399 2024-12-19 10:24 UTC+0100 Aleksander Czajczynski (hb fki.pl)
* contrib/rddsql/sqlbase.c
    % cleanup unnecessary braces

  * ChangeLog.txt
    + missing entry from pull request #364
2024-12-19 10:25:11 +01:00
FiveTech Software
1e0c5c64c6 Merge pull request #367 from EricLendvai/rddsql_add_timestamp_support
On branch rddsql_add_timestamp_support
2024-12-19 07:05:43 +01:00
Eric Lendvai
076589f03a On branch rddsql_add_timestamp_support
Changes to be committed:
modified:   ChangeLog.txt
modified:   contrib/rddsql/sqlbase.c
modified:   contrib/rddsql/sqlmix.c

+ added support to timestamp field type.
  You can now use "@" in DbCreate as the timestamp field type.
  Thanks to Grigory Filatov for fixing crash!
2024-12-18 21:55:59 -08:00
Przemysław Czerpak
79c4f25b39 2024-12-17 03:07 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/gtqtc/gtqtc.hbc
    ! fixed dependency macros - hbmk2 defines HB_HAS_* only for optional packages
2024-12-17 03:07:16 +01:00