9ee0a5fd17
HB_HRBLOAD: support optional filename
Lailton
2025-12-14 00:03:27 -03:00
e22fb4686d
2025-12-14 03:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbzebra/datamtrx.c * extended GCC excessive diagnostics workaround also for GCC-15 to fix strict mode in CI
Przemysław Czerpak
2025-12-14 03:10:53 +01:00
1411ce7f9c
2025-12-13 19:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdate.h * src/common/hbdate.c * changed the following 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 ); to HB_BOOL hb_timeStrGetUTC( const char * szTime, int * piHour, int * piMinutes, int * piSeconds, int * piMSec, int * piUTCOffset, HB_BOOL * pfUTC ); HB_BOOL hb_timeStampStrGetUTC( const char * szDateTime, int * piYear, int * piMonth, int * piDay, int * piHour, int * piMinutes, int * piSeconds, int * piMSec, int * piUTCOffset, HB_BOOL * pfUTC ); Warning: incompatibility !!! New parameter HB_BOOL * pfUTC has been added. These functions are used by Harbour internally but if someone uses them in his code then he should add NULL to passed parameters. + added new C function: HB_BOOL hb_timeStampStrGetDTU( const char * szDateTime, long * plJulian, long * plMilliSec, HB_BOOL * pfUTC ); ; the parameter pfUTC is used to retrieve information if time string represents UTC time.
Przemysław Czerpak
2025-12-13 19:38:15 +01:00
5b05d5335d
2025-12-12 04:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/harbour.def * src/rtl/dateshb.c + added new PRG function which converts UTC time to local time: hb_UTCToTS( <tUTCTime> [, @<lUTCOffset> ) -> <tLocalTime>
Przemysław Czerpak
2025-12-12 04:09:11 +01:00
f9212001b4
2025-12-11 00:15 UTC+0100 Aleksander Czajczynski (hb fki.pl) * src/vm/macro.c * workaround MinGW/GCC 15+ excessive diagnostics in hb_macroTextSymbol() to fix strict mode in CI, manifested with either of those messages: error: 'memcpy' specified bound 4294967295 exceeds maximum object size 2147483647 [-Werror=stringop-overflow=] error: 'memcpy' accessing 4294967295 bytes at offsets 4 and 0 overlaps 6442450943 bytes at offset -2147483648 [-Werror=restrict]
Aleksander Czajczynski
2025-12-11 01:15:52 +01:00
437aabe97f
2025-12-10 17:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/d2i.c * use HB_SSL_CONST instead of explicit const for some ancient (<0.9.8) OpenSSL versions
Przemysław Czerpak
2025-12-10 17:00:13 +01:00
24b2f28431
2025-12-10 16:29 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.h * moved hb_EVP_MD_ptr_to_id() function from static to public area
Przemysław Czerpak
2025-12-10 16:29:20 +01:00
aa54fe630f
2025-12-04 16:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/cdpapi.c ! fixed hb_cdpUTF8StringPeek() to work with 0 based indexes and Unicode characters > 0xFFFF
Przemysław Czerpak
2025-12-04 16:39:21 +01:00
5573638fcc
2025-11-22 12:40 UTC+0100 Aleksander Czajczynski (hb fki.pl) * include/hbdefs.h ! fix undefined behaviour on signed int overflow in HB_GET_LE_INT24(), HB_GET_BE_INT24() macros reported by runtime sanitizer (LLVM -fsanitize-trap=undefined) panic: left shift of 255 by 24 places cannot be represented in type 'HB_I32' (aka 'int')
Aleksander Czajczynski
2025-11-22 12:40:36 +01:00
2b40bde2aa
2025-11-17 14:14 UTC+0200 Aleksander Czajczynski (hb fki.pl) [ci skip] ; sync macros in-line with Viktor's fork: 2015-06-16 01:41 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) * include/hbdefs.h + add HB_PUT_UINT64(), HB_GET_UINT64() macros
Aleksander Czajczynski
2025-11-17 14:14:13 +01:00
88ee43c2d0
2025-11-17 09:58 UTC+0200 Aleksander Czajczynski (hb fki.pl) + include/hbcrypto.h ! actually add the file, missed from the push...
Aleksander Czajczynski
2025-11-17 09:58:47 +01:00
4f8dd3730e
2025-11-16 22:10 UTC+0200 Aleksander Czajczynski (hb fki.pl) * config/win/zig.mk ! in some Zig tests, building for Windows from UNIX shell (MSYS2 or cross compiling) resource compiler "zig rc" preferred options passed with "-" instead of "/"
Aleksander Czajczynski
2025-11-16 22:10:49 +01:00
6475f3873a
2025-11-16 22:00 UTC+0200 Aleksander Czajczynski (hb fki.pl) ; import hbcrypto.h header that allows reusing core sha functions by contribs, coming from Viktor's fork: 2015-07-13 19:39 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) 2015-07-13 23:12 UTC+0200 Viktor Szakats (vszakats users.noreply.github.com) + include/hbcrypto.h + move sha2 and hmac/sha2 related headers to Harbour header directory so they can be used by other components. + export sha2 and hmac/sha2 low-level functions from Harbour dynlib * src/rtl/sha1.c * src/rtl/sha1.h * src/rtl/sha1hmac.c * src/rtl/sha1hmac.h * src/rtl/sha2.c * src/rtl/sha2hmac.c * src/rtl/hbsha1.c * src/rtl/hbsha1hm.c * src/rtl/hbsha2.c * src/rtl/hbsha2hm.c + use Harbour index type in low-level SHA code % drop high-level hack compensating for fixed sized low-level indexes in 64-bit builds
Viktor Szakats
2025-11-16 22:01:39 +01:00
53f3d24f41
2025-10-23 21:45 UTC+0200 Aleksander Czajczynski (hb fki.pl) * src/vm/extrap.c + added Windows ARM64 CPU register dump
Aleksander Czajczynski
2025-10-23 21:45:11 +02:00
89e1cd3e6a
2025-10-23 19:53 UTC+0200 Aleksander Czajczynski (hb fki.pl) [ci skip] * utils/hbmk2/hbmk2.prg * make the MSVC version detection based on paths a little less trustful. With rolling releases of these MS tools, it's more likely that "random" numbers will appear in dir names.
Aleksander Czajczynski
2025-10-23 19:53:04 +02:00
f4dda9a302
2025-10-21 13:20 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbssl/hbssl.hbc ! actually target VS 2017 for libcrypto, libssl
Aleksander Czajczynski
2025-10-21 13:20:05 +02:00
349a0167d5
2025-10-20 17:42 UTC+0200 Aleksander Czajczynski (hb fki.pl) [ci skip] * contrib/hbssl/hbssl.hbc ! actually lib* prefix should stay on win/msvc platform OpenSSL builds. Thanks to Mario H. Sabado for testing and feedback.
Aleksander Czajczynski
2025-10-20 17:41:40 +02:00
1b105c2d3d
2025-10-20 10:47 UTC+0200 Aleksander Czajczynski (hb fki.pl) * .github/workflows/windows-ci.yml * encourage to test OpenSSL
Aleksander Czajczynski
2025-10-20 10:46:48 +02:00
340dd2debd
2025-10-19 22:48 UTC+0200 Aleksander Czajczynski (hb fki.pl) * .github/workflows/windows-ci.yml + add openssl-devel to MSYS2 CI
Aleksander Czajczynski
2025-10-19 22:47:53 +02:00
d42d81d605
2025-10-19 22:12 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbssl/hbssl.h * contrib/hbssl/hbssl.hbm * contrib/hbssl/ssl.c ! HB_OPENSSL_HAS_APPLINK was never checked, defining HB_OPENSSL_NO_APPLINK didn't do anything
Aleksander Czajczynski
2025-10-19 22:12:22 +02:00
1465b9cc53
2025-10-16 22:04 UTC+0200 Aleksander Czajczynski (hb fki.pl) * utils/hbmk2/hbmk2.prg * remaining LEFTEQUAL() changed to hb_LeftEq() calls - removed LEFTEQUAL() macro
Aleksander Czajczynski
2025-10-16 22:04:38 +02:00
2818e4a4fb
2025-10-16 21:40 UTC+0200 Aleksander Czajczynski (hb fki.pl) * config/global.mk * follow up to previous, define __ARCH64BIT__ for .prg files if applicable during first stage done by GNU Make
Aleksander Czajczynski
2025-10-16 21:41:15 +02:00
3aef259d87
2025-10-16 21:09 UTC+0200 Aleksander Czajczynski (hb fki.pl) * utils/hbmk2/hbmk2.prg * updated approach to define __ARCH64BIT__ at .prg level when cross-compiling for such architecture. Thanks to Alexey Zapolskiy for noticing.
Aleksander Czajczynski
2025-10-16 21:09:59 +02:00
cfb7bdc22c
updated
Antonio Linares
2025-10-04 09:10:01 +02:00
a868adf053
removed duplicated linked libraries for darwin
Antonio Linares
2025-10-04 08:54:21 +02:00
75ff90a49d
2025-09-09 13:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h + added new types HB_WCHAR16 and HB_WCHAR32, existing type HB_WCHAR is mapped to HB_WCHAR16 (just like before)
Przemysław Czerpak
2025-09-09 13:50:42 +02:00
315887a395
2025-09-03 12:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/cdpapi.c + added fallback translation table for different variants of Latin character, now when translation is made between different encoding and the variant of Latin character does not exist in destination code page then it's translated to their base Latin form, i.e.: hb_utf8ToStr( "ĄĆĘŁŃÓŚŹŻąćęłńóśźż", "EN" ) -> "ACELNOSZZacelnószz"
Przemysław Czerpak
2025-09-03 12:21:01 +02:00
e679f6f8d6
2025-08-23 18:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbbmp/core.c ! fixed copy & past typos reported by Grigory Filatov. Thanks a lot.
Przemysław Czerpak
2025-08-23 18:49:07 +02:00
8319837387
2025-08-22 21:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/hbbmp/core.c + contrib/hbbmp/hbbmp.ch + contrib/hbbmp/hbbmp.h + contrib/hbbmp/hbbmp.hbc + contrib/hbbmp/hbbmp.hbp + contrib/hbbmp/hbbmp.hbx + contrib/hbbmp/readme.txt + contrib/hbbmp/tests/hbbmptst.prg + contrib/hbbmp/tests/hbmk.hbm + added new BMP image library for Harbour ; HBBMP is small library for Harbour dedicated to create and modify BMP images. It has not any 3rd party libs dependencies. See readme.txt for more information
Przemysław Czerpak
2025-08-22 21:50:57 +02:00
188c206440
2025-08-22 12:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbzebra/coredraw.c * contrib/hbzebra/hbzebra.hbx + added new PRG function: hb_zebra_getsize( <hZebra>, @<nWidth>, @<nHeight> ) -> <nError> it calculates size in points of the created barcode and returns 0 on success or error code
Przemysław Czerpak
2025-08-22 12:00:07 +02:00
1b633cd242
2025-08-17 18:27 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc1.cpp + added support for disabling title and frames of console window by hb_gtInfo( HB_GTI_WINTITLE, <lNoFrame> )
Przemysław Czerpak
2025-08-17 18:27:35 +02:00
57c06eb936
2025-07-19 19:44 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbhpdf/core.c + HPDF_GetPageByIndex( hDoc, nIndex ) --> hPage / NIL suggested by Luigi Ferraris
Aleksander Czajczynski
2025-07-19 19:44:04 +02:00
3148b2f681
2025-07-10 14:04 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbpost.hbm ! fix missing contrib/*/tests/files when using "make install" and HB_INSTALL_PREFIX. Thanks Jose Quintas for reporting (issue #310)
Aleksander Czajczynski
2025-07-10 14:04:06 +02:00
02b0606193
2025-07-09 15:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbclass.ch ! fixed class declaration to allow muliple PP run - thanks to Wen Sheng for slef conatin example
Przemysław Czerpak
2025-07-09 15:04:06 +02:00
0ff2885a66
2025-07-07 16:17 UTC+0200 Aleksander Czajczynski (hb fki.pl) * config/win/clang.mk + add resource compiler detection chain to first stage, now harbour.exe binary should also have manifest resource compiled in when clang is used. Previously second stage rc calling was implemented only in hbmk2.
Aleksander Czajczynski
2025-07-07 16:17:12 +02:00
b1b372ccc5
2025-07-07 13:42 UTC+0200 Aleksander Czajczynski (hb fki.pl) * .github/workflows/windows-ci.yml * libgd, qt5-base not available in MSYS x86
Aleksander Czajczynski
2025-07-07 13:42:24 +02:00
a5c88273b4
2025-07-05 20:20 UTC+0200 Aleksander Czajczynski (hb fki.pl) + config/wasm/global.mk + config/wasm/libs.mk + config/wasm/emcc.mk * utils/hbmk2/hbmk2.prg * contrib/hbrun/hbrun.hbp + add basic support for build Harbour into JS/WebAssembly using emscripten, using these settings: HB_PLATFORM=wasm HB_COMPILER=emcc HB_BUILD_3RDEXT=no
Aleksander Czajczynski
2025-07-05 20:20:38 +02:00
9e783a1319
2025-03-20 06:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/cdpapihb.c ! fixed hb_transalte() to not clear passed string when neither CPIN nor CPOUT is set
Przemysław Czerpak
2025-03-20 06:30:10 +01:00
1a4c4e6b43
2025-02-21 11:16 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbcurl/hbcurl.hbp + added Windows architecture specific libcurl names: libcurl-x64.dll, libcurl-arm64.dll as suggested by @carles9000 in #382
Aleksander Czajczynski
2025-02-21 11:16:08 +01:00
72a672a452
updated
Antonio Linares
2025-02-11 04:23:28 +01:00
91e06d0ff1
2025-02-03 12:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h * contrib/sddsqlt3/core.c - removed HB_WATCOM_64BUG macro - new versions of OW 2.0 supports 64bit integers in preprocessor directives - Many thanks to Aleksander who reported the problem on OpenWatcom V2 forum + added test for 64bit support in C preprocessor suggested by Aleksander
Przemysław Czerpak
2025-02-03 12:26:02 +01:00
f39adf0370
2025-02-03 10:50 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbcurl/core.c * formatting, use HB_IT_EVALITEM instead ( HB_IT_BLOCK | HB_IT_SYMBOL )
Aleksander Czajczynski
2025-02-03 10:50:33 +01:00
af085af261
2025-02-03 10:18 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbcurl/core.c ! reverted static keyword
Aleksander Czajczynski
2025-02-03 10:17:58 +01:00
bb8204e16c
minor typo updated
Antonio Linares
2025-02-03 09:14:34 +01:00
a6567d2061
HB_CURLOPT_WRITEFUNCTION implemented support
Antonio Linares
2025-02-03 09:10:08 +01:00
e7a3708177
updated
Antonio Linares
2025-02-03 08:58:23 +01:00
d2556c9375
updated for recent commit
Antonio Linares
2025-02-03 08:56:32 +01:00
7791626fba
2025-01-28 20:27 UTC+0100 Aleksander Czajczynski (hb fki.pl) * config/global.mk ! fixed OpenWatcom target platform autodetection to conform with progress OW is making, as it was kindly reported in issue #379
Aleksander Czajczynski
2025-01-28 20:27:38 +01:00
a8117990d8
2025-01-28 13:46 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/hbssl.h * contrib/hbssl/evppkey.c * contrib/hbssl/rsa.c * reenabled hb_RSA_par_remove() for old OpenSSL() versions (<=0.9.6) which do not support RSA_up_ref()
Przemysław Czerpak
2025-01-28 13:46:38 +01:00
08819f56f2
2025-01-28 12:23 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/bio.c ! do not leave dummy BIO declaration for OpenSSL < 1.1.0
Przemysław Czerpak
2025-01-28 12:23:23 +01:00
8013782a89
2025-01-28 12:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/bio.c ! use BIO_ADDR* in OpenSSL >= 1.1.0 and do not use it in LibreSSL
Przemysław Czerpak
2025-01-28 12:01:47 +01:00
f5a3c980fc
2025-01-28 11:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/hbssl.hbx * contrib/hbssl/bio.c ! fixed BIO_set_conn_int_port() to work with OpenSSL >= 1.1 (emulation with BIO_set_conn_port()) ! fixed BIO_get_conn_ip() to work with OpenSSL >= 1.1 (emulation with BIO_get_conn_address() and BIO_ADDR_hostname_string()) + added BIO_get_conn_address(), it returns HB_SOCKET compatible array with address
Przemysław Czerpak
2025-01-28 11:34:21 +01:00
23c23e1de5
Merge pull request #377
Aleksander Czajczynski
2025-01-27 09:55:17 +01:00
867b220bf4
2025-01-26 09:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/3rd/sqlite3/sqlite3.hbp * use -Wno-unknown-warning-option also in GCC MacOSX builds
Przemysław Czerpak
2025-01-26 09:57:37 +01:00
a75901b482
2025-01-26 09:37 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * .github/workflows/vm1-ci.yml * reenabled freebsd builds * be sure N_CPUS is always set * show compiler version before build
Przemysław Czerpak
2025-01-26 09:37:35 +01:00
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 **'
Przemysław Czerpak
2025-01-25 12:08:20 +01:00
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.
Przemysław Czerpak
2025-01-25 11:14:38 +01:00
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
Przemysław Czerpak
2025-01-25 10:19:58 +01:00
5baf6c7210
2025-01-24 19:12 UTC-0300 Mario Wan Stadnik (wanstadnik gmail.com)
Mario Wan Stadnik
2025-01-24 19:15:12 -03:00
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 aa4665f16fd9f37296b0
Aleksander Czajczynski
2025-01-24 15:02:38 +01:00
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.
Przemysław Czerpak
2025-01-24 13:28:10 +01:00