/* Encoding: UTF-8 (No BOM) Notation (in 5th column): * Change ! Fix % Optimize + Add - Remove ; Comment Entries may not always be in chronological/commit order. See license at the end of file. */ 2022-06-30 11:27 UTC Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.diff * contrib/hbcrypto/3rd/ed25519/ed25519.h * contrib/hbcrypto/3rd/ed25519/sign.c * contrib/hbcrypto/ed25519.c * contrib/hbcrypto/tests/ed25519.prg ! HB_ED25519_SIGN()/ed25519_sign(): fix vulnerability by deriving the public key from the passed secret key instead of expecting a matching pair by the caller. Both of these functions now ignore the passed public key value. HB_ED25519_SIGN() can now be called with two parameters: hb_ed25519_sign( , ) --> The three-parameter calling mode is deprecated. Ref: https://github.com/MystenLabs/ed25519-unsafe-libs ! also fix the name of a local variable in HB_ED25519_GET_PUBKEY(). ! also fix function names in comments ! also fix a warning in tests/ed25519.prg 2021-09-26 11:27 UTC Viktor Szakats * docs/* - docs/_includes/svg/LICENSE-ionicons.txt + docs/_includes/svg/LICENSE-remixicon.txt * docs/_includes/svg/ii-book-outline.svg -> docs/_includes/svg/ri-book-line.svg * docs/_includes/svg/ii-brush-outline.svg -> docs/_includes/svg/ri-brush-line.svg * docs/_includes/svg/ii-build-outline.svg -> docs/_includes/svg/ri-tools-line.svg * docs/_includes/svg/ii-bulb-outline.svg -> docs/_includes/svg/ri-lightbulb-line.svg * docs/_includes/svg/ii-chatbubble-outline.svg -> docs/_includes/svg/ri-chat-3-line.svg * docs/_includes/svg/ii-cog-outline.svg -> docs/_includes/svg/ri-dashboard-line.svg * docs/_includes/svg/ii-cube-outline.svg -> docs/_includes/svg/ri-bubble-chart-line.svg * docs/_includes/svg/ii-download-outline.svg -> docs/_includes/svg/ri-download-2-line.svg * docs/_includes/svg/ii-globe-outline.svg -> docs/_includes/svg/ri-global-line.svg * docs/_includes/svg/ii-language-outline.svg -> docs/_includes/svg/ri-translate.svg * docs/_includes/svg/ii-laptop-outline.svg -> docs/_includes/svg/ri-macbook-line.svg * docs/_includes/svg/ii-list-outline.svg -> docs/_includes/svg/ri-list-unordered.svg * docs/_includes/svg/ii-newspaper-outline.svg -> docs/_includes/svg/ri-newspaper-line.svg * docs/_includes/svg/ii-pencil-outline.svg -> docs/_includes/svg/ri-edit-line.svg * docs/_includes/svg/ii-person-circle-outline.svg -> docs/_includes/svg/ri-user-3-line.svg * docs/_includes/svg/ii-phone-portrait-outline.svg -> docs/_includes/svg/ri-smartphone-line.svg * docs/_includes/svg/ii-server-outline.svg -> docs/_includes/svg/ri-database-2-line.svg * docs/_includes/svg/ii-settings-outline.svg -> docs/_includes/svg/ri-settings-3-line.svg * docs/_includes/svg/ii-warning-outline.svg -> docs/_includes/svg/ri-alert-line.svg * switch to remixicon icons These don't need patching to work correctly. 2021-09-15 03:52 UTC Viktor Szakats * docs/_includes/footer.html * docs/tshirt.md * delete some instances of the word 'project' 2021-09-15 03:48 UTC Viktor Szakats - docs/_includes/svg/fa-brands-creative-commons-by.svg - docs/_includes/svg/fa-brands-creative-commons-sa.svg - docs/_includes/svg/fa-brands-creative-commons.svg - docs/_includes/svg/LICENSE-fontawesome.txt * docs/_includes/cc.by-sa.svg * docs/_includes/small.by-sa.svg * docs/_includes/footer.html * docs/css/main.css * replace cc-by-sa logo with the official one * cleanup cc-by-sa logos 2021-09-15 01:43 UTC Viktor Szakats * docs/_includes/svg/ii-build-outline.svg ! fix ionicon to work in both dark and light modes in inherited color 2021-09-15 01:22 UTC Viktor Szakats + docs/_includes/svg/LICENSE-fontawesome.txt + include FontAwesome license 2021-09-15 01:13 UTC Viktor Szakats * docs/_includes/header.html * docs/_layouts/example.html * docs/crew.html * docs/index.html * docs/mailing.md * docs/logo.md + docs/_includes/svg/LICENSE-ionicons.txt * docs/_includes/svg/fa-solid-*.svg -> docs/_includes/svg/ii-*-outline.svg * replace FontAwesome icons with ionicons Delete elements from ionicons, delete 'stroke:#000;' styles, and apply svgcleaner to them. 2021-09-15 00:35 UTC Viktor Szakats * docs/_data/news.yml * docs/_includes/footer.html * docs/_includes/header.html * docs/_includes/svg/fa-*.svg - docs/_includes/svg/fa-brands-css3-alt.svg - docs/_includes/svg/fa-brands-html5.svg * docs/contribs.md * docs/css/main.css * docs/forks.md * docs/index.html * docs/logo.md * set 'stroke:' for future SVGs that may need it ! leave comments in SVGs when minimizing them, to retain possible license info * delete 'New' tag from reference-guide menu entry * slightly reduce the number of colors * minor text tweaks - delete commented lines from footer, along with unused logos 2021-09-13 13:48 UTC Viktor Szakats * docs/_includes/header.html - docs/_includes/svg/fa-solid-cloud-download-alt.svg + docs/_includes/svg/fa-solid-download.svg * use standard download icon 2021-07-28 23:54 UTC Viktor Szakats * bin/commit.hb - stop including the email address in generated ChangeLog entry headers (it's enough to have it in the git commit info) * bin/hb-uncrustify.cfg * delete name * contrib/hbct/readme.txt * sync name format with other files 2021-05-21 12:15 UTC Viktor Szakats * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/stress.prg * contrib/hbfbird/tests/test.prg * Revert 2021-05-20 01:39 UTC It is the default Firebird password. - contrib/hbfbird/tests/testapi.c - contrib/hbfbird/tests/testapi.hbp - remove generic Firebird API test code 2021-05-20 02:56 UTC Viktor Szakats - docs/_includes/svg/fa-solid-heart.svg - docs/images/fa-brands.svg - docs/images/fa-solid.svg % delete unused svg 2021-05-20 01:51 UTC Viktor Szakats * contrib/hbfbird/tests/testapi.c * update example password 2021-05-20 01:48 UTC Viktor Szakats * package/mpkg_win_ci_refresh_curl.sh * update curl-for-win build location 2021-05-20 01:39 UTC Viktor Szakats * contrib/hbfbird/tests/simple.prg * contrib/hbfbird/tests/stress.prg * contrib/hbfbird/tests/test.prg * update example password 2021-05-20 01:09 UTC Viktor Szakats * docs/forks.md + sync with PR merged (+ fix) to harbour doc repo https://github.com/harbour/harbour.github.io/pull/4 2021-05-20 01:07 UTC Viktor Szakats * package/upd_doc.sh * update branch name for external Harbour repos 2021-05-20 00:27 UTC Viktor Szakats * .appveyor.yml * contrib/hbdoc/_html.prg * ChangeLog.txt * contrib/hbyaml/tests/test.yml * doc/howtovcs.txt * docs/_config.yml * docs/_includes/header.html * docs/contribs.md * docs/index.html * docs/logo.md * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh * package/RELNOTES.md * README.md * rename 'master' branch to 'main' for the Harbour source repo 2021-05-20 00:17 UTC Viktor Szakats * package/upd_doc.sh + generalize branch names 2021-05-20 00:08 UTC Viktor Szakats * docs/_config.yml * docs/_includes/header.html * docs/crew.html * docs/index.html % remove redundancy from config values 2021-05-11 03:20 UTC Viktor Szakats * contrib/hbdoc/_base.prg * contrib/hbdoc/_html.prg * contrib/hbdoc/hbdoc_assets.yml * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.hbp * contrib/hbdoc/hbdoc.prg * contrib/hbdoc/ng2json.hb * contrib/hbdoc/ngjson2hbdoc.hb * contrib/hbdoc/po/hbdoc.en.po * contrib/hbdoc/po/hbdoc.pt_BR.po * contrib/hbdoc/hbdoc_assets_gen_sri.hb -> contrib/hbdoc/hbdoc-assets-gen-sri.hb * make branch name a global variable * grammar in comment * move base URL value to the generator object + add dark mode support + add support to control how to link/use external assets: - local: download at build-time and host locally - remote: link to the external distribution URL This mode was used previously for all external assets. - inline: embed asset inside the generated HTML This can be controlled on a package and file level in hbdoc_assets.yml. + change default asset link mode to: local (was: remote) This will improve privacy by avoiding requests to 3rd party servers when loading a page. It will also let the pages work when loaded locally and will require minimal CSP policy exceptions when hosted on a webserver. Note: The runner functionality will still make requests to the runner server when a "Run" button is clicked. % inline all small external assets * Upper()/Lower() -> hb_asciiUpper()/hb_asciiLower(), where the result is compared/matched to a literal lower-/uppercase string. This update ensures that these comparisons work regardless of the selected "culture", or in Cl*pper/Harbour terms: codepage. The classic offending case is "TRISO" (or any "TR*"), where Lower( ".INI" ) will result in ".ını", not the expected ".ini". There are other offenders, such as hb_LeftEqI(), likely hb_AtI() and any other function that does culture-dependent case changes which is then used in comparisons with literals. These should also be fixed in the future. * minimize user agent header + replace flags representing languages with the ISO code of the them + update Aleksander's Harbour runner playground to v2 * update external resources * switch to jsdelivr % use 3rd parameter of hb_HAutoAdd() to specify default value (This option has been available since 2013) Ref: 2013-03-06 12:17 UTC+0100 + add start YAML marker to make yamllint happy * remove fontawesome which is used by /docs but used differently since its 5.x version ! fix see-also dropdown menu being displayed under the text * add block-all-mixed-content CSP for older browsers 2020-11-14 01:40 UTC Viktor Szakats * * * URL and README updates 2020-10-18 08:15 UTC Viktor Szakats * docs/_data/news.yml * docs/forks.md * sync some URL fixes 2020-10-15 13:41 UTC Viktor Szakats * docs/* * catch up with missing changes: - update links, - dark mode support (experimental) - switch to free fontawesome icons 2019-07-15 13:27 UTC Viktor Szakats * docs/* * catch up with missing changes, update links, typos, etc. 2017-12-20 13:40 UTC Viktor Szakats * package/mpkg_win_ci.sh ! restore previous checksums for libssh2. The binaries are locked by bintray after 180 days, causing the latest binary uploads to fail. 2017-12-20 12:51 UTC Viktor Szakats * package/mpkg_win_dl.sh ! step back from brotli, till its built in upstream master 2017-12-20 12:31 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbexpat/3rd/expat/loadlibr.c * contrib/hbexpat/3rd/expat/xmlparse.c * casting for C++ builds * contrib/hbexpat/3rd/expat/expat.diff ! rediffed with hbmk2 ../../../../bin/3rdpatch.hb -rediff ; [SKIP FROM MERGE - 3.4 doesn't force C++ mode on C projects, making local patches like above unnecessary.] 2017-12-20 10:51 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/_hbconf.h * contrib/hbexpat/3rd/expat/expat.diff ! untested fix for watcom os2/dos platform. Move some logic to local file to avoid touching upstream code. 2017-12-20 10:48 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/_hbconf.h * contrib/hbexpat/3rd/expat/expat.diff ! untested fix for one of the WinCE issues. This one doesn't require to maintain custom patches, using PP. It also fixes all future getenv() call made from this non-portable code. 2017-12-20 11:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbexpat/3rd/expat/loadlibr.c ! define _UNICODE macro when UNICODE is also defined - it should be fixed in EXPAT core code. It fixes Windows builds. ; [SKIP FROM MERGE - 3.4 hbmk2 does this automatically.] * contrib/hbexpat/3rd/expat/xmlparse.c ! restored fix for WINCE builds ; [SKIP FROM MERGE - 3.4 doesn't maintain expat patches, need to submit upstream.] * contrib/hbtip/client.prg ! restored #undef __HBEXTREQ__ before #include "hbssl.hbx". It fixes non SSL builds and binding HBTIP with all HBSSL functions. ; [SKIP FROM MERGE - 3.4 hbmk2 does this automatically.] * contrib/hbexpat/hbexpat.hbc * added /usr/local/opt/expat/lib library path to darwin builds (synced with Viktor's 3.4 branch) 2017-12-19 21:24 UTC Viktor Szakats * README.md + add HB_USER_DCFLAGS 2017-12-19 21:42 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/darwin/clang.mk * config/darwin/gcc.mk * config/darwin/global.mk * config/darwin/icc.mk * config/darwin/libs.mk * utils/hbmk2/hbmk2.prg * synced with Viktor's modifications in 3.4 branch: ; 2017-11-11 13:14 UTC Viktor Szakats: * switch to call the C compiler to link dynamic libs on darwin, which is the recommended way to do this, as suggested by Apple. This also aligns the platform better with other *nix platforms. 'libtool' was used before, but that started having intermittent issues around Sierra (mitigated by disabling parallel build), which returned and got worse in High Sierra (with no remedy). The symptom was 'ld: file not found: ' errors with the filename not shown or appearing as garbage, then a 'libtool: internal link edit command failed'. This was reported and will be fixed in a future Xcode release. Ref: Apple Radar 34944562 ; [SKIPPED FROM MERGE] Synced changes cover more than the above single commit. * config/global.mk * config/rules.mk + added new user build envvar HB_USER_DCFLAGS It allows to set C compiler parameters to compile .c code for dynamic libraries. * src/rtl/hbsocket.c ! fixed fcntl(F_SETFL) 3rd parameter in hb_socketSetBlockingIO(), By mistake I used long instead of int. it created problem on big endian 64-bit machines. * include/hbgtcore.h * src/rtl/hbgtcore.c + added new C functions for GT programmers: void hb_gt_BaseUnlock( PHB_GT pGT ); void hb_gt_BaseLock( PHB_GT pGT ); void hb_gtSleep( PHB_GT pGT, double dSeconds ); * src/rtl/hbgtcore.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtdos/gtdos.c * src/rtl/gtgui/gtgui.c * src/rtl/gtos2/gtos2.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/gtsln.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.c * use new functions to unblock GT when low level TONE() code is executed. It allows other threads to access shared GT driver when one of them executes TONE() * contrib/hbexpat/hbexpat.hbx * regenerated automatically ; [SKIPPED FROM MERGE] ; fix typos 2017-12-15 19:53 UTC+0100 Aleksander Czajczynski (hb fki.pl) * ChangeLog.txt ! typo 2017-12-14 14:20 UTC+0100 Aleksander Czajczynski (hb fki.pl) * contrib/hbamf/amfenc.c * update amf3_Encode() serialize function with great idea of Przemek implemented recently in hb_Serialize(). Checking garbage collector reference count can save time here too, unique arrays and hashes won't be indexed as references. 2017-12-13 19:31 UTC Viktor Szakats * contrib/hbcurl/hbcurl.hbc + add brotli for Windows curl (commented yet) 2017-12-12 11:50 UTC Viktor Szakats * include/hbapi.h ! fix typos in merged comments 2017-12-12 12:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnf/fttext.c * contrib/hbnf/hbnf.hbx * synced with Viktor's modifications: - use FILE API instead of FS API - protection against GPF when FT area has no valid file handle - alternative function names which exceeds 10 character Cl*pper limit ! fixed handle and memory leak when new file is open in FT area which already has open file * include/harbour.hbx * src/harbour.def * src/vm/hvm.c + added new PRG function: __vmItemRefs( <xVal> ) -> <nRefs> Please remember that passed <xVal> parameter increases the counter so if you want to eliminate it then pass it by reference, i.e.: aVal := {} ? __vmItemRefs( aVal ), __vmItemRefs( @aVal ) * include/hbapi.h * src/harbour.def * src/vm/arrays.c * src/vm/codebloc.c * src/vm/hashes.c + added new C functions: HB_COUNTER hb_arrayRefs( PHB_ITEM pArray ); HB_COUNTER hb_hashRefs( PHB_ITEM pHash ); HB_COUNTER hb_codeblockRefs( PHB_ITEM pItem ); * src/rtl/itemseri.c * added new internal function to replace 3 times repeated code for resizing array of references. % use new functions to check number of references to hashes, arrays and objects to ignore in system detecting multiple references the items which have reference counter smaller then 2. Such items cannot have multiple references. In practice this modification resolves the time problem when very big items are serialized to the level comparable to HB_SERIALIZE_IGNOREREF so now this flag is useless though I'll keep it because only in such mode serialization code can be used as filter in streams. I also created binary tree to store references but after this modifications it is not necessary so I decided to not commit it yet. Please only remember that practice limit of such serialization code is created by physical memory attached by OS to the process. When this limit is exceed then swap is actively used what completely kill the performance. The CPU usage is reduced to less then 1% because it waits for restoring swapped memory pages by extremely heavy used disks. In such case I cannot help. 2017-12-11 20:05 UTC Viktor Szakats * contrib/hbcurl/hbcurl.hbp * contrib/hbssl/hbssl.hbp * contrib/hbtip/WARNING.txt * ChangeLog.txt * docs/forks.md * docs/index.html * package/mpkg_win_ci_refresh_deps.sh * README.md * rename github.com/vszakats/harbour-deps -> github.com/vszakats/curl-for-win * rename AppVeyor username vsz -> vszakats 2017-12-09 23:37 UTC Viktor Szakats * package/mpkg_win_ci_refresh_deps.sh * package/mpkg_win_ci.sh * package/mpkg_win_dl_mxe.sh ! fix shellcheck warnings 2017-12-07 13:25 UTC Viktor Szakats * contrib/hbnetio/tests/netiot03.prg * contrib/hbnetio/tests/netiotst.prg * minor cleanups 2017-12-04 10:52 UTC Viktor Szakats * package/mpkg_win_ci_refresh_deps.sh * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh + prepare for brotli compression in curl 2017-12-01 19:04 UTC Viktor Szakats * contrib/hbcurl/hbcurl.ch + add existing (HB_CURL_CURLSSH_AUTH_AGENT) and upcoming in next libcurl version (HB_CURL_CURLSSH_AUTH_GSSAPI) constants 2017-11-29 12:57 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.57.0 2017-11-28 15:53 UTC Viktor Szakats * src/3rd/png/Makefile * src/vm/Makefile % delete references to formerly deleted tcc and dmc compilers 2017-11-28 15:45 UTC Viktor Szakats - config/win/xcc.mk * config/global.mk * contrib/hbwin/win_dlg.c * README.md * src/Makefile * src/3rd/png/Makefile * src/3rd/zlib/gzlib.c * src/3rd/zlib/zlib.diff * src/common/hbffind.c * src/common/hbfopen.c * src/common/hbprintf.c * src/rdd/dbffpt/dbffpt1.c * src/rtl/hbsocket.c * src/rtl/sha1.c * src/vm/Makefile * src/vm/dynsym.c * utils/hbmk2/hbmk2.prg * utils/hbmk2/doc/*.md - delete support for XCC compiler. XCC is a commercial fork of the closed-source pocc compiler, that is/was bundled with the xHarbour commercial compiler package. Its latest version matches the state of pocc as of 2005, version 3.00.x. Meaning, it's old, rather buggy, and creates slow code. 2017-11-27 13:02 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg % delete all logic to automatically setup/detect C compilers found in 'comp' subdir. These were unused after recent updates. 2017-11-27 12:59 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix unused function warning 2017-11-27 09:51 UTC Viktor Szakats * bin/make.hb * utils/hbmk2/hbmk2.prg * utils/hbmk2/po/hbmk2.el.po * utils/hbmk2/po/hbmk2.en.po * utils/hbmk2/po/hbmk2.pt_BR.po * minor cleanup 2017-11-27 00:03 UTC Viktor Szakats * contrib/hbnf/fttext.c * cleanup boolean error values/types 2017-11-26 19:04 UTC Viktor Szakats * contrib/hbnf/fttext.c ! fix possible GPFs with areas that have no valid file handle 2017-11-25 18:08 UTC Viktor Szakats * bin/make.hb * config/abstr/wasm.mk * config/common/clang.mk * config/cygwin/gcc.mk * config/darwin/gcc.mk * config/global.mk * config/linux/gcc.mk * config/wce/mingwarm.mk * config/wce/msvcarm.mk * config/win/mingw.mk * config/win/msvc.mk * config/win/pocc.mk * src/3rd/zlib/Makefile % ignore user-supplied HB_COMPILER_VER value in the GNU Make system. It has been an undocumented setting since 2015. Harbour's build system is best to auto-detect this and the logic is mature enough by now to not necessitate a manual knob. If it fails anyhow, the build logic needs to be fixed/updated. This should avoid mistakes in matching HB_COMPILER_VER value with the version number of the C compiler that is actually being used. Such mistake may result in broken builds or misleading log output. Build log output always contains the auto-detected C compiler version number. A continuation of commit 69f98c1f9a2d69e0c48eb009e2cf7dbe71fa7144 * utils/hbmk2/po/hbmk2.el.po * utils/hbmk2/po/hbmk2.en.po * utils/hbmk2/po/hbmk2.pt_BR.po ! fix typos in translation files 2017-11-25 17:37 UTC Viktor Szakats * .github/ISSUE_TEMPLATE.md * include this fork's policy on accepting extra code/components 2017-11-23 22:05 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix unused variable after prev 2017-11-23 16:36 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg % stop automatically recognizing C compilers installed into <harbour-root>/comp/<mingw|etc>/. This solution multiplied to possible config scenarios while also being maintenance heavy and error-prone. It also became unnecessary since MSYS2 offers toolchain installation in a much better, and Harbour agnostic way, and since the Harbour binary package stopped bundling C compiler toolchain some years ago anyway (which was the original intent of this feature). So, the `comp` dir detection remained unused, untested and unmaintained in this fork. To keep previous behavior, it's enough to add the compiler directory into the PATH, e.g.: set PATH=C:\hb34\comp\mingw\bin;%PATH% After this point it's not a special case anymore, just like any other path where the C compiler is installed. (for watcom, non-mingw, OS/2 and MS-DOS C compilers, see README.md how to configure them) * contrib/hbzebra/qrcode.c * URL update * README.md * recommend binary builds on Windows. 2017-11-22 11:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c * src/rdd/workarea.c * generate RTE code when SELF_ADDFIELD() used in SELF_CREATEFIELDS() (dbCreate() backend) returns HB_FAILURE. It fixes silent dbCreate() exit when some wrong table structure arrays are passed to this function. * src/rdd/dbf1.c ! added protection against too long unicode character and fields defined in dbCreate() table structure array - fix problem reported by KevinC - thanks * change RTE number from EDBF_DATATYPE to EDBF_DATAWIDTH record size is exceed + added additional protection when corrupted table with unicode fields is open 2017-11-20 14:01 UTC Viktor Szakats * contrib/hbwin/wapi_winbase_1.c * contrib/hbwin/wapi_winbase_2.c ! fix warning after prev commit * include/hboo.ch ! fix typos in comments 2017-11-19 15:53 UTC Viktor Szakats * contrib/hbwin/wapi_winbase_1.c * contrib/hbwin/wapi_winbase_2.c * contrib/hbwin/wapi_winuser_1.c * contrib/hbwin/wapi_winuser_2.c % move newly added functions to the *_1.c file which is reserved for less often used functions to keep binary size minimal when linking against the more commonly used ones in *_2.c sources 2017-11-15 23:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c ! pacified warning after last commit - thanks to Grigory Filatov 2017-11-15 14:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/wapi_winbase_2.c * contrib/hbwin/wapi_winuser_2.c ! fixed WinCE builds 2017-11-15 11:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbjson.h * src/rtl/hbjson.c * changed 3-rd parameter 'HB_BOOL fHuman' in hb_jsonEncode() and hb_jsonEncodeCP() C functions to 'int iIndent' char * hb_jsonEncode( PHB_ITEM pValue, HB_SIZE * pnLen, int iIndent ); char * hb_jsonEncodeCP( PHB_ITEM pValue, HB_SIZE * pnLen, int iIndent, PHB_CODEPAGE cdp ); Positive iIndent value defines number of spaces used for indenting, 0 disables indenting and -1 means TAB ( ASCII:9 ) indenting. This modification is binary compatible though in C code using HB_TRUE as 3-rd parameter it changes indenting from 2 spaces to 1 so please update the code if it's significant. + added optional support for numeric value in 2-nd parameter of hb_jsonEncode() PRG function. Current syntax is: hb_jsonEncode( <xValue>, [ <lHuman> | <nIndent> ], [ <cDestCP> ] ) -> <cJSONString> * contrib/rddads/ads1.c * minor simplification * include/hbapigt.h * formatting 2017-11-14 20:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winbase_2.c + added PRG wrapper to QueryDosDevice() WINAPI function wapi_QueryDosDevice( <cDeviceName> ) -> <aResults> 2017-11-14 20:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c ! fixed typo in index used inside DBS_ISNULL ! fixed blanking new record for variable length unicode fields (Q:U) ; above fix problems reported by KevinC - many thanks for information about the problems and self contain examples - such support really helps * added protection against possible GPF when corrupted Q:U fields are read from DBF file 2017-11-14 19:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/mzip.c * use 'char *' instead of 'zipcharpc' to compile with minizip versions which do not define 'zipcharpc' type ; already implemented: 2017-10-17 16:40 UTC [vszakats] 2017-11-11 15:04 UTC Viktor Szakats * config/postinst.hb ! sync .hbx generation logic with hbmk2 fixes Ref: b2727489b8a5659eb6cb47199a97390221b90cd6 2017-11-11 13:14 UTC Viktor Szakats * config/common/clang.mk * config/darwin/gcc.mk * config/darwin/global.mk * config/darwin/icc.mk * utils/hbmk2/hbmk2.prg * switch to call the C compiler to link dynamic libs on darwin, which is the recommended way to do this, as suggested by Apple. This also aligns the platform better with other *nix platforms. 'libtool' was used before, but that started having intermittent issues around Sierra (mitigated by disabling parallel build), which returned and got worse in High Sierra (with no remedy). The symptom was 'ld: file not found: ' errors with the filename not shown or appearing as garbage, then a 'libtool: internal link edit command failed'. This was reported and will be fixed in a future Xcode release. Ref: Apple Radar 34944562 2017-11-09 23:13 UTC Viktor Szakats * config/dirsh.mk * config/global.mk * config/globsh.mk * config/instsh.mk * quote cleanups * indentation for embedded shell code * src/3rd/png/Makefile * src/rtl/gtcrs/Makefile * src/rtl/gtsln/Makefile * src/rtl/gtxwc/Makefile * src/rtl/Makefile * simplify on the fact that HB_HAS_* variables cannot contain multiple values since very long, so the old $(foreach) logic is not necessary ! fix to work when the HB_HAS_* directory contains spaces Fixes: https://github.com/vszakats/hb/issues/331 2017-11-09 22:19 UTC Viktor Szakats * README.md * restore disclaimers to not put Harbour sources and dependencies in directories containing spaces. This may work with contrib dependencies but certainly won't work for core ones and such scenario is never tested and generally a source of evil things especially on Windows. Ref: https://github.com/vszakats/hb/issues/331 2017-11-09 08:28 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to not attempt compression where the output filename is undefined Fixes: https://github.com/vszakats/hb/issues/329 2017-11-08 16:54 UTC Viktor Szakats * contrib/hbyaml/decode.prg ! fix processing string anchors (e.g. hb-linux-image in current .travis.yml) ! fix processing stacked anchors ; (possibly not the final fix for the anchor/alias topic though.) ; test.yml: ```yaml root1: tst1: &lev1 stuff: &lev2 foo: bar foe: baz tst2: packages: &list - item1 - item2 - item3 root2: - key1: &str strval key2: val1 key3: packages: [ *list, item0 ] - key1: *str - *lev1 - *lev2 ``` 2017-11-06 02:11 UTC Viktor Szakats * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/ver.c + add support for upcoming brotli support Ref: https://github.com/curl/curl/commit/11bf1796cd015373a996e6eb26212e2e1aadb066 2017-11-05 10:37 UTC Viktor Szakats * .travis.yml % optimize Homebrew updates/install further 2017-11-05 00:07 UTC Viktor Szakats * .travis.yml % optimize Homebrew updates/installs * readd wineboot to catch any possible wine issues early * package/mpkg_win_ci.sh ! fix native hbdoc build by not disabling harbour dynlib 2017-11-04 23:11 UTC Viktor Szakats * .travis.yml * remove wine hacks trying to fix hang/crash on headless wineboot/wine invocations on macOS, after wine package fix. Ref: https://github.com/Homebrew/homebrew-core/commit/93f9c158d10713ebb99f6cbb530f621754015cbc 2017-11-03 17:05 UTC Viktor Szakats * src/common/hbver.c * src/rtl/filesys.c - remove support for MPW C Ref: https://en.wikipedia.org/wiki/Macintosh_Programmer%27s_Workshop 2017-11-03 17:03 UTC Viktor Szakats * src/common/hbffind.c * src/common/hbfsapi.c * src/rtl/filesys.c * src/rtl/gtdos/gtdos.c - remove support for 16-bit MS-DOS Borland C and some other C, like Symantec, Power C and ZTC. 2017-11-03 16:58 UTC Viktor Szakats * contrib/hbssl/hbssl.hbp + try making OpenSSL .dll copying version-agnostic [OK] * src/common/hbver.c * src/rtl/gtdos/gtdos.c - remove support for Turbo C. Harbour hasn't supported 16-bit systems for at least the last 15 years. 2017-11-02 22:41 UTC Viktor Szakats - config/win/tcc.mk * utils/hbmk2/hbmk2.prg % remove Tiny C from the make system Ref: 2017-11-02 20:45 UTC 2017-11-02 22:32 UTC Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/hbwin/hbwapi.h * src/rtl/gtwvt/gtwvt.c % remove unneccessary parenthesis 2017-11-02 22:29 UTC Viktor Szakats * utils/hbmk2/po/hbmk2.*.po * remove symbian * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerate 2017-11-02 21:02 UTC Viktor Szakats - config/symbian/gcc.mk - config/symbian/global.mk - config/symbian/libs.mk * config/global.mk * contrib/gtqtc/gtqtc.hbc * contrib/xhb/hbsyslog.c * include/hbsetup.h * include/hbthread.h * README.md * src/common/hbprintf.c * src/common/hbtrace.c * src/common/hbver.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/filesys.c * src/rtl/gtpca/gtpca.c * src/rtl/gtstd/gtstd.c * src/rtl/gtsys.c * src/rtl/gttrm/Makefile * src/rtl/hbcom.c * src/rtl/hbgtcore.c * src/rtl/hbproces.c * src/rtl/hbsocket.c * src/rtl/libnamec.c * src/vm/thread.c * utils/hbmk2/hbmk2.prg - delete support for Symbian OS. The platform has been discontinued and now defunct without plans or activity. Ref: https://en.wikipedia.org/wiki/Symbian 2017-11-02 20:45 UTC Viktor Szakats * contrib/hbwin/wapi_secur32.c * include/hbdefs.h * include/hbfloat.h * include/hbinit.h * src/common/hbprintf.c * src/common/hbver.c * src/rtl/arc4.c * src/rtl/gtwvt/gtwvt.c * src/rtl/hbsocket.c * src/vm/extrap.c * src/vm/hvm.c * src/vm/mainstd.c - remove support the Tiny C compiler. It was interesting C compiler, with a very small footprint, but it has since been abandoned by its author and Harbour's support was always very experimental and not fully working. Ref: https://bellard.org/tcc/ 2017-11-02 20:40 UTC Viktor Szakats * contrib/rddads/rddads.h * contrib/xhb/hbserv.c * include/hbdefs.h * include/hbfloat.h * include/hbinit.h * include/hbsetup.h * src/common/hbprintf.c * src/common/hbver.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/filesys.c * src/rtl/gtwin/gtwin.c * src/rtl/hbproces.c - remove support for LCC-win32 C compiler. It's an experimental compiler that wasn't updated in (at least) the last decade and Harbour's support was also merely experimental, e.g. the build system didn't support it at all. 2017-11-02 20:30 UTC Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/gtwvglo.h * contrib/hbmzip/3rd/minizip/ioapi.h * contrib/hbmzip/3rd/minizip/minizip.diff * contrib/hbwin/hbwapi.h * contrib/hbwin/hbwinole.h * contrib/hbwin/olecore.c * include/hbdefs.h * include/hbsetup.h * include/hbthread.h * src/3rd/zlib/gzlib.c * src/3rd/zlib/zlib.diff * src/common/hbffind.c * src/common/hbfopen.c * src/common/hbprintf.c * src/common/hbver.c * src/rtl/arc4.c * src/rtl/filesys.c * src/rtl/gttone.c * src/rtl/gtwvt/gtwvt.c * src/rtl/hbsocket.c * src/vm/hvm.c * src/vm/maindllh.c * src/vm/mainwin.c * utils/hbmk2/hbmk2.prg - delete support for Digital Mars C (dmc). This compiler has not seen an update since very long, its Windows SDK components are very outdated and in general very few users seems to be using this compiler. Harbour support was most likely broken by now and not tested for many years - some core feature were not implemented. 2017-11-02 20:08 UTC Viktor Szakats * .github/ISSUE_TEMPLATE.md * README.md * bump minimum supported MSVC version to 2013 That is to say, older versions may/will work, but bug reports are not accepted anymore. Main reason is recent fallouts 3rd party code due to C99 incompatibility. MSVC 2013 still isn't C99-compliant (nor the latest 2017), but offers certain C99 features that certain 3rd party code takes for granted. Harbour CI tests are only done with the current latest version, which is 2017 at this moment. Existing code will continue to work with older MSVC versions and support for these will not be actively removed at this time. * .travis.yml * minor 2017-11-02 18:34 UTC Viktor Szakats * package/mpkg_win_ci_refresh_deps.sh * look for curl-for-win checksum in Travis CI/macOS, after the live binary builds have been switched over there (from AppVeyor CI) * package/mpkg_win_ci.sh * openssl 1.1.0g, nghttp2 1.27.0 * all binaries rebuilt under Travis CI/macOS. mingw-w64 and llvm/clang packages provided via Homebrew 2017-11-02 13:01 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/* * expat 2.2.5 https://github.com/libexpat/libexpat/blob/R_2_2_5/expat/Changes ; Ref: https://github.com/vszakats/hb/issues/327 Ref: https://github.com/vszakats/hb/issues/314 2017-10-31 18:42 UTC Viktor Szakats * contrib/hbmxml/3rd/minixml/config.h * contrib/hbmxml/3rd/minixml/mxml-node.c * contrib/hbmxml/3rd/minixml/mxml.diff ! patch out new redefinition warnings ! fix typo in reapplying a local patch 2017-10-31 17:07 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! limit logic to the win platform to fix regression in 2017-10-31 15:39 UTC 2017-10-31 16:57 UTC Viktor Szakats * contrib/hbmxml/3rd/minixml/* * contrib/hbmxml/3rd/minixml/minixml.dif * contrib/hbmxml/3rd/minixml/mxml.hbp * updated 2.10 -> 2.11 https://github.com/michaelrsweet/mxml/releases/tag/v2.11 ; An mxmlDelete() memory leak was listed as, but the lack of reference counting wasn't, so the local patch was kept. Ref: https://github.com/vszakats/hb/commit/a05a905cf60b2e7d931cdb5c8eb1ce02175f44d7#commitcomment-17900248 "code is still broken and has the same problem as the previous one. It simply ignores reference counters in descendant nodes and deletes them unconditionally so it breaks our (and any others) external references" [Przemek] 2017-10-31 16:28 UTC Viktor Szakats * .appveyor.yml * .travis.yml * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win_docker.sh * package/mpkg_win.sh % replace HB_JOB with CC envvar to cleanup and merge compiler selection logic between Travis and AppVeyor (and curl-for-win) ! mingwext selection logic reset to be based on repo branch 2017-10-31 15:39 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg * replicate some mingw logic for clang + automatically correct the compiler value if there is a contradicting cpu value specified as well, e.g. clang + x86_64 -> clang64 + accept i686 as an alias for x86 2017-10-30 14:31 UTC Viktor Szakats * contrib/hbhttpd/core.prg ! stop displaying certain, hardcoded, object variables in the error handler (based on Teo's fork) + allow to customize error handler Implements https://github.com/vszakats/hb/issues/189 2017-10-30 14:11 UTC Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbhttpd/tests/eshop.prg + add a "PostProcessRequest" server propert, which is a callback called after processing a request. It's only called when the request was actually handled. Previously a hardcoded 'dbCloseAll()' was called in this case. It was even called when the request was unhandled and state could not changed, also meaning it was called twice on each processed request, this update fixes this. If you rely on this functionality, server configuration should be udpated like eshop.prg was in this commit. [INCOMPATIBLE] (idea based on Teo's fork, but resolved differently) 2017-10-30 14:02 UTC Viktor Szakats * contrib/hbhttpd/core.prg + add support for server-global hash of custom headers to add to responses: server[ "ADD_HEADERS" ] (based on Teo's fork, with cleanups - not compatible) + add server[ "BODY_RAW" ] (based on Teo's fork) * remove unnecessary 'MEMVAR->' prefix 2017-10-30 13:55 UTC Viktor Szakats * contrib/hbhttpd/core.prg * genericize token delimiters ("{{"/"}}") internally 2017-10-30 02:45 UTC Viktor Szakats * package/mpkg_win_ci.sh ! fix to correctly determine mingw-w64 bin directory in clang cross-builds 2017-10-30 01:49 UTC Viktor Szakats * package/mpkg_win_ci.sh ! missed to apply workaround to HB_USER_DFLAGS 2017-10-30 01:16 UTC Viktor Szakats * package/mpkg_win_ci.sh ! add workaround for -sysroot issue where clang misses to add a required libdir, resulting in this error: /usr/bin/i686-w64-mingw32-ld: cannot find -lgcc /usr/bin/i686-w64-mingw32-ld: cannot find -lgcc_eh Ref: https://github.com/tpoechtrager/wclang/issues/22#issuecomment-217223568 * .travis.yml * package/mpkg_win_docker.sh ! fix regression for non-clang builds 2017-10-29 21:48 UTC Viktor Szakats * package/mpkg_win_ci.sh ! HB_COMPILER=clang (and clang64) doesn't imply HB_PLATFORM=win, so make sure to set it explicitly instead of relying on our make system to figure it out automatically 2017-10-29 21:28 UTC Viktor Szakats * package/mpkg_win_docker.sh ! fix clang package name ! fix to install time package (for 2017-10-29 20:01 UTC) * .travis.yml * sync variable name 2017-10-29 21:11 UTC Viktor Szakats * package/mpkg_win_ci.sh ! fix regression in native Windows clang builds ! fix logging C compiler version on clang cross-builds 2017-10-29 20:58 UTC Viktor Szakats * .travis.yml * package/mpkg_win_ci.sh * package/mpkg_win_docker.sh + add clang cross-builds to Travis CI 2017-10-29 20:01 UTC Viktor Szakats * .travis.yml * package/mpkg_rpm_docker.sh * package/mpkg_win_ci.sh + measure time spent on build processes 2017-10-29 18:26 UTC Viktor Szakats * config/common/clang.mk * utils/hbmk2/hbmk2.prg * revert the ar tool for win/clang* to the mingw-w64 provided one (from 'llvm-ar'). This is required with certain llvm toolchains that don't provide an 'llvm-ar' tool (e.g. Xcode clang or certain *nix systems, when doing cross-builds for Windows) [Though specifically Xcode clang 9 (= LLVM/clang 4) has other issues, so it's not usable for Windows cross-builds at this time.] * config/global.mk ! ignore HB_CCPREFIX for clang (in sync with GNU Make and hbmk2) when doing version auto-detection * stop auto-detecting clang in /Developer/usr/bin/ on darwin (this was required for a while after clang was introduced in Xcode < 4.5 versions (year 2012), but no longer.) * utils/hbmk2/hbmk2.prg * do not add double pathseps when HB_CCPATH is set * README.md * utils/hbmk2/hbmk2.prg * utils/hbmk2/po/hbmk2.*.po * update HB_CCSUFFIX description for clang ! fix grammar * utils/hbmk2/pkg_inst.hbm * update comment/instructions ; After these changes it's possible to create cross-builds for Windows on *nix systems with clang. Specifically tested on macOS with the `brew install llvm` toolchain. (I had no success with Apple's own clang.) 2017-10-28 15:53 UTC Viktor Szakats * contrib/hbmzip/mzip.c ! better fix for the FreeBSD stat64() failures fixed in 2017-10-26 21:08 UTC. ``` ../../../../../contrib/hbmzip/mzip.c:888:21: error: variable has incomplete type 'struct stat64' ../../../../../contrib/hbmzip/mzip.c:889:11: warning: implicit declaration of function 'stat64' is invalid in C99 [-Wimplicit-function-declaration] ``` 2017-10-28 11:43 UTC Viktor Szakats * contrib/gtqtc/hbmk2_qtgt.hb ! silence meaningless warning on non-Windows systems 2017-10-28 10:01 UTC Viktor Szakats * contrib/hbdoc/_html.prg * docs/_includes/head.html * add block-all-mixed-content CSP for older browsers 2017-10-28 07:31 UTC Viktor Szakats * contrib/hbhttpd/core.prg * revert the [INCOMPATIBLE] modification in 2017-10-27 22:58 UTC so server[ "GET" ] and server[ "POST" ] are again simply 'get' and 'post' 2017-10-28 06:37 UTC Viktor Szakats * contrib/hbicu/hbicu.hbc ! fix linking on FreeBSD * contrib/hbmlzo/hbmlzo.hbp ! remove wrong FreeBSD package being detected after 2017-10-26 20:01 UTC ; Thanks to Mario Lobo Ref: https://groups.google.com/d/msg/harbour-users/ArUPtkV-OvY/imVARP7WAwAJ 2017-10-27 23:12 UTC Viktor Szakats * config/detect.mk * contrib/*/*.hbp * README.md * utils/hbmk2/hbmk2.prg * rename FreeBSD 'pkg' package filter to 'pkgng' To differenciate from sunos pkg package manager and for better greppability * README.md + add link to MXE package repo + add link to FreeBSD package site 2017-10-27 22:58 UTC Viktor Szakats * contrib/hbhttpd/core.prg * implement some improvements based on: https://github.com/tfonrouge/harbour-vszakats/blob/c6c172ada2143903cb3b4a59aa3ccf85c560e6eb/contrib/hbhttpd/core.prg + "SupportedMethods" server config parameter * server[ "GET" ] and server[ "POST" ] replaces the public get and post variables [INCOMPATIBLE] [REVERTED] + show server[ "REQUEST_METHOD" ] in UProcInfo() * swap certain "magic numbers" with Len() calls 2017-10-27 10:15 UTC Viktor Szakats * bin/3rdpatch.hb * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/intro.en.md * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/tests/demo.prg * contrib/hbct/cterror.ch * contrib/hbcurl/hbcurl.ch * contrib/hbnf/doc/en/aredit.txt * contrib/hbnf/doc/en/ntow.txt * contrib/hbnf/doc/en/nwsem.txt * contrib/hbnf/popadder.prg * contrib/hbwin/tests/oletst1.prg * contrib/hbwin/tests/oletst2.prg * contrib/hbwin/tests/oletst3.prg * contrib/hbwin/tests/oletst4.prg * contrib/rddsql/sqlmix.c * contrib/xhb/WARNING.txt * ChangeLog.txt * doc/en/file.txt * doc/en/hbinet.txt * doc/en/set.txt * doc/gtslang.txt * docs/faq.html * include/hbapifs.h * include/hbarc4.h * include/hbclass.ch * src/rtl/arc4.c * src/rtl/gtsln/gtsln.h * src/rtl/memoedit.prg * src/rtl/tobject.prg * src/vm/classes.c * "can not", "can't" -> "cannot" (except "can't" in Cl*pper-inherited error messages) 2017-10-26 22:14 UTC Viktor Szakats * README.md + add FreeBSD package search link 2017-10-26 21:08 UTC Viktor Szakats * config/hbpost.hbm * contrib/hbcairo/hbcairo.h * contrib/sddoci/core.c * suppress a clang documentation warning in all contribs. It used to happen in 3rd party headers (cairo, ocilib, mysql) * contrib/hbamqp/core.c ! fix missing timeval on BSD * contrib/hbfbird/firebird.c * contrib/sddfb/core.c * silence warnings in 3rd party headers * contrib/hbmzip/mzip.c ! fix build error on BSD due to missing stat64 (when built against a non-vendored/vanilla minizip headers) * contrib/hbcups/hbcups.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/sddfb/sddfb.hbp * contrib/sddmy/sddmy.hbp * contrib/sddpg/sddpg.hbp + add FreeBSD package names (as of 11.1-STABLE) (even versioned ones, with no promises to keep these up-to-date, but it's useful to see where to look for them) 2017-10-26 20:01 UTC Viktor Szakats * config/detect.mk * contrib/gtqtc/gtqtc.hbp * contrib/hbamqp/hbamqp.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbbz2io/hbbz2io.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbcurl/hbcurl.hbp * contrib/hbexpat/hbexpat.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbgd/hbgd.hbp * contrib/hbgs/hbgs.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbicu/hbicu.hbp * contrib/hbmagic/hbmagic.hbp * contrib/hbmlzo/hbmlzo.hbp * contrib/hbmxml/hbmxml.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbodbc/hbodbc.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbssl/hbssl.hbp * contrib/hbwin/hbwin.hbp * contrib/hbxdiff/hbxdiff.hbp * contrib/hbyaml/hbyaml.hbp * contrib/sddodbc/sddodbc.hbp * contrib/sddsqlt3/sddsqlt3.hbp + add FreeBSD package names (as of 11.1-STABLE) (postgres, mariadb and mysql package names are all version-specific so I skipped them) * contrib/gtqtc/gtqtc.hbp ! remove stray option: -deppkgname=qt:QtCore * README.md * update FreeBSD prerequisites 2017-10-26 16:00 UTC Viktor Szakats * contrib/gtqtc/gtqtc.hbc * contrib/hbcups/hbcups.hbp * contrib/hbcurl/hbcurl.hbp * contrib/hbicu/hbicu.hbp * contrib/hbmysql/hbmysql.hbc * contrib/hbsqlit3/hbsqlit3.hbp * contrib/sddmy/sddmy.hbc * contrib/sddsqlt3/sddsqlt3.hbp * improve component auto-detection on bsd systems ! fix some linking issues on bsd systems ; based on FreeBSD tests and report by Mario Lobo Ref: https://groups.google.com/d/msg/harbour-users/ArUPtkV-OvY/ZnmiGyuxBAAJ * bin/make.hb * README.md * delete HB_BUILD_ADDONS support. It's was experimental and apparently it regressed so it doesn't work. It's superceded by running `make.hb .` in a project root or `make.hb` in a single project directory, which now works in any 3rd party directory besides Harbour's own contribs. 2017-10-25 00:51 UTC Viktor Szakats * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_21_0.html 2017-10-24 17:59 UTC Viktor Szakats * contrib/hbhttpd/tests/mkcert.sh * contrib/hbssl/tests/mkpem.sh * favor more generic openssl command variant * be more key algo agnostic 2017-10-24 08:58 UTC Viktor Szakats * .github/CONTRIBUTING.md + add "How to ask good questions" by Julia Evans link * README.md * delete link to inactive Harbour Twitter feed * package/mpkg_win_ci_refresh_deps.sh + add support for multi-job macOS cross-builds on Travis CI * contrib/hbcurl/hbcurl.hbx * contrib/hbcurl/misc.prg + add hb_curl_mail_address_to_name() function (based on similar function in hbtip) 2017-10-23 07:56 UTC Viktor Szakats * .travis.yml * bump macOS deployment target 2017-10-23 07:22 UTC Viktor Szakats * README.md * add link to info on msys2/msys/mingw/cygwin relationship 2017-10-23 06:49 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.56.1 2017-10-22 12:20 UTC Viktor Szakats * .travis.yml ! revert 2017-10-22 09:48 UTC, it just makes things worse Ref: https://travis-ci.org/vszakats/hb/jobs/291087640 2017-10-22 10:44 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + show the actual source file used for creating/importing an import library 2017-10-22 10:09 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + display message when the .dll.a -> .a implib trick is made 2017-10-22 09:48 UTC Viktor Szakats * .travis.yml % let wineboot run for 15 seconds only to avoid the freeze lasting 5 minutes: err:process:__wine_kernel_init boot event wait timed out Ref: https://travis-ci.org/vszakats/hb/jobs/291035974#L905 * contrib/gtqtc/hbmk2_qtgt.hb * silence a warning message in quiet mode 2017-10-22 05:39 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! force `.a` extension (instead of `.dll.a`) for implibs copied directly from COFF .lib or .dll sources to make them recognized by mingw-w64 'ld' -- otherwise a 'cannot find -l<libname>' error happens. Downside is that a static lib cannot coexist with these, so the automatic static/dynamic fallback logic won't work either and the .dll will be linked always -- probably not an issue in typical use-cases though. Ref: https://groups.google.com/d/msg/harbour-users/GfwFglH6HQo/8rSR9t29CwAJ Ref: https://github.com/vszakats/hb/issues/324 2017-10-22 05:02 UTC Viktor Szakats * package/mpkg_win.sh * remove exec attr from .lib files too 2017-10-22 04:40 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg * revert to use llvm-ar only on Windows. (though all Linux envs on Travis CI have llvm-ar, so it remains unclear in which cases this tool may be named differently) Ref: 339b46bb430e56f20122b8fa43349ff8fa0edd14 Ref: https://groups.google.com/d/msg/harbour-users/Sd5LeUyqw9Q/zMBYywUoBAAJ * do the same with 'llvm-nm': use this only on Windows for now. ; even on Windows the bare 'ar' and 'nm' tools could be used (until we actually need LLVM bitcode support of the LLVM prefixed implementations). Keep using the LLVM-specific tools anyway for now on Windows to depend a bit less on the mingw-w64 toolchain. 2017-10-22 04:27 UTC Viktor Szakats * .travis.yml + log list of llvm* tools 2017-10-22 04:14 UTC Viktor Szakats * .travis.yml + add default linux clang to the build matrix 2017-10-20 11:44 UTC Viktor Szakats * bin/make.hb * doc/en/compiler.txt * exit code -> exit status 2017-10-19 21:12 UTC Viktor Szakats * src/compiler/genc.c % generate longer pcode lines in compact mode 2017-10-19 12:47 UTC Viktor Szakats * contrib/rddads/rddads.h * silence an Windows x86-specific clang warning Ref: https://groups.google.com/d/msg/harbour-users/GfwFglH6HQo/TKmeM_eiCwAJ * .github/ISSUE_TEMPLATE.md * add rddads to the list of components I can't personally help with as a non-user and the fact that it can't trivially be CI tested 2017-10-19 10:46 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! do not copy the read-only file attribute in implib and install-related file copy operations. Copying the read-only attribute resulted in copy failures on each subsequent build run. 2017-10-19 10:32 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + show distinctive error message when implib creation fails due to a file copy operation. [TRANSLATION] 2017-10-19 10:15 UTC Viktor Szakats * contrib/rddads/rddads.h * silence clang warnings (showing valid, but non-critical issues) in 3rd party header ace32.h (version 11.x) Ref: https://groups.google.com/d/msg/harbour-users/GfwFglH6HQo/TKmeM_eiCwAJ 2017-10-19 04:48 UTC Viktor Szakats * contrib/hbdoc/_html.prg * docs/_includes/head.html + Content-Security-Policy -> upgrade-insecure-requests 2017-10-18 09:16 UTC Viktor Szakats * contrib/hbmzip/mzip.c * ChangeLog.txt * include/hb_io.h * include/hbdefs.h * include/hbsetup.h * src/common/hbffind.c * src/common/hbver.c * src/rtl/gtdos/gtdos.c * src/rtl/net.c % remove references to __RSX32__ guard. It was an MS-DOS compiler, and long unsupported in Harbour. It was superceded by DJGPP/GCC. 2017-10-18 09:08 UTC Viktor Szakats * include/hbdefs.h * include/hbfloat.h * include/hbsetup.h * src/common/hbver.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/gtwin/gtwin.c * src/vm/dlmalloc.c % remove references to __RSXNT__ guard. It's a long defunct compiler and long unsupported in Harbour. It was superceded by MinGW/GCC. * src/rtl/disksphb.c * sync whitespace with dispspac.c 2017-10-18 08:52 UTC Viktor Szakats * contrib/hbwin/win_svc_1.c * contrib/hbwin/win_svc_2.c * include/hbdefs.h * include/hbfloat.h * include/hbinit.h * include/hbsetup.h * include/hbthread.h * include/hbwince.h * src/3rd/zlib/gzguts.h * src/3rd/zlib/zlib.diff * src/common/hbfopen.c * src/common/hbprintf.c * src/common/hbstr.c * src/common/hbver.c * src/rtl/filesys.c * src/rtl/gttone.c * src/rtl/hbproces.c % remove __XCC__ guards where __POCC__ guard is already present __POCC__ is always defined by XCC (at least up to its current latest version 3.00.0 Beta from 2005.) * stop reporting XCC as a separate compiler in hb_Compiler(), it will be reported as an old POCC instead. 2017-10-18 10:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winuser_2.c + added PRG wrapper wapi_MessageBoxTimeout( <phWnd>, <cText>, <cCaption>, ; <nType>, <nLangId>, <nTimeout> ) -> <messageBox_results> | WIN_MB_TIMEDOUT to undocumented MS-Windows function MessageBoxTimeout(). This function exists in all MS-Windows versions and is used internally by MessageBox() and MessageBoxEx() with 0xFFFFFFFF timeout. * contrib/hbwin/win_svc_2.c * src/common/hbfopen.c ! fixed POCC and XCC builds 2017-10-17 16:40 UTC Viktor Szakats * contrib/hbmzip/mzip.c * improve compatibility with minizip clones and forks [1] by using a native type in place of 'zipcharpc' [1] https://github.com/nmoinvaz/minizip (used by MSYS2) Ref: https://groups.google.com/d/msg/harbour-devel/S-9U_cuCEBY/NXq--7fLAgAJ * contrib/hbmzip/hbmzip.hbp ! auto-detect unzip.h inside the 'include/minizip' directory instead of plain 'include' * package/mpkg_win_ci.sh ! typo in comment * .travis.yml * reorder 2017-10-17 14:39 UTC Viktor Szakats * config/global.mk + auto-detect clang version on FreeBSD 2017-10-17 13:22 UTC Viktor Szakats * config/global.mk * cease C compiler version autodetection if it resulted in an invalid version string. Also show a warning with the C compiler version output for debugging purposes 2017-10-17 12:58 UTC Viktor Szakats * config/common/clang.mk ! use 'llvm-ar' on Windows only (to agree with hbmk2, which didn't get this regression) [UPDATE: it did: 339b46bb430e56f20122b8fa43349ff8fa0edd14] 2017-10-17 12:37 UTC Viktor Szakats * contrib/sddoci/core.c * suppress clang documentation warning ! fix to not drop const ; Ref: https://github.com/vszakats/hb/issues/323 2017-10-17 10:21 UTC Viktor Szakats * README.md - remove links to Harbour user forums that don't use HTTPS (sadly it's most of them) Ref: 20ca60ca9d28ae9ebbd6e84bf3b8701443493c09 2017-10-17 09:50 UTC Viktor Szakats * contrib/hbcomm/DEPRECATED.txt * contrib/hbsms/DEPRECATED.txt * contrib/hbtpathy/DEPRECATED.txt + contrib/hblzf/DEPRECATED.txt + contrib/hbxdiff/DEPRECATED.txt * deprecate hbxdiff and hblzf * assign date of removal for deprecated contribs: 2018-03-01 (these remain retrievable from repository history and they can be copied to local projects or forked freely for further maintenance.) * docs/contribs.md * contrib/hbmlzo/tests/test.prg * remove references to deprecated contribs * .travis.yml * package/harbour-vszakats.rb * remove references to libxdiff and liblzf 2017-10-17 08:37 UTC Viktor Szakats * .travis.yml + enable HB_BUILD_3RD_DYN * .appveyor.yml * disable MS telemetry (just in case dotnet cli tools get used) 2017-10-17 08:03 UTC Viktor Szakats * README.md + mention Dr. Mingw Just-in-Time debugger 2017-10-17 06:49 UTC Viktor Szakats * package/getsrc.sh * package/mpkg_win.sh * package/RELNOTES.md * use different template variable marker 2017-10-16 12:30 UTC Viktor Szakats * README.md * update development options section 2017-10-16 09:48 UTC Viktor Szakats * contrib/gtwvg/wvgcore.c * contrib/gtwvw/gtwvwd.c * contrib/hbwin/wapi_winuser_dlg.c * add casts to silence 64-bit msvc warnings 2017-10-16 08:19 UTC Viktor Szakats * README.md * config/dos/djgpp.mk * config/dos/watcom.mk * config/dyn.mk * config/global.mk * config/rules.mk * contrib/hbdoc/hbdoc.hbp * contrib/hbformat/utils/hbformat.hbp * contrib/hbrun/hbrun.hbp * package/mpkg_win_ci.sh * src/Makefile * utils/hbi18n/hbi18n.hbp * utils/hbi18n/Makefile * utils/hbtest/hbtest.hbp * utils/hbtest/Makefile * HB_BUILD_DYN=no is no longer a documented or supported build setting. Historically this setting was introduced to avoid glitches and platforms where harbour.dll support was incomplete/broken. By now it's a fairly stable feature which has some useful properties, e.g. the size saving it allows for Harbour tools, the shorter linking speed when linking apps in shared mode (e.g. while doing development), and last but not least it makes it possible to use dynamically loadable modules (via #require) in hbrun, which means that hbrun can be used to run Harbour scripts that use contribs or other libs. Using scripts can dramatically improve iteration speed as there is no need to compile/link at all. In Harbour's own repository, every test/example code and all tools can be run as scripts, even hbmk2.prg itself. (just try it with `hbrun hbmk2.prg`) In the past, creating harbour.dll had the disadvantages of longer build times of Harbour itself, because each C source had to be compiled twice. But, mingw/clang/msvc and darwin targets no longer require it (and it's possibly something to be cleaned up for other platforms/ compilers as well - even more so since these days it's advised for all code to be relocatable for ASLR), so the only overhead is to link harbour.dll _once_. With harbour.dll turned off, this same amount of time is spent every time a Harbour app is built in static mode. If you need a self-contained ('portable') version of hbrun.exe while leaving every build settings to the default, simply copy hbmk2.exe to e.g. hbrun-portable.exe (notice that this will lose dynamic capabilities, i.e. loading packages via #require or 'ext.load' prompt command.) Finally, all this doesn't change Harbour's capabilities of creating fully static executables and static remains the default on Windows. * honor HB_BUILD_SHARED build setting to decide whether to build these executables in shared or static mode: hbdoc, hbrun, hbformat, hbi18n, hbtest. It means that static builds can be forced for these executables using this setting. Previously it dependend on the HB_BUILD_DYN setting directly. 2017-10-16 07:53 UTC Viktor Szakats * config/win/msvc.mk * config/win/icc.mk * config/win/pocc.mk * config/win/xcc.mk % update the harbour.dll link process for MSVC (and compatible - not tested) to not require double C compiler passes to create the necessary core object files. This should make the default build process faster. (mingw/clang already had this in place) 2017-10-16 07:00 UTC Viktor Szakats * README.md * LLVM/Clang 5.0.0 or upper is required on Windows Older versions were never tested by me and should not be installed or used if the MSYS2 install instructions were followed in full. Ref: https://github.com/vszakats/hb/issues/323 2017-10-13 21:34 UTC Viktor Szakats * contrib/hbcurl/tests/email.prg * contrib/hbcurl/tests/ftp_uldl.prg ! avoid downloading trusted root CAs using unverified HTTPS. Instead show an error message with the URL of the trusted root CA and the filename it needs to be saved using a web browser. ! fix warning when built in non-Windows systems 2017-10-13 13:08 UTC Viktor Szakats + package.json + test package.json with a list of vendored dependencies - contrib/hbmisc/doc/en/strfmt.txt * delete StrFormat() docs * contrib/hbssl/hbssl.hbp * stop recommending OpenSSL 'community' binaries for mingw/clang. mingw/clang build script was synced and tested with 'curl-for-win' and should also work with MSYS2 OpenSSL binaries, including the (now) default static and optional dynamic linking. Any other 1.1.0 build _that use the OpenSSL default lib names_ should work as well. For other C compilers and/or OpenSSL binary distros, Harbour build files may need to be adjusted. 2017-10-12 08:33 UTC Viktor Szakats - contrib/hbmisc/tests/strfmt.prg * contrib/hbmisc/hbmisc.hbx * contrib/hbmisc/strfmt.c * deprecate StrFormat() function with HB_LEGACY_LEVEL4. Long time superceded by core hb_StrFormat(). * contrib/hbzebra/qrcode.c * URL update 2017-10-12 07:30 UTC Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.hbp ! try a different solution for harbour name under MSVC [OK] * utils/hbmk2/hbmk2.prg % generate shorter command-line for static/shared switch with gcc/clang compilers 2017-10-12 01:29 UTC Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.hbp ! try fixing harbour dll name when built for MSVC * contrib/hbwin/axcore.c * contrib/hbwin/hbolesrv.c ! suppress MSVC warnings inside MS olectl.h headers * contrib/hbssl/hbssl.hbp * contrib/hbssl/ssl.c * delete terrible workaround for an OpenSSL bug that made the AppLink/Uplink feature broken up to version 1.0.2f. Anything before 1.0.2 is now officially unsupported by the OpenSSL project and 1.0.2f is now obsoleted by several security updates, plus version 1.1.0, so no one should be using the buggy code anymore. Ref: https://github.com/openssl/openssl/commit/740b2b9a6cf31b02916a4d18f868e8a95934c083 Ref: https://www.openssl.org/policies/releasestrat.html 2017-10-12 01:04 UTC Viktor Szakats * contrib/hbssl/hbssl.h * contrib/hbssl/hbssl.hbp % move OPENSSL_OPT_WINDLL switch to .hbp * contrib/hbicu/hbicu.hbc * whitespace 2017-10-11 18:00 UTC Viktor Szakats * include/hbapi.h * src/harbour.def ! export hb_macroTextValue() from harbour dll 2017-10-11 17:52 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg * do not warn about copy/symlink errors when attempting to install files where the source doesn't exist. Unless -info option is used. 2017-10-11 17:21 UTC Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * libpng 1.6.34 https://github.com/glennrp/libpng/blob/b78804f9a2568b270ebd30eca954ef7447ba92f7/ANNOUNCE https://github.com/glennrp/libpng/blob/v1.6.33/ANNOUNCE 2017-10-11 15:34 UTC Viktor Szakats - contrib/hbcurl/hbcurl.hbm - contrib/hbcurl/hbcurls.hbp * contrib/hbcurl/hbcurl.hbc * contrib/hbcurl/hbcurl.hbp - contrib/hbssl/hbssl.hbm - contrib/hbssl/hbssls.hbp * contrib/hbssl/hbssl.hbc * contrib/hbssl/hbssl.hbp * link OpenSSL libs to hbcurl in static mode with mingw/clang (this makes adding hbssl.hbc unnecessary for app that only need curl functionality) * rework the way curl/openssl libs are built and linked: - link curl and openssl in static mode by default on mingw/clang targets. HB_STATIC_* options not necessary anymore. This should work with curl-for-win curl/openssl binaries out of the box, and with MSYS2 curl/openssl packages by filling HB_CURL_LIBS_EXTRA envvar with the list of extra lib dependencies as a space delimited list of libnames (perhaps there is a simpler or automated way, but it needs more work.) - drop HB_STATIC_{CURL|OPENSSL} options. These allowed to select between static/shared curl and openssl libs independent from the global -shared/-static build mode. There is only the global flag now. It means that hbcurls and hbssls (not the 's' suffix) are no longer built, and these same binaries are now named hbcurl and hbssl respectively. These are supposed to be linked with static curl/openssl libs. The dynamic builds of hbcurl/hbssl are named hbcurl.dll.a/hbssl.dll.a or hbcurl_dll.lib/hbssl_dll.lib and they link against the dynamic version of curl/openssl. - speaking of mingw/clang, it seems to be a working option to just delete .dll.a files to force linking the static build of those selected libs. In case someone wants to build various shared/static combinations. HB_BUILD_CONTRIB_DYN can of course disable building all contrib .dll.a files, this isn't tested so not recommended. ; This will likely break certain build cases and may cause various suprises in certain combinations, especially with untesed targets like MSVC, where it's an even bigger mess than this. ; After this change the Harbour library generation, use and naming should now be pretty much aligned with the MSYS2/Cygwin standards and there should now be less Harbour-specific quirks. ; Remaining exceptions that'll need to be dealt with: ``` hbcurl/hbcurl.hbp:-cflag=-DCURL_STATICLIB{hblib} hbexpat/3rd/expat/expat.hbp:{hblib}-cflag=-DXML_STATIC hbexpat/hbexpat.hbp:-cflag=-DXML_STATIC hbfimage/hbfimage.hbp:-cflag=-DFREEIMAGE_LIB{HB_STATIC_FREEIMAGE} hbfimage/hbfimage.hbc:{win&allgcc&HB_STATIC_FREEIMAGE}libs=stdc++ hbgd/hbgd.hbp:-cflag=-DNONDLL{HB_STATIC_GD} hbgd/hbgd.hbc:{win&!HB_STATIC_GD}libs=bgd hbgd/hbgd.hbc:{win& HB_STATIC_GD}libs=gd png jpeg freetype fontconfig libiconv hbicu/hbicu.hbc:{HBMK_HAS_ICU&HB_STATIC_ICU}cflags=-DU_STATIC_IMPLEMENTATION hbicu/hbicu.hbc:{HBMK_HAS_ICU&!HB_STATIC_ICU&allwin}libs=icuuc icuin icudt hbicu/hbicu.hbc:{HBMK_HAS_ICU& HB_STATIC_ICU&allwin}libs=sicuuc sicuin sicudt hbicu/hbicu.hbc:{HBMK_HAS_ICU&HB_STATIC_ICU&allgcc&!(bsd|darwin)}libs=supc++ hbicu/hbicu.hbc:{HBMK_HAS_ICU&HB_STATIC_ICU&allgcc&(bsd|darwin)}libs=stdc++ hbssl/hbssl.hbp:{allwin&hbdyn}-cflag=-DOPENSSL_OPT_WINDLL hbyaml/hbyaml.hbp:-cflag=-DYAML_DECLARE_STATIC hbyaml/3rd/libyaml/yaml.hbp:{hblib}-cflag=-DYAML_DECLARE_STATIC hbyaml/3rd/libyaml/yaml.hbp:{hbdyn}-cflag=-DYAML_DECLARE_EXPORT ``` * contrib/3rd/sqlite3/sqlite3.hbp * contrib/*/3rd/*/*.hbp * contrib/hbcrypto/hbcrypto.hbp * contrib/hbexpat/hbexpat.hbp * contrib/hbhttpd/hbhttpd.hbp * contrib/hbicu/hbicu.hbp * contrib/hbtip/hbtip.hbp * contrib/hbyaml/hbyaml.hbp % -o${hb_targetname} -> -o${hb_name} Cleanup only, the effective name remains unchanged. 2017-10-11 14:23 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg * config/hbpost.hbm * utils/hbmk2/pkg_dynl.hbm ! -depimplibd and -depimplibs optional implib name values will now get the .dll.a extension by default (was: .a) * contrib/hbssl/hbssl.hbc * contrib/hbssl/hbssl.hbp * use canonical libnames 'crypto' and 'ssl' for OpenSSL with mingw/clang (was: 'libeay32' and 'ssleay32') * contrib/hbamqp/hbamqp.hbp * fix double lib prefix in implib name 2017-10-11 12:32 UTC Viktor Szakats * .github/CONTRIBUTING.md * README.md ! fix en/em dash usage + add --depth=10 to the `git clone` line. This makes cloning very fast and full local history is really not needed by most people 2017-10-11 11:56 UTC Viktor Szakats * contrib/hbcurl/hbcurl.hbp ! fix to copy curl implibs with a .dll.a extension instead of .a * package/mpkg_win.sh + copy .dll.a libs of curl and openssl to distro lib dirs * contrib/hbcurl/hbcurl.hbm * contrib/hbcurl/hbcurl.hbp * contrib/hbssl/hbssl.hbp % move some options to .hbm, deduplicate another 2017-10-11 10:08 UTC Viktor Szakats * contrib/hbcurl/tests/email.prg * contrib/hbcurl/tests/ftp_uldl.prg + use SChannel on Windows (requires libcurl 7.56.0 with SChannel enabled, e.g. the curl-for-win binaries), in order to use the certificate store provided by the OS. * contrib/hbcurl/tests/email.prg ! fix typo 2017-10-10 20:23 UTC Viktor Szakats * contrib/hbmzip/hbmzip.hbx * contrib/hbmzip/mzip.c * contrib/hbmzip/tests/myunzip.prg * contrib/hbmzip/tests/myzip.prg + add new functions to zip/unzip to/from memory (= strings): hb_unzipExtractCurrentFileToMem( hUnzip, [ cPassword ], @cContent ) --> nError nError: -300 --> uncompressed size too large, current limit is 256 MiB hb_zipStoreFileMem( hZip, cContent, cFileName, [ cPassword ], [ cComment ], [ lUnicode ] ) --> nError ! fix to handle errors returned by zipWriteInFileInZip() calls ! fix minor typos in comments and constant names + add tests 2017-10-10 16:32 UTC Viktor Szakats * src/compiler/genc.c ! fix cases when a double EOL is generated in the C source * use 'const' in empty source's dummy code (pedantic) % make empty source output a one-liner 2017-10-09 19:20 UTC Viktor Szakats * src/compiler/genc.c * cleanup whitespace in generated C source files + include pcode version in generated C code (with -b option) * do not include Harbour and C compiler version in the generated C source headers unless -b (debug) option is used. This makes comparing generated code across builds and compilers simpler. ; TODO: remove double EOL at EOF [DONE: 2017-10-10 16:32] 2017-10-09 10:14 UTC Viktor Szakats * .github/ISSUE_TEMPLATE.md * Put more emphasis on what to include in a report to not be closed right away as invalid. No new requirements, just the usual ones in CONTRIBUTING.md that are still missed in a great portion of the report. 2017-10-09 08:28 UTC Viktor Szakats * package/mpkg_win.sh + include the OS name in prod build notification 2017-10-09 01:41 UTC Viktor Szakats * contrib/gtwvg/gtwvglo.h * contrib/gtwvw/hbgtwvw.h * contrib/hbct/ctwin.c * contrib/hbct/cursor.c * contrib/hbct/screen2.c * contrib/hbct/setlast.c * contrib/hbct/setrc.c * contrib/hbexpat/3rd/expat/_hbconf.h * contrib/hbexpat/internal.c * contrib/hbmisc/ffind.c * contrib/hbnf/alt.c * contrib/hbnf/caplock.c * contrib/hbnf/ctrl.c * contrib/hbnf/numlock.c * contrib/hbnf/shift.c * contrib/hbxpp/xpparr.c * contrib/hbxpp/xppopc.c * contrib/xhb/xhbarr.c * contrib/xhb/xhbhash.c * contrib/xhb/xhbhashp.c * contrib/xhb/xhbkey.c * contrib/xhb/xhbmsgs.c * src/codepage/uc*.c * src/codepage/utf8sort.c * src/common/hbfopen.c * src/common/hbhash.c * src/debug/dbgentry.c * src/pp/hbpp.c * src/pp/ppcore.c * src/rdd/dbf1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxcrypt.c * src/rdd/hbsix/sxdate.c * src/rtl/arc4.c * src/rtl/filesys.c * src/rtl/gtapi.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtchrmap.c * src/rtl/gtclip.c * src/rtl/gtcrs/gtcrs.h * src/rtl/gtdos/gtdos.c * src/rtl/gtfunc.c * src/rtl/gtgui/gtgui.c * src/rtl/gtkbstat.c * src/rtl/gtkeycod.c * src/rtl/gtos2/gtos2.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/gtsln.h * src/rtl/gtstd/gtstd.c * src/rtl/gtsys.c * src/rtl/gttone.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.h * src/rtl/hbbfish.c * src/rtl/hbbfsock.c * src/rtl/hbcomhb.c * src/rtl/hbgtcore.c * src/rtl/hblpp.c * src/rtl/hblpphb.c * src/rtl/hbregex.c * src/rtl/hbregexc.c * src/rtl/hbsocket.c * src/rtl/hbsockhb.c * src/rtl/hbzlibc.c * src/rtl/hbznet.c * src/rtl/hbzsock.c * src/rtl/inkey.c * src/rtl/inkeyapi.c * src/rtl/mouse53.c * src/rtl/mouseapi.c * src/rtl/mousehb.c * src/rtl/oldclear.c * src/rtl/sha2.c * src/rtl/sha2hmac.c * src/rtl/spfiles.c * src/rtl/xsavescr.c * src/vm/asort.c * src/vm/maindllh.c * #include "hbapi.h" at the top, to not rely on API-/subsystem-specific Harbour headers doing it as a side-effect * contrib/hbct/dattime2.c * #include "hbapicdp.h" directly, to not rely on "hbset.h" including it as a side-effect * src/vm/maindllp/dllpcode.c % remove redundant #includes 2017-10-08 12:56 UTC Viktor Szakats * .appveyor.yml * config/global.mk * config/hbpost.hbm * contrib/3rd/sqlite3/sqlite3.hbc * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbbz2/3rd/bz2/bz2.hbc * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbcrypto/3rd/ed25519/ed25519.hbc * contrib/hbcrypto/3rd/ed25519/ed25519.hbp * contrib/hbcrypto/3rd/ed25519/ed25519.diff * contrib/hbcrypto/3rd/ed25519/sha512.h + contrib/hbcrypto/3rd/ed25519/sha512.c * contrib/hbcrypto/3rd/scrypt/scrypt.hbc * contrib/hbcrypto/3rd/scrypt/scrypt.hbp * contrib/hbexpat/3rd/expat/_hbconf.h * contrib/hbexpat/3rd/expat/expat.hbc * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbhpdf/3rd/libharu/hpdf.hbc * contrib/hbhpdf/3rd/libharu/hpdf.hbp * contrib/hblzf/3rd/liblzf/lzf.hbc * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hbmlzo/3rd/minilzo/minilzo.hbc * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmxml/3rd/minixml/mxml.hbc * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmzip/3rd/minizip/minizip.hbc * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbxdiff/3rd/libxdiff/xdiff.hbc * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * contrib/hbyaml/3rd/libyaml/yaml.hbc * contrib/hbyaml/3rd/libyaml/yaml.hbp + add the ability to build vendored libraries as dlls and link to these from dll versions of contrib libraries. It means that e.g. sqlite3 library will be moved to its own .dll instead of being statically linked to both sddsqlt3.dll and hbsqlit3.dll. * when building vendored libraries as dlls, make sure to avoid relying on Harbour core functions and build a self-contained library similar to standard builds. Except minizip which links to harbour.dll for the zlib API TODO: sync the .dll _filenames_ as well ; These changes don't affect static libs and apps. 2017-10-07 15:56 UTC Viktor Szakats * README.md * clang is now the primary compiler on Windows and darwin (as far as this fork is concerned) * recommend at least 6.x version of mingw - it's a free upgrade. * src/rtl/hbregex.c * silence -Waddress warning when building against a non-PCRE2 engine Ref: https://groups.google.com/d/msg/harbour-users/c9nhWHAJz-g/61IMG8mnBAAJ 2017-10-07 13:45 UTC Viktor Szakats * contrib/hbmxml/core.c ! replace non-ANSI-C89 strdup() call with a local implementation, which also uses malloc() because minixml is going to free the pointer via free(). This also avoids the MSVC annoyance: "The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup" 2017-10-07 12:19 UTC Viktor Szakats * contrib/hbmxml/3rd/minixml/config.h * contrib/hbmxml/3rd/minixml/mxml-*.c * contrib/hbmxml/3rd/minixml/mxml-private.h * contrib/hbmxml/3rd/minixml/mxml.diff * contrib/hbmxml/3rd/minixml/mxml.h * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/hbmxml.hbp % make local patch simpler and less intrusive * remove local patch dealing with missing `extern "C"` enclosure in public declarations. Instead make sure to always build hbmxml in C mode. + guard Harbour-specific redefinition of *printf functions, to allow builds that don't depend on Harbour libs 2017-10-07 11:09 UTC Viktor Szakats * contrib/hbmzip/3rd/minizip/ioapi.c * contrib/hbmzip/3rd/minizip/ioapi.h * contrib/hbmzip/3rd/minizip/minizip.diff * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmzip/3rd/minizip/unzip.c * contrib/hbmzip/3rd/minizip/zip.c % remove a whitespace difference % hbapifs.h no longer required after 5a3e100f116a17967368feb5bf7696c84aab5b41 ! fix wrong terminology in comment + guard Harbour-specific redefinition of allocation functions, to allow builds that don't depend on Harbour libs ; part of the local patch submitted upstream: https://github.com/madler/zlib/pull/304 * utils/hbmk2/hbmk2.prg * fold long line 2017-10-06 19:20 UTC Viktor Szakats * src/3rd/png/png.diff * src/3rd/png/pnglibconf.h % make local config patch less intrusive and more resilient to upstream updates 2017-10-06 18:57 UTC Viktor Szakats - contrib/hbbz2/3rd/bz2/bz2.diff * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbbz2/hbbz2.hbp * contrib/hbbz2io/hbbz2io.hbp - contrib/hblzf/3rd/liblzf/lzf.diff * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hblzf/hblzf.hbp - contrib/hbyaml/3rd/libyaml/yaml.diff * contrib/hbyaml/3rd/libyaml/yaml.hbp * contrib/hbyaml/hbyaml.hbp - remove local patches dealing with missing `extern "C"` enclosure in public declarations. These are needed when Harbour is built in C++ mode to make it possible to link with these components built in C mode. * resolve the above problem by always forcing C mode for Harbour sources depending on these buggy 3rd party headers. This should fix linkage issue also when using vanilla/3rd party builds of these 3rd party packages. * contrib/3rd/sqlite3/sqlite3.diff - remove Minix-specific local patch from sqlite3 sources Please submit this upstream if you need Minix compatibility, or install sqlite3 libs/headers using the OS's package manager * contrib/hbmzip/3rd/minizip/ioapi.h * contrib/hbmzip/3rd/minizip/minizip.diff * contrib/hbmzip/3rd/minizip/zip.h - drop local patches converting C++ comments to ANSI ones. It's not the job of Harbour to fix these. If it breaks on some system, either submit these patches upstream or use sources ported to said systems. 2017-10-06 17:12 UTC Viktor Szakats * contrib/hblzf/3rd/liblzf/lzf.hbp * apply _int64 patch for all mingw/clang targets, and regardless of version 2017-10-06 16:21 UTC Viktor Szakats * src/3rd/zlib/crc32.c * src/3rd/zlib/Makefile * src/3rd/zlib/zlib.diff * replace patch with -D option 2017-10-06 16:11 UTC Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.hbp + contrib/hbcrypto/3rd/ed25519/add_scalar.c + sync public API with upstream * contrib/hblzf/3rd/liblzf/liblzf.diff * contrib/hblzf/3rd/liblzf/lzf_c.c * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hblzf/3rd/liblzf/liblzf.diff -> contrib/hblzf/3rd/liblzf/lzf.diff * replace patch for an old mingw version with preprocessor trick Ref: 49faed577ee4ddbaf583a3f0f6d5a5bca809cdf4 * rename diff to the .hbp/.hbc name like in other vendored dirs * utils/hbmk2/hbmk2.prg * utils/hbmk2/po/hbmk2.en.po + define _UNICODE alongside UNICODE in -winuni mode. _UNICODE enables Unicode mode in MS C runtime calls. Harbour core/contrib code doesn't use any of these C runtime calls, but in most 3rd party code it's expected that these are enabled together. 2017-10-06 12:09 UTC Viktor Szakats * config/hbpost.hbm * config/hbpre.hbm * move -winuni to hbpre.hbm from hbpost.hbm, so project files can read its state 2017-10-06 08:44 UTC Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh ! fix shellcheck warning: SC2039: In POSIX sh, UID is undefined. ; 'id' tool tested to be available on CentOS Linux, darwin 2017-10-06 08:43 UTC Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh * package/mpkg_src.sh * package/mpkg_win_dl_mxe.sh * use ${var} syntax (vs $var) for variable access everywhere 2017-10-05 16:21 UTC Viktor Szakats * contrib/hbbz2io/hbbz2io.hbc * contrib/hbbz2io/hbbz2io.hbp ! restore to depend on hbbz2. It's necessary for the bz_internal_error() function. The amount of issues this single weird solution causes is just staggering. 2017-10-05 15:27 UTC Viktor Szakats * contrib/hbbz2io/hbbz2io.hbc * contrib/hbbz2io/hbbz2io.hbp * depend directly on bz2, instead of hbbz2 * package/mpkg_rpm_docker.sh * upgrade to gcc 6.4.1 (appeared in Amazon Linux 2017.09) (was: gcc 4.8.5) 2017-10-05 07:31 UTC Viktor Szakats * contrib/hbcurl/hbcurl.hbc * contrib/hbssl/hbssl.hbc ! add hack to help find the correct libdir for libcurl/openssl under MSYS2 when using non-MSYS2 version of these packages, as in the AppVeyor CI builds. Without this, the ld linker will pick the libs under MSYS2/mingw*/lib directory (if these packages are installed) and they may be a different version than we're expecting. ; TODO: if this is okay, this logic could be extended to other dependencies and even the detection logic included, to make it work outside the make.hb/contrib context. * contrib/gtqtc/gtqtc.hbc * contrib/hbicu/hbicu.hbc * replace HB_WITH_* macros with HBMK_DIR_* ones. Former is where these components should be, while the latter is where they actually are. 2017-10-04 13:30 UTC Viktor Szakats * contrib/hbdoc/hbdoc_assets.yml * docs/_includes/head.html * docs/_includes/header.html * docs/css/styles.scss * remove github ribbon 2017-10-04 07:34 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.56.0 Ref: https://curl.se/changes.html#7_56_0 2017-10-04 03:34 UTC Viktor Szakats * contrib/hbcurl/hbcurl.hbp + pick 64-bit libcurl.dll with a -x64 suffix * contrib/sddoci/sddoci.hbp ! limit clang filter to Windows platform 2017-10-04 02:39 UTC Viktor Szakats * contrib/hbcurl/easy.c * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * remove temporary hack to build prod branch against a patched curl build. Next release of curl is due tomorrow and contains this patch. Ref: 3bb30c9c30b24d4209d1c47966a520ef53f160a5 2017-10-04 01:57 UTC Viktor Szakats * contrib/hbcurl/hbcurl.hbp + pick implib when named as '../lib/libcurl.dll.a' * generalize -depimplibd= value 2017-10-04 00:40 UTC Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.diff * contrib/hbmzip/3rd/minizip/unzip.c * contrib/hbmzip/3rd/minizip/zip.c * use #if 0 in local patch * make local patch a bit cleaner 2017-10-03 14:31 UTC Viktor Szakats * contrib/hbhpdf/hbhpdf.hbc * contrib/hbhpdf/hbhpdf.hbp * contrib/hbhpdf/3rd/libhpdf/_hbhbpdf.c -> contrib/hbhpdf/3rd/libharu/_hb_hpdf.c * contrib/hbhpdf/3rd/libhpdf/libhpdf.diff -> contrib/hbhpdf/3rd/libharu/hpdf.diff * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc -> contrib/hbhpdf/3rd/libharu/hpdf.hbc * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp -> contrib/hbhpdf/3rd/libharu/hpdf.hbp * contrib/hbhpdf/3rd/libhpdf/ -> contrib/hbhpdf/3rd/libharu/ * rename files to match generated library name * rename vendored directory to match the canonical package name 2017-10-03 08:08 UTC Viktor Szakats * .github/CONTRIBUTING.md * contrib/gtwvw/doc/intro.en.md * contrib/hbcurl/tests/email.prg * contrib/hbhttpd/widgets.prg * contrib/hbtip/thtml.prg * README.md * tests/guestbk.prg * XHTML <br /> -> HTML5 <br> 2017-10-03 07:58 UTC Viktor Szakats * README.md + document the most common build setting: HB_BUILD_VERBOSE 2017-10-02 18:59 UTC Viktor Szakats * config/common/clang.mk * config/hbpost.hbm ! sync clang static-libgcc settings with mingw. This should stop harbour .dlls being dependent on libgcc_s_dw2-1.dll (and similar) on 32-bit. On 64-bit, this isn't needed, at least with the MSYS2 64-bit stack. 2017-10-02 15:39 UTC Viktor Szakats * contrib/hbformat/utils/hbformat.hbp % remove a no longer necessary darwin special case 2017-10-02 14:40 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix libs= behavior to allow adding the same lib multiple times. This may be necessary with libs with circular dependencies, such as hbbz2 - bz2 - hbbz2io due to the bz2_internal_error() function. This also caused full static (HB_BUILD*_DYN=no) build of hbrun to fail to link under clang64. This also makes libs= behave the same as -l that always allowed listing the same library multiple times. * contrib/hbbz2/hbbz2.hbc * remove recently added hack unnecessary after above fix 2017-10-02 12:10 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/scrypt.hbp * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbyaml/3rd/libyaml/yaml.hbp ! define NDEBUG to disable assert() calls (that also include source filenames) in final code 2017-10-02 10:32 UTC Viktor Szakats * README.md * rename "special" build option section to "for Harbour development" These options targeting Harbour development itself and not needed and/or recommended for normal use. * reorder and move options between general/for-development sections, so that they reflect their relevance. * remove an obsolete setting dealing with old GNU Make versions + add WARNING to HB_INSTALL_PREFIX 2017-10-02 08:59 UTC Viktor Szakats * bin/make.hb * config/cygwin/gcc.mk * config/global.mk * config/win/mingw.mk * config/win/msvc.mk * contrib/gtqtc/gtqtc.hbp * contrib/gtqtc/gtqtc1.cpp * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hbcrypto/scryptcf.prg * contrib/hbct/disk.c * contrib/hbcurl/hbcurl.hbc * contrib/hbdoc/hbdoc.prg * contrib/hbdoc/ngjson2hbdoc.hb * contrib/hbmisc/fcomma.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnf/pchr.prg * contrib/hbnf/xbox.prg * contrib/hbssl/ssl.c * contrib/hbtip/mailsend.prg * contrib/hbtip/tests/tipwget.prg * contrib/hbwin/hbwinole.h * contrib/rddads/rddads.hbp * contrib/rddmisc/arrayrdd.prg * contrib/sddsqlt3/core.c * contrib/xhb/dirrec.prg * ChangeLog.txt * doc/cmpopt.txt * doc/destruct.txt * doc/en/string.txt * doc/oldnews.txt * doc/pp.txt * doc/todo.txt * doc/xhb-diff.txt * include/hbapi.h * include/hbcompdf.h * include/hbdefs.h * include/hbexprb.c * include/hbpp.h * package/harbour.rc * README.md * src/common/expropt1.c * src/common/expropt2.c * src/common/hbarch.c * src/common/hbprintf.c * src/pp/ppcore.c * src/rdd/dbcmd.c * src/rdd/delim1.c * src/rdd/hsx/hsx.c * src/rtl/console.c * src/rtl/getsys.prg * src/rtl/gtcrs/hb-charmap.def * src/rtl/hbtoken.c * src/rtl/isprint.c * src/rtl/maxrow.c * src/rtl/scrrow.c * src/rtl/transfrm.c * src/vm/cmdarg.c * src/vm/dynsym.c * src/vm/hvm.c * src/vm/itemapi.c * src/vm/macro.c * src/vm/thread.c * utils/hbmk2/doc/hbmk2.*.md * utils/hbmk2/hbmk2.prg * utils/hbtest/rt_trans.prg ! 'f.e.' -> 'e.g.' 2017-10-01 22:42 UTC Viktor Szakats - src/3rd/pcre/*.h - src/3rd/pcre/*.c - src/3rd/pcre/LICENCE * remove vendored pcre1 source code. Obsoleted by vendored pcre2. ; TODO: remove HB_HAS_PCRE_LOCAL references from the GNU Make system 2017-10-01 16:35 UTC Viktor Szakats * .travis.yml + start brew via travis_retry % stop installing some dependencies via MXE to try fitting into the 50 minutes time-slot * restore qt for native macOS builds, there is plenty of time there * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.hbp * contrib/xhb/xhb.hbx + contrib/xhb/xhberr2.c + add xHarbour Error() function. It's just a shorter alias for Cl*pper's ErrorNew() * package/mpkg_win.sh * cleanups + display a warning if GITHUB_TOKEN is undefined 2017-10-01 14:42 UTC Viktor Szakats * .travis.yml ! always force bottle with brew in the hope it fails early instead of trying to build dependencies from source * package/mpkg_win.sh * do not fail on tag/hash mismatch, but continue to fix it later in the code - it should now succeed with GITHUB_TOKEN correctly filled 2017-10-01 13:54 UTC Viktor Szakats * .travis.yml * pass GITHUB_TOKEN to the docker process * package/mpkg_win.sh * remove some debug + cleanups 2017-10-01 10:48 UTC Viktor Szakats * .travis.yml * bump to clang 5 on Linux * package/mpkg_win.sh * cleanup * more debug 2017-10-01 09:35 UTC Viktor Szakats * .travis.yml * package/mpkg_win.sh ! move renaming logic to .sh * add line to debug GitHub API result ! disable shell debug for new curl calls 2017-10-01 08:01 UTC Viktor Szakats * package/mpkg_win.sh ! avoid GitHub API rate limit by authenticating 2017-09-30 19:41 UTC Viktor Szakats * package/mpkg_win.sh * remove one of the methods to skip deploy ! fix typo in hash comparison 2017-09-30 18:56 UTC Viktor Szakats * .travis.yml * package/mpkg_win.sh * try another two methods to skip the deploy dynamically 2017-09-30 15:07 UTC Viktor Szakats * .appveyor.yml * switch to clang to build snapshot binary releases. Please see RELNOTES, on how to install clang via MSYS2. The binaries remain compatible with libs/objects built with mingw 7.x. * utils/hbmk2/pkg_dynl.hbm ! fix typo made in 2017-09-29 14:14 UTC 2017-09-30 14:38 UTC Viktor Szakats * package/mpkg_win.sh ! try a different method to fix stray draft release and failed CI jobs in Travis CI Windows builds 2017-09-30 12:36 UTC Viktor Szakats * .travis.yml ! try fixing deploy issues from Linux These then create unpublished draft releases that need to be manually deleted. Ref: https://travis-ci.org/vszakats/hb/jobs/281590920#L6436 * config/*/*.mk * config/detect.mk * fold long lines to fit in 80 columns 2017-09-30 07:45 UTC Viktor Szakats - config/detplat.mk * config/global.mk % use $(eval) again 2017-09-30 00:19 UTC Viktor Szakats * config/detfun.mk * config/global.mk % drop code dealing with pre-3.81 GNU Make versions * using pre-3.81 GNU Make now exist with an error 2017-09-30 00:07 UTC Viktor Szakats * config/abstr/libs.mk * config/aix/libs.mk * config/beos/libs.mk * config/bin.mk * config/bsd/libs.mk * config/cygwin/libs.mk * config/darwin/libs.mk * config/detfun.mk * config/detplat.mk * config/doc.mk * config/dyn.mk * config/global.mk * config/hpux/libs.mk * config/instsh.mk * config/lib.mk * config/linux/libs.mk * config/minix/libs.mk * config/none.mk * config/vxworks/diab.mk * config/vxworks/global.mk * config/vxworks/libs.mk * config/wce/msvcarm.mk * config/win/mingw.mk % use GNU Make 'else if' branches. Requires 3.81. * config/detplat.mk ! fix an old typo 2017-09-29 23:21 UTC Viktor Szakats * README.md * GNU Make 3.81 is now _required_ (was: recommended) 8 years passed since touching this topic previously - time to move on now. QNX was the reason to restore 3.79 compatibility, but that QNX version was very old even then (6.2.1 from 2003). Current make files are not fully 3.79 compatible anyway. It means that compatibility branches will be removed and the "xmas-tree" if structures be converted to proper elseif branches once again. It also gives @ 3.80: $(eval), @ 3.81: $(and), $(or), $(realpath), $(abspath), $(lastword), 'else if*' functions. libc went to 3.81 last year: https://sourceware.org/ml/libc-alpha/2016-06/msg00411.html Ref: 2009-08-18 17:38 UTC+0200 Ref: 2010-06-14 11:55 UTC+0200 2017-09-29 17:52 UTC Viktor Szakats * package/mpkg_win.sh * package/getsrc.sh * package/RELNOTES.md * change macro markup to not mess up Markdown formatting 2017-09-29 17:31 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + 'msys2' macro is now only defined if pacman is available _and_ we're targeting a compiler that's supported under MSYS2. These are mingw, mingw64, clang, clang64 now. * contrib/*/*.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbicu/hbicu.hbc * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbssl/hbssl.hbm + update mingw-specific filters to also apply to clang + update msys2 filters to apply to both mingw and clang 2017-09-29 15:49 UTC Viktor Szakats * config/global.mk ! fix typo in prev 2017-09-29 14:14 UTC Viktor Szakats * bin/make.hb * config/global.mk * config/hbpost.hbm * package/mpkg_win.sh * utils/hbmk2/hbmk2.prg * utils/hbmk2/pkg_dynl.hbm * switch import library (implib) names generated/expected by win/mingw* win/clang* targets to use the GNU/MinGW/Cygwin convention: libexample.dll.a (was: libexample_dll.a) It makes it easier to use 3rd party .dlls (e.g. from MSYS2) and the behavior of the build toolchains is now closer accross platforms - e.g. selecting static/dynamic can be controlled via similar hbmk2/linker options. Previously one would have to use the _DYNSUFFIX envvar trick for this, now it's enough to pass -shared to hbmk2. _DYNSUFFIX is now only needed for non-gcc-like Windows targets, like MSVC. (These other targets don't have any common standard/convention for that, so each project invents its own rules. MS 'vcpkg' is using the '*static.lib' name for static libs, and implib names remain undecorated.) ; NOTE: This may cause fall-outs depending on Harbour build settings, project options and environment. Some of these may be actual issues, so this update is EXPERIMENTAL at this point. ; TODO: extend to use this conventions for: wce/mingwarm, cygwin, os2, dos/djgpp ; TODO: create unified harbour core library (mt + st) to replace the current list of per-sub-components libs. This would make switching between static/dynamic mode even simpler. (It has been planned for many years.) * utils/hbmk2/hbmk2.prg + now that mingw*/clang* uses the .dll.a convention, make sure that the static libraries get selected in -static (default) mode. * extras/templatc/hbtplc.hbp * extras/template/hbtpl.hbp * delete _HB_DYNSUFF references from examples 2017-09-29 14:09 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! add -mconsole/-mwindows and related logic to clang/clang64 Windows targets (even though things seemed to be working without it) ! fix to not link 'm' library for win/clang, win/clang64 (even though it hasn't caused issues) % remove a reference to win/gcc 2017-09-28 16:51 UTC Viktor Szakats * .appveyor.yml ! fix to publish non-deployed binaries as AppVeyor artifacts 2017-09-28 16:41 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + on Windows allow clang/clang64 targets to use mingw/mingw64 Harbour libraries and vice versa. These should be compatible. It means that clang can be used to build Harbour by using the snapshot binary package currently offered for download. It will also allow to use mingw after the snapshot binaries will be switched over to clang. Notice that the only supported clang installation is the one via MSYS2. (That is only the only workable way too as of now.) * package/RELNOTES.md + update install instructions to install clang Note that clang still depends on certain mingw-w64 elements, so these will also be installed, but Harbour will now auto-detect and use clang instead of gcc. 2017-09-28 15:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/ppcore.c ! fixed memory leak in unclosed extended block 2017-09-28 12:59 UTC Viktor Szakats * src/compiler/complex.c ! fix C++ comments after merge 2017-09-28 14:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/ppcore.c ! fixed line numbering in unclosed extended block * interrupt extended block processing if it contains internal FUNCTION or PROCEDURE declaration * include/hbcompdf.h * src/compiler/complex.c * src/compiler/harbour.y * src/compiler/hbmain.c ! fixed possible GPF when FUNCTION/PROCEDURE starts in unclosed control structure - thanks to Abe Buchinger for information about the problem * report all unclosed control structures when FUNCTION/PROCEDURE starts * src/compiler/harbour.yyc * src/compiler/harbour.yyh * regenerated 2017-09-28 11:48 UTC Viktor Szakats * docs/forks.md * package/mpkg_win.sh * README.md * package/harbour@3.4.rb -> package/harbour-vszakats.rb * identify this fork by "vszakats" (till a better name comes up) instead of version number 3.4 * package/mpkg_win.sh ! do not deploy non-releasable binaries to GitHub (these are only offered as downloadable AppVeyor artifacts) 2017-09-28 08:17 UTC Viktor Szakats * config/global.mk + auto-detect win/clang and win/clang64, in sync with hbmk2. clang will be detected _before_ mingw. * package/RELNOTES.md % add option to pacman command to avoid package customization prompts * utils/hbmk2/hbmk2.prg * sync auto-detection comments with global.mk * whitespace 2017-09-27 20:44 UTC Viktor Szakats * README.md * utils/hbmk2/hbmk2.prg + config/win/icc64.mk + add icc64 to the target mix. Same codepath as icc. * update setup instructions based on an internet search (untested) They now require a 64-bit host 2017-09-27 20:24 UTC Viktor Szakats - config/win/gcc.mk * README.md * remove traces of win/gcc targets, this was a dead-end 2017-09-27 20:21 UTC Viktor Szakats - config/wce/mingw.mk * README.md * cleanups to the platform matrix 2017-09-27 17:41 UTC Viktor Szakats * .github/CONTRIBUTING.md * README.md * URL updates 2017-09-27 09:38 UTC Viktor Szakats * contrib/hbmysql/mysql.c * contrib/sddmy/core.c * silence Apple clang 9.0 warnings in mysql.h header 2017-09-27 09:24 UTC Viktor Szakats * include/hbgtinfo.ch * sync HB_GTI_* values between 3.2 and 3.4 2017-09-27 08:56 UTC Viktor Szakats * config/common/clang.mk * config/darwin/gcc.mk * config/darwin/global.mk * config/darwin/icc.mk ! add LIBPATH to the dynamic linker (regression from 2017-09-27 07:54 UTC) * .travis.yml * add links to image info pages * config/detect.mk * fold long lines 2017-09-27 07:54 UTC Viktor Szakats * config/common/clang.mk * config/darwin/gcc.mk * config/darwin/global.mk * config/darwin/icc.mk % deduplicate darwin libtool logic into a central location * fold some long lines * utils/hbmk2/hbmk2.prg + Show symbol/name list query commands in verbose mode (-trace -info -q-) * ELSEIF -> DO CASE * src/rtl/tget.prg * In Harbour - just like in Cl*pper- the picture mask is ignored when a logical value is being edited in a GET, and limiting input to 'YNTF' keys only. This update changes this behavior in Harbour default non-strict builds, to make it accept language-specific Yes/No shortcut keys as well, in sync with the 'L' picture mask behavior. Ref: https://groups.google.com/d/msg/harbour-users/L7Yjl5uk8-0/5G7_JptdAwAJ * config/global.mk * minor in comment * package/mpkg_win.sh * drop unused bcc, watcom/win related lines * comment updates * .travis.yml * update to Xcode 9 image ! fix to not finish with a non-zero if harbour-snapshot-win.7z was missing * package/mpkg_win_ci.sh * package/mpkg_win.sh ! add a default value for HB_JOB_TO_RELEASE 2017-09-26 18:00 UTC Viktor Szakats * config/common/clang.mk * config/darwin/gcc.mk * config/darwin/icc.mk % remove unnecessary libtool -dynamic options on darwin: * '-undefined warning': should be an error (the default) * '-multiply_defined suppress': should be an error * '-single_module': obsolete, default since around 2003-2005 * utils/hbmk2/hbmk2.prg % update/remove libtool -dynamic options on darwin: * '-undefined suppress': change to 'dynamic_lookup' * '-bind_at_load': comment out. It seems this isn't needed and ld no longer shows a warning to add this. It should work with all darwin compilers: reflect this in the code. + darwin: build in -shared mode by default even if not installed to a system location. Relative binding was implemented earlier, so this works now on any location without the help of any DYLD_* envvar. Before this change, app built with hbmk2 didn't start due to missing symbols if user libs also offered dynamic version (e.g. because of HB_BUILD_CONTRIB_DYN=yes). + darwin: implement -static (and -fullstatic, which does the same), by forcing the linker to use the static version of user-supplied libraries even if a dynamic version exists in the same directory. ! darwin: fix to not accept -fullstatic on non-clang targets as well. They fail the same way as clang, the linking tool/process is identical for all target * darwin: remove the warning about -fullstatic not supported, now it's equivalent to -static. * win: assume win platform for clang-cl/clang-cl64 compilers * config/global.mk * README.md + HB_BUILD_CONTRIB_DYN now defaults to 'yes' on darwin. Both static and shared hbmk2 builds should be working correctly now. * config/global.mk * utils/hbmk2/hbmk2.prg - do not auto-detect a few compilers anymore: * Equation Solution mingw builds (HB_CCPREFIX=x86_64-pc-mingw32-gcc) * TDM DWARF-2 builds (HB_CCSUFFIX=-dw2) * iccia64 target * msvcia64 target ! remove misdetection of clang-cl/clang ; These can still be used with properly configured HB_COMPILER, HB_CC* values * utils/hbmk2/hbmk2.prg + add autodetection of win/clang, win/clang64 (on MSYS2) * package/mpkg_src.sh ! fix to detect GNU tar on macOS correctly + sort the filelist for reproducibility + add certain options to improve reproducibility of the source archive. It's incomplete (timestamps are not well-defined) and doesn't seem to have the desired effect on macOS (e.g. usernames are included in the tar, despite the options), but it's a start. % bump gzip compression to maximum * package/mpkg.hb ! fix to not convert the last git modification timestamp to the local timezone. * docs/images/flag-br.svg % remove SVG version in sync with rest of files 2017-09-26 14:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmemio/memio.c ! fixed FO_TRUNC attribute in MEM: file IO - thanks to Miroslav Georgiev for information about the problem * include/hbgtinfo.ch * src/rtl/gtwvt/gtwvt.h * src/rtl/gtwvt/gtwvt.c + added new hb_gtInfo() action HB_GTI_SYSMENUADD It allows to add new items to window system menu which selected add defined by user key code into keyboard queue, i.e. hb_gtInfo( HB_GTI_SYSMENUADD, HB_K_MENU, "Settings" ) * In WinCE builds use DeleteMenu() + AppendMenu() instead of missing ModifyMenu() ! pacified warning in non UNICODE builds 2017-09-25 08:52 UTC Viktor Szakats * config/win/clang.mk * utils/hbmk2/hbmk2.prg * pass target specifiers to windres with clang/clang64 ! fix Harbour-less hbmk2 build 2017-09-25 00:25 UTC Viktor Szakats * config/common/clang.mk * config/win/global.mk * config/win/mingw.mk % move timestamp url win/global.mk * utils/hbmk2/hbmk2.prg ! call windres and fallback dlltool without .exe extension with win/clang, win/clang64 2017-09-24 22:53 UTC Viktor Szakats * config/postinst.hb * config/common/clang.mk * utils/hbmk2/hbmk2.prg + use llvm-ar with clang (was: ar) * drop 'D' flag with llvm-ar because deterministic output is the default there + getFirstFunc(): use the 'nm' tool as defined in platform detection + use llvm-nm for clang (was: ccprefix + nm) + use llvm-dlltool on Windows with clang 5.0.0 and above (was: ccprefix + dlltool + ccsuffix + ext) ; ignore ccprefix/ccsuffix, and use no .exe (on Windows) extension when calling these tools 2017-09-24 18:08 UTC Viktor Szakats * config/global.mk ! fix stupid mistake today in 538bb21c8ce25a38e786197875de7fccb8f3d1de 2017-09-24 17:24 UTC Viktor Szakats * config/common/clang.mk * utils/hbmk2/hbmk2.prg * set clang binary calling to: - ignore HB_CCPREFIX - omit platform-specific executable extension - honor HB_CCSUFFIX (used for version number) 2017-09-24 10:17 UTC Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg ! add clang/clang64 to some platform/cpu and cross-build define configuration conditions * config/global.mk * config/win/msvc.mk * README.md * utils/hbmk2/hbmk2.prg + config/win/clang-cl64.mk + accept clang-cl/clang-cl64 compiler (it won't work and can't test this, so it's just some basics) * config/win/clang-cl.mk * add a link 2017-09-24 10:01 UTC Viktor Szakats * config/global.mk * package/mpkg_win.sh * README.md * utils/hbmk2/hbmk2.prg * cleanup name of LLVM/Clang 2017-09-24 00:48 UTC Viktor Szakats * contrib/hbodbc/odbc.c * contrib/sddodbc/core.c ! suppress MSVC warnings inside MS ODBC headers * package/mpkg_win_dl.sh * drop vcpkg. Even a single, small, package like libexpat takes 4+ minutes to build, sources are outdated version an downloaded via cleartext HTTP, which is worrying even if MS checks it with an SHA512 checksum. * package/mpkg_win_ci.sh + try creating a binary artifact for msvc as well 2017-09-23 23:03 UTC Viktor Szakats * contrib/gtwvg/gtwvglo.h * contrib/gtwvw/hbgtwvw.h * suppress warnings for all msvc versions 2017-09-23 22:50 UTC Viktor Szakats * .appveyor.yml * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh * HB_TARGET -> HB_JOB * move some envvar initialization to yaml ! fix initializing HB_JOB4 2017-09-23 22:41 UTC Viktor Szakats * contrib/hbbz2/hbbz2.hbc ! add hack to make clang find bz_internal_error symbol, when linking the hbbz2io dll * package/mpkg_win.sh * tweak to avoid uploading non-mingw packages as GitHub releases (but still offer them via AppVeyor's 'Artifacts' tab) 2017-09-23 18:54 UTC Viktor Szakats * .appveyor.yml * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh * package/upd_doc.sh * untie target compiler from repo branch * set mingw as the target that updates releases, tag, docs and sends out notification (for prod only). These were previously tied to the master branch builds as-is. % do not install mingw dependencies when building with msvc * disable cache, it's ineffective in this setup % try not updating the msys2 packages when building with msvc 2017-09-23 17:31 UTC Viktor Szakats * .appveyor.yml % try caching MSYS2 directory * contrib/gtwvg/gtwvglo.h * contrib/gtwvw/hbgtwvw.h ! try suppressing MSVC warnings inside MS SDK headers * package/mpkg_win.sh ! fix to prev 2017-09-23 16:04 UTC Viktor Szakats * .appveyor.yml + try building mingw, clang and msvc2017 in parallel * package/mpkg_win_ci.sh + fixup build info to work with clang * package/mpkg_win.sh ! fix typo in package assembly phase for clang * avoid chmod warning and simplify 2017-09-23 14:44 UTC Viktor Szakats * package/mpkg_win.sh + add support for clang 2017-09-23 14:30 UTC Viktor Szakats * contrib/hbwin/olecore.c ! silence dispid potentially uninitialized Ref: 2017-08-03 09:23 UTC * bin/make.hb ! fix to not rebuild hbbz2io when make.hb is invoked from the hbbz2 directory * package/mpkg_win.sh ! fix shellcheck warnings after recent change in HB_VF variable initialization + add clang/clang64 to list of platforms * reorder platforms, moving deprecated/experimental platforms to the bottom 2017-09-23 13:04 UTC Viktor Szakats * contrib/gtwvg/wvgutils.c * contrib/gtwvw/wvwutils.c ! fix more unnecessary consts stripping * utils/hbmk2/hbmk2.prg + create implib with win/clang, win/clang64 2017-09-23 12:34 UTC Viktor Szakats * contrib/hbwin/wapi_wingdi_font.c * contrib/hbwin/wapi_winuser_1.c * contrib/hbwin/win_bmp.c * contrib/hbwin/win_bmpd.c * contrib/hbwin/win_evnt.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c ! do not strip const where not necessary ! strip const with HB_UNCONST() where necessary ! WAPI_GETSCROLLINFO(), WAPI_GETSCROLLBARINFO(): - fix possible write beyond buffer - fix to not write directly into the HVM string buffer - return error if 3rd parameter is not passed by reference - fix regression where the scrollbar structure passed was accidentally zeroed before forwarding it to Windows API ! WAPI_SETSCROLLINFO(): fix possible read beyond buffer 2017-09-23 11:46 UTC Viktor Szakats * config/hbpost.hbm + apply some mingw setting to clang as well * include/hbsetup.h + clang always has 'GCC diag' + add HB_PP_VALDEBUG() macro to show macro name and value, as in: '#pragma message(HB_PP_VALDEBUG(MACRO))' 2017-09-23 10:58 UTC Viktor Szakats * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/gtwvw/tooltip.c * contrib/gtwvw/wvwutils.c * contrib/hbwin/win_shell.c ! do not strip const where not necessary ! strip const with HB_UNCONST() where necessary * contrib/gtwvw/gtwvwd.c ! silence an unused variable warning in non-UNICODE builds * contrib/hbssl/ssl.c * contrib/hbmysql/mysql.c * contrib/sddmy/core.c * suppress warnings in external headers/code with win/clang * utils/hbmk2/hbmk2.prg + define UNICODE for win/clang, win/clang64 targets 2017-09-23 10:02 UTC Viktor Szakats * contrib/hbwin/axcore.c * contrib/hbwin/hbolesrv.c ! do not strip const from CLSIDFromString() calls' 1st parameter * contrib/hbwin/hbolesrv.c * add 's_' prefix to a static variable name * contrib/hbwin/olecore.c ! do not strip const from AnsiToWide() parameter % adjust variable scopes * contrib/hbwin/mapi.c * contrib/hbwin/olecore.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_wingdi.c ! strip const with HB_UNCONST() to silence clang warnings * cleanup some casts * utils/hbmk2/hbmk2.prg + add {allwinar} filter that is true for win/wce + mingw*/clang/clang64 targets, IOW those that use the .a library format * contrib/hbamqp/hbamqp.hbp * contrib/hbcurl/hbcurl.hbc * contrib/hbcurl/hbcurl.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbgs/hbgs.hbp * contrib/hbssl/hbssl.hbc * contrib/hbssl/hbssl.hbp * contrib/hbwin/hbolesrv.hbc * allmingw -> allwinar 2017-09-23 07:44 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to link Windows system libs with win/clang* targets 2017-09-23 01:06 UTC Viktor Szakats * config/common/clang.mk ! implement missed change for ar command argument order Ref: 67f0cfc1979d5ae18416b92bcc6b988ba50672e0 * package/mpkg_win_ci.sh + use clang for *clang branches 2017-09-22 18:05 UTC Viktor Szakats * package/mpkg_win_ci.sh + use clang/clang64 (instead of mingw) in the *-clang branches 2017-09-22 16:59 UTC Viktor Szakats * config/common/clang.mk + add Windows hardening options * utils/hbmk2/hbmk2.prg + add Windows-specific logic to the clang configuration: implib, resource, hardening, dynlib name forming, startup module ! clang/clang64 fixes ! address clang FIXMEs ; Harbour contribs can now be built using clang/clang64 on Windows * README.md + add clang MSYS2 toolchain * clang/mingw reference cleanups 2017-09-22 14:01 UTC Viktor Szakats * .appveyor.yml + clang branches * package/mpkg_win.sh + add TODO to remove obsolete compilers * package/mpkg_win_dl.sh + install clang via MSYS2 for clang branches 2017-09-22 12:51 UTC Viktor Szakats * contrib/hbcurl/easy.c * adapt to upstream (unreleased yet) API tweak Following: https://github.com/curl/curl/commit/ee56fdb6910f6bf215eecede9e2e9bfc83cb5f29 * contrib/hbcurl/hbcurl.ch + add CURLSSLSET_NO_BACKENDS Following: https://github.com/curl/curl/commit/b8e0fe19ec3bd3b673a14043a4b5e656d9c26d06 2017-09-22 01:51 UTC Viktor Szakats * config/common/clang.mk * config/win/clang.mk * utils/hbmk2/hbmk2.prg ! fixes for the win/clang platform Tested under MSYS2 using the packages mingw-w64-{i686,x86_64}-clang Currently at version 5.0.0. * avoid long linker command-lines with win/clang targets This also avoids hitting a clang command-line processing bug, where a bytes is dropped at every 0x2000 bytes. + add code sign support for win/clang targets + add strip and Windows resource support for win/clang targets + handle win/clang like other clangs in hbmk2 (untested, work in progress) + add FIXME comments to hbmk2 where clang support still needs to be sorted out. There are bits littered in the linux/gcc config branch, the win/mingw branch. There are also the msvc-compatible clang-cl/clang-cl64 bits in pre-experimental stage. * reorder Windows compilers in a few hbmk2 compiler lists * README.md + config/win/clang64.mk * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile * utils/hbi18n/Makefile * utils/hbmk2/Makefile * utils/hbtest/Makefile * utils/hbmk2/hbmk2.prg * utils/hbmk2/po/hbmk2.*.po * contrib/gtqtc/gtqtc.hbp * contrib/hbicu/hbicu.hbp + add win/clang64 target. So far only to separate the output directories and allow 32/64-bit binaries to live in parallel. The build process/config are identical. + add {allclang} filter for hbmk2 * README.md * promote clang from experiment to normal (work in progress) * show experimental status in target matrix + add clang MSYS2 setup examples for Windows * src/rtl/filesys.c ! add missing const (appearing as clang 5 warning) * src/vm/cmdarg.c ! add HB_UNCONST() for a const stripping (I hope its fine) (appearing as clang 5 warning) * src/vm/mainstd.c ! fix to build for the win/clang target by guarding out a mingwism ; Harbour core is built correctly now using the Clang toolchain provided by MSYS2. 2017-09-19 22:49 UTC Viktor Szakats * config/win/watcom.mk * utils/hbmk2/hbmk2.prg ! remove watcom resource compiler (wrc) option "-zm: output Microsoft/IBM format .res files". The option enables a buggy codepath, generating a corrupt resource object, which in turn makes Windows fail to launch harbour.exe with a manifest policy error 'Invalid Xml syntax.'. The XML blob itself is identical to a well-working sample. Bug re/disappears by changing the XML blob. Tested with OpenWatcom 1.9, 2.0 32-bit + Windows 10. Turns out compiling/linking resources works without this option, and we don't need interoperability with MS/IBM, so it could be safely deleted and the buggy codepath avoided. Fixes: https://github.com/vszakats/hb/issues/313 * README.md * flag clang/icc/watcom on Windows with experimental status (over the existing 'partial support' status) * contrib/hbdoc/hbdoc_head.html * docs/_includes/head_stat.html * remove crossorigin="anonymous" from GA inclusion. It prevented tracking quite nicely, at least according to the Google Analytics dashboard 2017-09-19 14:35 UTC Viktor Szakats * config/po2lang.hb * src/lang/l_*.c * src/rtl/langapi.c ! remove a recently added (slightly dubious) `const` keyword, watcom doesn't like it. Ref: https://github.com/vszakats/hb/issues/313#issuecomment-330557347 2017-09-19 14:31 UTC Viktor Szakats * package/mpkg_src.sh * package/mpkg_ver.sh * revert some changes in c5652eb380b1c600ff1b33ab68a183d985814991 2017-09-19 13:30 UTC Viktor Szakats * package/mpkg_rpm.sh ! fix regression from today's c5652eb380b1c600ff1b33ab68a183d985814991 2017-09-19 13:27 UTC Viktor Szakats * src/pp/hbpp.c ! fix a code line placed between variable declarations Fixes: https://github.com/vszakats/hb/issues/312 2017-09-19 12:22 UTC Viktor Szakats * contrib/hbtip/tests/hbmk.hbm - contrib/hbtip/tests/mimetype.prg - contrib/hbtip/tests/test.prg * contrib/hbtip/WARNING.txt * contrib/hbtip/hbtip.hbx * contrib/hbtip/mime.c * include/harbour.hbx * src/harbour.def * src/rtl/Makefile + src/rtl/mime.c + tests/mime.prg * utils/hbtest/rt_misc.prg * migrate MIME functions from hbtip to Harbour core: tip_FileMimeType() -> hb_mimeFile() tip_FileNameMimeType() -> hb_mimeFName() tip_MimeType() -> hb_mimeStr() Onelines for the new core functions: hb_mimeStr( <cContent>, [<cDefaultType>] ) --> cMimeType hb_mimeFName( <cFileName>, [<cDefaultType>] ) --> cMimeType hb_mimeFile( <cFileName|hFile|nFile>, [<cDefaultType>] ) --> cMimeType Functionality/argument/return value are the same, with two exceptions: 1. The list of recognized extensions and file signatures have been revised to contain more widely used types only, it means some of them were removed and some new added. 2. The new functions will return `application/unknown` instead of `unknown` in case the type wasn't recognized and 2nd parameter was omitted. This applies to the TIP_*() compatibility wrappers as well. [INCOMPATIBILITY] The old functions were deprecate with HB_LEGACY_LEVEL4, effective in 3.4 now. * contrib/hbhttpd/core.prg * contrib/hbhttpd/hbhttpd.hbc * contrib/hbhttpd/hbhttpd.hbp * contrib/hbtip/mail.prg * contrib/hbtip/mailassy.prg * use core MIME functions 2017-09-19 08:30 UTC Viktor Szakats * package/mpkg_rpm.sh + automatically fill Harbour versions like win/wce scripts do * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_ver.sh * various minor improvements * package/mpkg_src.sh % omit filename/timestamp from tar.gz file for determinism * package/mpkg_win.sh + automatically fill version numbers via mpkg_ver.sh * package/harbour-wce.spec.in * package/harbour-win.spec.in * package/harbour.spec * use zero as default version number (they will be filled by `mpkg_rpm*.sh` scripts before use) * rename alphatag to verstat in harbour.spec + sync verstat support in win/wce .spec files with harbour.spec * README.md * raise minimum supported mingw version to 4.4.0 (was 3.4.2) + add mingw-w64 wikipedia link * config/cygwin/gcc.mk * cleanup 2017-09-19 00:18 UTC Viktor Szakats * README.md * package/mpkg_win.sh * package/getsrc.sh.in -> package/getsrc.sh * package/RELNOTES.md.in -> package/RELNOTES.md * rename to have standard extensions. This way they appear correctly on the web and grep searches and more familiar for humans too, etc. 2017-09-19 00:12 UTC Viktor Szakats * README.md * link RELNOTES.md.im from README for MSYS2/mingw-w64 install info * add URLs for standalone, non-multilib mingw binaries. For convenience only. * remove reference to multilib (aka dual-target, aka multi-target) mingw-w64. It does work, but 1) it's slightly more complicated to setup/use 2) it supports SJLJ only, with some performance penalty 3) it's incompatible with certain projects like QT. ; MSYS2 remains the recommended method to install and update mingw. This is the easiest to use, it produces the best performing binaries and it's compatible with QT. It's also the one used for snapshot builds and for building curl/openssl/etc dependencies. It's based on the same niXman scripts (mingw-w64) that the standalone builds and Linux and macOS/Homebrew mingw distros use. ; Other Windows mingw distros may work, but this fork doesn't use, test or support them. Use them at your own risk. * README.md * pcre2/pcre1 config related cleanups * package/RELNOTES.md.in * minor cleanup 2017-09-18 16:32 UTC Viktor Szakats * bin/3rdpatch.hb * docs/faq.html * README.md * tone down some legacy OS, Cygwin and MSYS1 references * config/postinst.hb * package/harbour.spec - remove Mandriva Linux references (last release was 6 years ago) 2017-09-18 16:14 UTC Viktor Szakats * src/3rd/pcre2/Makefile % delete PCRE1-specific sunpro hack committed here in 2009: df59bad4d3d74b34bbd027c6f3f314146abec7db It can be restored in case the issue applies to PCRE2 in current Solaris-compatible environments. 2017-09-18 13:10 UTC Viktor Szakats * config/global.mk * ChangeLog.txt * close some pending issues due to deprecation 2017-09-18 11:36 UTC Viktor Szakats * README.md * Deprecate some targets: * MSVC 2008 and older * msvcia64, iccia64 (Itanium) * Symbian * remove configuration examples for MSVC 2008/2010, native OS/2 * remove link to SDK compiler tools (MSVC 2008-based), commercial MSVC page and OS/2 gcc tools * update target matrix to reflect current deprecation statuses ! remove wce/msvcmips and wce/msvcsh from target matrix. These were never implemented. * docs/about.md * docs/faq.html * update links, order of platforms, tone down OS/2 and MS-DOS, Windows CE * utils/hbmk2/hbmk2.prg * .github/ISSUE_TEMPLATE.md * cleanups 2017-09-17 16:04 UTC Viktor Szakats * contrib/xhb/xhb.hbc + readd hbwin, it's called by xhb lib code * contrib/xhb/xhb.hbp * depend on hbwin only 2017-09-17 13:28 UTC Viktor Szakats * contrib/xhb/xhb.hbc * stop automatically including the following components, when xhb.hbc is used in a project: hbct.hbc, hbtip.hbc, hbfhip.hbc, hbxpp.hbc ; [INCOMPATIBLE] Please add each .hbc file above to your project, that your app does indeed needs. hbmk2 will give hints about this. The project files will remain compatible with 3.2 after the above update, so it's safe to do. This should makes it easier to drop xhb.hbc at a later point. 2017-09-15 18:28 UTC Viktor Szakats * config/po2lang.hb * generate language modules with the `const` keyword (missed this from the previous commit) 2017-09-15 15:32 UTC Viktor Szakats * src/common/funcid.c * src/compiler/cmdcheck.c * src/compiler/hbpcode.c * src/lang/l_*.c * src/rtl/langapi.c % add const for static structures * src/vm/classes.c * convert commented code to #if 0 2017-09-15 14:54 UTC Viktor Szakats * src/common/hbstrbm.c % adjust variable scope 2017-09-14 15:08 UTC Viktor Szakats * .appveyor.yml * long GPG keyid tricks didn't work, revert it 2017-09-14 14:46 UTC Viktor Szakats * .appveyor.yml * package/mpkg_win_ci.sh * tweak to enforce long GPG keyid 2017-09-14 13:29 UTC Viktor Szakats * package/mpkg_win_ci.sh * try enforcing long GPG keyid in all gpg operations (e.g. ones initiated via pacman) 2017-09-14 13:15 UTC Viktor Szakats * package/mpkg_win_dl.sh % building our own vcpkg from source is not necessary anymore, it part of the AppVeyor CI image since last week: https://www.appveyor.com/updates/2017/09/07/ 2017-09-14 01:56 UTC Viktor Szakats * contrib/hbexpat/core.c * contrib/hbtip/encurlc.c * contrib/hbtip/mime.c * type cleanups (HB_UINT) * contrib/hbnf/nwsem.c ! hb_parni() -> hb_parnl() * utils/hbmk2/hbmk2.prg ! rework previous two patches aiming to make .hbx DYNAMIC entries generated in lowercase. This fixes the issue where existing casing was always reset to lowercase % Upper() -> hb_asciiUpper() in HBX code 2017-09-13 16:50 UTC Viktor Szakats - contrib/hbmisc/spd.c - contrib/hbmisc/tests/spd.prg * contrib/hbmisc/hbmisc.hbp - remove sql_sprintf(). It was already guarded by HB_LEGACY_LEVEL4. The function is inherently unsafe and relies on the C RTL snprintf() by passing certain format strings as-is. There is no easy fix for these, besides a complete reimplementation. Use hb_StrFormat() and Harbour's date/time/numeric conversion functions instead. See also: 0f38617df26d41341354a2eb634ae1433beec70e 2017-09-13 16:49 UTC Viktor Szakats * contrib/hbmisc/spd.c + contrib/hbmisc/tests/spd.prg + add test * cleanup variable names, some code style 2017-09-13 12:45 UTC Viktor Szakats * contrib/hbssl/hbssl.hbm * contrib/hbssl/ssl_hbco.prg -> contrib/hbssl/ssl_hbcon.prg * resync a long-filename with 3.2 2017-09-12 17:36 UTC Viktor Szakats * ChangeLog.txt * README.md * use '$' as the prompt character for all platforms 2017-09-12 13:58 UTC Viktor Szakats * doc/gtapi.txt * doc/pp.txt * doc/windll.txt * text cleanups * src/pp/hbpp.c * whitespace sync with 3.2 2017-09-12 09:34 UTC Viktor Szakats * contrib/gtwvg/paint.prg ! fix to previous commit * contrib/gtwvg/tests/_tbrowse.prg ! typo in text * contrib/hbcairo/hbcairo.hbp ! fix sloppy comment * contrib/hbcairo/pattern.c * contrib/hbcairo/pdf.c * contrib/hbcairo/png.c * contrib/hbcairo/ps.c * formatting, comment typo * contrib/hbcairo/tests/table.prg * cleanups, formatting, use csv to generate test table 2017-09-11 23:14 UTC Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/menubar.prg * contrib/gtwvg/paint.prg * contrib/gtwvg/tests/_utils.prg * contrib/hbcairo/tests/fancytxt.prg * contrib/hbcairo/tests/glyphdbg.prg * contrib/hbhttpd/core.prg * contrib/hbhttpd/tests/eshop.prg * contrib/hbhttpd/widgets.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/doc/en/elapsed.txt * contrib/hbnf/menu1.prg * contrib/hbnf/menuto.prg * contrib/hbnf/pegs.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tests/aredit.prg * contrib/hbtip/thtml.prg * src/debug/dbgtobj.prg * src/rdd/hbsix/sxini.prg * src/rtl/hbi18n2.prg * src/rtl/tbrowse.prg * convert multidimensional array indexes to rugged-array syntax in the remaining cases where it was used `pcregrep -r '\[([^\]])*,([^\]])*\]' *` * contrib/hbcairo/tests/fancytxt.prg * fold long lines * contrib/hbnf/clrsel.prg * replace some low-ASCII characters with Chr() * contrib/gtwvg/paint.prg % minor optimizations 2017-09-11 18:34 UTC Viktor Szakats * contrib/gtwvg/*.prg * minor cleanups 2017-09-11 17:03 UTC Viktor Szakats * contrib/rddads/rddads.h * contrib/rddads/rddads.hbp + make it possible to do basic test builds outside the Windows and Linux platforms (darwin tested), by pointing HB_WITH_ADS to the official ADS header (11.10 tested, earlier versions are not supported and may or may not work.) This is not to create working libs, only to catch problems at compile-time. * contrib/hbwin/hbwin.hbp * add some experimental and yet commented logic to build against Wine headers on non-Windows platforms using native (non-cross) C compiler. It currently fails badly at compile-time (Wine 2.0.2 tested) 2017-09-11 13:12 UTC Viktor Szakats * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/gtwgud.c * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/wvwdraw.c * contrib/hbamf/amfdec.c * contrib/hbamf/amfstdio.c * contrib/hbbz2io/bz2io.c * contrib/hbgzio/gzio.c * contrib/hbhpdf/core.c * contrib/hbmemio/memio.c * contrib/hbmisc/irm.c * contrib/hbmisc/spd.c * contrib/hbnetio/netiosrv.c * contrib/hbssl/ssl_sock.c * contrib/hbwin/olecore.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_winuser_1.c * contrib/hbwin/win_bmpd.c * contrib/hbwin/win_misc_1.c * contrib/hbzebra/qrcode.c * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/rddsql/sqlmix.c * contrib/sddfb/core.c * contrib/xhb/cstructc.c * contrib/xhb/hboutdbg.c * contrib/xhb/hbserv.c * include/hbdefs.h * include/hbexprb.c * include/hbrddcdx.h * include/hbthread.h * include/hbwmain.c * src/common/hbffind.c * src/compiler/complex.c * src/compiler/hbmain.c * src/compiler/hbopt.c * src/debug/dbgentry.c * src/rdd/dbf1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hbsix/sxcompr.c * src/rdd/wacore.c * src/rdd/workarea.c * src/rtl/cputime.c * src/rtl/dates.c * src/rtl/gtchrmap.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/kbsln.c * src/rtl/gtsln/keytrans.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.c * src/rtl/hbcom.c * src/rtl/hbproces.c * src/rtl/itemseri.c * src/rtl/langapi.c * src/rtl/run.c * src/rtl/sha1.c * src/rtl/space.c * src/vm/classes.c * src/vm/hvm.c * src/vm/itemapi.c * src/vm/set.c * src/vm/thread.c * convert commented C code to #if 0 blocks, or clean them up in different ways 2017-09-11 09:48 UTC Viktor Szakats * contrib/gtwvg/gtwvg.hbx * contrib/gtwvg/paint.prg * contrib/gtwvg/toolbar.prg * deprecate wvg_PrepareBitmapFromResourceId() and wvg_PrepareBitmapFromResourceName() with HB_LEGACY_LEVEL5 in favour of wvg_PrepareBitmapFromResource() which accepts both nID and cName as its 1st parameter. 2017-09-11 09:36 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbyaml/core.c * drop unnecessary fallthrough comments 2017-09-11 09:13 UTC Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/gtwvw/wvwdraw.c % minor optimizations * various code cleanups * sync gtwgud.c and gtwvgd.c 2017-09-11 00:11 UTC Viktor Szakats * contrib/rddads/ads1.c ! suppress this const stripping warning: ``` /contrib/rddads/ads1.c:5504:74: warning: cast from 'const char *' to 'unsigned char *' drops const qualifier [-Wcast-qual] u32RetVal = AdsExecuteSQLDirect( hStatement, ( UNSIGNED8 * ) hb_itemGetCPtr( pItem ), &hCursor ); ``` 2017-09-11 00:02 UTC Viktor Szakats * contrib/gtwvg/paint.prg * contrib/gtwvg/wvgwing.c * WVG_PREPAREBITMAPFROMRESOURCENAME(), WVG_PREPAREBITMAPFROMRESOURCEID(): rewrite as Harbour-level wrappers for wapi_LoadImage() * contrib/hbwin/wapi_winuser_1.c ! adjust wapi_LoadImage() description with implementation 2017-09-10 23:32 UTC Viktor Szakats * contrib/gtwvg/wvgwing.c ! WVG_PREPAREBITMAPFROMFILE(): rework to avoid regressions after recent cleanups ! WVG_PREPAREBITMAPFROMFILE(): fix multiple potential memory and resource leaks % WVG_PREPAREBITMAPFROMRESOURCENAME(), WVG_PREPAREBITMAPFROMRESOURCEID(): further cleanups. They are now almost identical to WAPI_LOADIMAGE(). 2017-09-09 20:07 UTC Viktor Szakats * contrib/gtwvg/wvgwing.c % further cleanups and fix to previous optimization 2017-09-09 20:02 UTC Viktor Szakats * contrib/gtwvg/wvgwing.c % WVG_PREPAREBITMAPFROMFILE(): minor optimization 2017-09-09 18:34 UTC Viktor Szakats * contrib/gtwvw/gtwvwd.c * #include hbapifs.h for clarity 2017-09-09 18:28 UTC Viktor Szakats * contrib/gtwvg/wvgwing.c * contrib/gtwvg/gtwvglo.h * WVG_PREPAREBITMAPFROMFILE(): rewrite to use VF file I/O instead of CreateFile() Windows API * contrib/gtwvg/gtwvg.h * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * hb_wvt_gtLoadPicture(): rewrite to use VF file I/O instead of CreateFile() Windows API. [INCOMPATIBLE] for C code that called this function directly, as the input filename is now a char * instead of an LPCTSTR. Harbour-level functions affected: wvg_SetGObjData(), wvg_Image(), wvt_LoadPicture(), wvt_LoadPictureEx() * hb_wvt_gtLoadPicture(), hb_wvt_gtLoadPictureFromResource(): define and export these on WinCE too, they will act as dummy functions on this platform. Previously it remained undefined instead. * contrib/gtwvg/wvgcore.c * hb_wvt_DrawImage(): rewrite to use VF file I/O instead of CreateFile() Windows API. Harbour-level functions affected: wvg_DrawImage(), wvt_DrawImage(), wvt_DrawButton(), wvt_DrawProgressBar() * contrib/gtwvw/gtwvwd.c * hb_gt_wvw_LoadPicture(): rewrite to use VF file I/O instead of CreateFile() Windows API. ; After these updates, gtwvg/gtwvw no longer accesses the filesystem directly. All VF filters/features work in filenames passed to them. * .gitattributes * .odt is a no longer a binary 2017-09-08 21:31 UTC Viktor Szakats * debian/copyright * LICENSE.txt * sync Harbour license with current GPL 2 * update GPL 2 text from: https://www.gnu.org/licenses/gpl-2.0.txt * tests/updcopyh.hb * catch the above 2017-09-08 21:07 UTC Viktor Szakats * config/postinst.hb * doc/xhb-diff.txt * ChangeLog.txt * text cleanups 2017-09-08 15:53 UTC Viktor Szakats * bin/hb-uncrustify.cfg * update PP section, but no changes in settings * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/gtwgu.h * contrib/gtwvg/gtwvg.h * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgwing.c * contrib/hbct/dattime3.c * contrib/hbct/disk.c * contrib/hbct/envparam.c * contrib/hbct/files.c * contrib/hbct/numbase.c * contrib/hbct/print.c * contrib/hbfship/exec.c * contrib/hbgd/gdwrp.c * contrib/hbgs/core.c * contrib/hbmzip/mzip.c * contrib/hbwin/hbolesrv.c * contrib/hbwin/mapi.c * contrib/hbwin/wapi_winnetwk.c * contrib/hbwin/wce_simc.c * contrib/hbwin/wce_smsc.c * contrib/hbwin/win_dlg.c * contrib/hbwin/win_prn3.c * contrib/hbwin/win_rpc.c * contrib/hbwin/win_shell.c * contrib/rddads/rddads.h * contrib/rddbm/bmdbfx.c * contrib/xhb/filestat.c * contrib/xhb/hbsyslog.c * include/clipdefs.h * include/hbapi.h * include/hbapifs.h * include/hbapigt.h * include/hbcomp.h * include/hbexprb.c * include/hbpp.h * include/hbregex.h * include/hbtypes.h * include/hbvmint.h * include/hbvmopt.h * include/hbwmain.c * src/codepage/cp_utf8.c * src/common/hbffind.c * src/common/hbgete.c * src/common/hbtrace.c * src/common/strwild.c * src/main/harbour.c * src/nortl/nortl.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rtl/cdpdetc.c * src/rtl/console.c * src/rtl/fserr.c * src/rtl/fssize.c * src/rtl/gete.c * src/rtl/gtsln/gtsln.c * src/rtl/gtwvt/gtwvt.h * src/rtl/hbinet.c * src/rtl/hbznet.c * src/rtl/isprint.c * src/rtl/net.c * src/vm/cmdarg.c * src/vm/dynlibhb.c * src/vm/dynsym.c * src/vm/extrap.c * src/vm/hvmall.c * src/vm/memvars.c * resync PP directive indentation to use internal-space style as in upstream. uncrustify is unable to match that exactly (it can only do 3 spaces indent on all levels, while in Harbour the first level uses only 2 spaces plus the '#' character. Anyhow now uncrustify is configured to not touch PP indentation. It'd be nice to settle on a single style, now the two styles vary line by line. This is a whitespace-only update. * src/compiler/harbour.yyh * src/macro/macro.yyh * resync a comment with upstream * utils/hbtest/hbtest.prg * minor formatting 2017-09-08 10:39 UTC Viktor Szakats * contrib/hbct/screen1.c * use hb_gtGetPos() instead of hb_gtGetPosEx(). The two functions are identical, latter was only called from here. * src/rtl/gtapi.c * move hb_gt{Scroll,Box,GetPos}Ex() functions next to their non-Ex versions to make it easy to spot differences * include/hbapigt.h * src/harbour.def * src/rtl/gtapi.c - deprecate hb_gtGetPosEx() with HB_LEGACY_LEVEL5. This function was identical to the already existing hb_gtGetPos() * contrib/hbnf/tests/mouse1.prg * tests/gtstd.prg * Scroll() cleanups 2017-09-08 09:53 UTC Viktor Szakats * contrib/hbamf/amfenc.c % use hb_parl() * contrib/hbct/dattime2.c * src/rtl/gtsln/kbsln.c * parenthesis cleanup * contrib/hbct/dummy.c % use hbdefs.h * contrib/hbct/keytime.prg * fold long line * include/hbexpra.c * remove decorative comment * include/memoedit.ch * src/codepage/cpfr850c.c * src/rtl/hbregex.c * src/rtl/isprint.c * comment cleanups * src/rtl/mlcfunc.c * src/rtl/vfile.c * src/vm/garbage.c * use HB_TRUE as hb_parldef() parameter * utils/hbmk2/hbmk2.prg * add TODO regarding llvm-dlltool * contrib/gtwvw/tests/maincoor.prg * contrib/gtwvw/tests/prog0.prg * contrib/gtwvw/tests/prog1.prg * contrib/gtwvw/tests/prog2.prg * contrib/hbmisc/hbedit.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbnetio/utils/hbnetio/_console.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/menu1.prg * contrib/hbnf/pegs.prg * contrib/hbnf/pending.prg * contrib/hbnf/popadder.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/xbox.prg * src/rtl/achoice.prg * src/rtl/tgetlist.prg * src/rtl/tlabel.prg * src/rtl/tmenusys.prg * tests/db_brows.prg * tests/slidingpuzzle.prg * tests/ssaver1.prg * tests/ssaver4.prg * utils/hbmk2/hbmk2.prg * use Scroll() instead of hb_Scroll() where the extra fill character/color options aren't used. Besides these options the two functions are identical and the native Cl*pper call is preferred where feasible. 2017-09-07 08:33 UTC Viktor Szakats * contrib/gtwvw/gtwvwd.c * contrib/hbct/charsprd.c * contrib/hbct/dattime3.c * contrib/hbct/expand.c * contrib/hbct/misc2.c * contrib/hbct/screen2.c * contrib/hbcurl/easy.c * contrib/hbfship/strpeek.c * contrib/hbnetio/netiocli.c * contrib/hbwin/olecore.c * contrib/rddads/adsx.c * contrib/rddads/rddads.h * contrib/rddsql/sqlmix.c * contrib/sddmy/core.c * contrib/sddpg/core.c * contrib/xhb/hbcompat.h * contrib/xhb/hbxml.c * contrib/xhb/xhb.h * src/common/hbstr.c * src/compiler/harbour.y * src/compiler/harbour.yyc * src/compiler/hbcmplib.c * src/macro/macrolex.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxcrypt.c * src/rdd/hbsix/sxtable.c * src/rdd/hsx/hsx.c * src/rtl/cdpapi.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtxwc/gtxwc.c * src/rtl/hbtoken.c * src/rtl/net.c * src/rtl/netusr.c * src/vm/hvm.c * update HB_SIZE variable name prefixes to use `n` instead of `ul` * src/compiler/hbcmplib.c * src/rtl/cdpapi.c * src/rdd/hsx/hsx.c % adjust variable scope * src/rdd/hbsix/sxcompr.c % remove unused `ulMaxSize` internal structure member 2017-09-06 09:23 UTC Viktor Szakats * contrib/hbyaml/emit.c ! YAML_DOCUMENT_INITIALIZE(): fix CP conversion leak 2017-09-06 08:55 UTC Viktor Szakats * config/postinst.hb + follow hbmk2 and add new symbols to .hbx in lowercase * contrib/hbcurl/easy.c * silence a potential fallthrough warning * utils/hbmk2/hbmk2.prg ! fix a regression after c0c173b8526afb392e64a2dd867315a87163a1fd 2017-09-05 21:16 UTC 2017-09-05 23:13 UTC Viktor Szakats * contrib/hbcurl/tests/email.prg * cleanups, formatting + add binary attachment to hbtip example * contrib/hbtip/mail.prg ! TIPMail():MakeBoundary(): fix MIME boundary to be 40 character long (was a bit more than that) ! TIPMail():MakeBoundary(): remove identifying information from the MIME boundary ("TIP" string and local timestamp). It's now fully random. 2017-09-05 21:16 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg % add new functions to the generated .hbx files in full lowercase. This should help adding manual casing (e.g. camelcase) with much less effort or it may often be left as-is. 2017-09-05 20:33 UTC Viktor Szakats * contrib/hbcurl/tests/email.prg + libcurl MIME encoder support was just committed: start using it in the example. 2017-09-05 18:13 UTC Viktor Szakats * contrib/hbcurl/tests/email.prg + add test binary attachment with libcurl MIME * contrib/xhb/hbserv.c ! fix error shown as fallthrough warning 2017-09-05 17:10 UTC Viktor Szakats + contrib/hbcurl/misc.prg * contrib/hbcurl/hbcurl.hbm * contrib/hbcurl/hbcurl.hbx + add hb_curl_mail_address_to_email( <cAddress> ) -> <cEmail> (same as tip_GetRawEmail() in hbtip) * contrib/hbcurl/tests/email.prg * minor cleanups * src/rtl/gtxwc/gtxwc.c ! fix two fallthrough warnings 2017-09-05 17:00 UTC Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + detect full gcc version number by using -dumpfullversion 2017-09-05 15:15 UTC Viktor Szakats * .travis.yml * upgrade to gcc 7 * show gcc -dumpversion and -dumpfullversion (requires gcc 7) * enable 'group: edge' for trusty sudo-required images * config/global.mk * utils/hbmk2/hbmk2.prg + recognize gcc -dumpversion output for certain builds of gcc 7 and newer, where only the major version is returned. Also document a newly introduced option to fetch the full version. Harbour will assume '1' as the minor version for these cases. This shouldn't be a problem as with gcc 5 and upper, the minor version is really the bugfix version number. Same with clang 4 and upper. 2017-09-05 10:29 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming curl 7.56.0 feature: CURLOPT_MIMEPOST this makes it possible to pass a MIME structure as arrays of hashes. Arrays can be nested, see example in tests/email.prg * follow libcurl and deprecate HB_CURLOPT_HTTPPOST, HB_CURLOPT_HTTPPOST_CONTENT, HB_CURLOPT_HTTPPOST_FORM in favour of HB_CURLOPT_MIMEPOST + make HB_CURLOPT_POSTFIELDSIZE, HB_CURLOPT_INFILESIZE, HB_CURLOPT_RESUME_FROM, HB_CURLOPT_MAXFILESIZE automatically fall back to the legacy non-large libcurl options when built with older libcurl versions. * make HB_CURLOPT_POSTFIELDSIZE, HB_CURLOPT_INFILESIZE, HB_CURLOPT_RESUME_FROM, HB_CURLOPT_MAXFILESIZE a compatibility synonym of their '_LARGE' counterparts. Requires app rebuilt due to hbcurl.ch changes. It means apps will automatically use the large API, if its available. * contrib/hbcurl/hbcurl.hbm + contrib/hbcurl/miscc.c + add hb_curl_date() to return timestamp in email header format. Similar to tip_TimeStamp(), but drops 2nd legacy, time, parameter and expects an optional timezone offset instead. It comes with all the fixes tip_TimeStamp() received in this commit. * contrib/hbcurl/tests/email.prg + add support for https://mailtrap.io/ SMTP server for development/staging + add support for using curl's upcoming new MIME API to assemble the email payload, instead of using tip_MailAssembly() * contrib/hbtip/misc.c ! TIP_TIMESTAMP(): fix to pad the day and year with zero Ref: https://tools.ietf.org/html/rfc2822#section-3.3 Ref: https://developer.mozilla.org/docs/Web/HTTP/Headers/Date ! TIP_TIMESTAMP(): fix out-of-bounds array access when an empty date was passed % halve on-stack string buffer size * comment cleanups * contrib/hbtip/sessid.prg ! tip_DateToGMT(): fix to convert date to GMT (UTC) * contrib/hbhttpd/core.prg ! HttpDateFormat(): fix to convert date to UTC and append 'GMT' instead of the server timezone. This fixes 'Date:' and 'Last-Modified:' headers returned by the server. Regression from 25a9e511866a7e19624911b824971c4882232a2a, which attempted to resolve a FIXME. * contrib/hbtip/mailassy.prg * minor cleanup in a header * contrib/hbtip/encoder.prg * contrib/hbtip/httpcli.prg * src/rtl/hbjson.c * utils/hbtest/rt_misc.prg * link to HTML version of RFC docs * config/abstr/wasm.mk * contrib/hbwin/win_prn2.c * use language-agnostic links 2017-09-03 21:13 UTC Viktor Szakats + tests/expervalue.prg + add new game by Rafał Jopek (cleaned, optimized) Ref: https://github.com/vszakats/hb/pull/306 2017-09-03 18:07 UTC Viktor Szakats * contrib/hbamf/amfenc.c * contrib/hbct/ctwfunc.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/readme.txt * contrib/xhb/dirrec.prg * ChangeLog.txt * doc/destruct.txt * doc/locks.txt * doc/oldnews.txt * doc/pp.txt * doc/todo.txt * doc/xhb-diff.txt * include/hbvmpub.h * src/codepage/cp_utf8.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/wacore.c * src/rtl/cdpapi.c * src/rtl/cdpapich.c * src/rtl/chruni.c * src/rtl/gtxwc/gtxwc.c * src/rtl/hbgtcore.c * src/rtl/minmax.c * src/rtl/mtran.c * src/vm/estack.c * src/vm/set.c * tests/cpinfo.prg * tests/gtwin.prg * utils/hbmk2/hbmk2.prg * dash cleanups in comments/text * tests/slidingpuzzle.prg % minor cleanup 2017-09-01 17:28 UTC Viktor Szakats * contrib/hbamqp/core.c * contrib/hbcurl/global.c * always check hb_itemParamStoreRelease() calls for failure and release the item in that case. Do this even if the caller made sure that the parameter was passed by reference. ! AMQP_PARSE_URL(): fix memory leak of the 2nd parameter was not passed by reference by missing to check hb_itemParamStoreRelease() for failure. 2017-09-01 17:12 UTC Viktor Szakats * contrib/hbyaml/hbyaml.ch * contrib/hbyaml/hbyaml.h * do not #include .ch into C code, it's not necessary and it may have shadowed libyaml header enums/constants * utils/hbmk2/hbmk2.prg * add comment/directions to the plugin context hash * try obfuscating more the private internal structure linked from the plugin context hash * contrib/hbtip/thtml.ch * contrib/hbtip/thtml.prg * URL update 2017-09-01 09:29 UTC Viktor Szakats * contrib/hbzebra/qrcode.c * language-agnostic link, URL update * ChangeLog.txt * doc/oldnews.txt * docs/index.html * docs/thirdparty.md * README.md * grammar cleanup 2017-08-31 09:29 UTC Viktor Szakats * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hbamf/readme.txt * comment/text cleanups/typos 2017-08-30 15:27 UTC Viktor Szakats * contrib/hbcurl/hbcurl.ch + add compatibility HB_CURLSSLBACKEND_* macros 2017-08-29 14:20 UTC Viktor Szakats * contrib/hbcurl/hbcurl.hbc + link crypt32 to static mingw builds to support WinSSL backend with upcoming MultiSSL libcurl builds. 2017-08-29 12:17 UTC Viktor Szakats * contrib/hbcurl/global.c ! fix build error when built against libcurl <7.56.0 2017-08-29 11:41 UTC Viktor Szakats * contrib/hbcurl/global.c * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/hbcurl.hbx * contrib/hbcurl/tests/ftp_uldl.prg + add wrapper for runtime SSL backend selection: curl_global_sslset( ; <nSSLBackendID|-1>, ; /* HB_CURLSSLBACKEND_* */ <cSSLBackendName|NIL>, ; [@<hSSLBackends>] ) --> nResult (HB_CURLSSLSET_*) upcoming 7.56.0 feature + add macros: HB_CURL_VERSION_* HB_CURLSSLSET_* HB_CURLSSLBACKEND_* * contrib/gtwvw/combobox.c * WVW_CBCREATE(): code cleanups * contrib/gtwvw/* * comment cleanups, formatting 2017-08-28 19:17 UTC Viktor Szakats * contrib/xhb/xhbtrim.c * src/rtl/trim.c ! wording 2017-08-28 19:08 UTC Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvw/combobox.c * contrib/gtwvw/editbox.c * contrib/gtwvw/gtwvwd.c * src/rtl/gtwvt/gtwvt.c * minor cleanups * contrib/gtwvw/combobox.c * contrib/gtwvw/editbox.c * contrib/hbwin/wapi_winuser_dlg.c + WVW_CBGETCURTEXT(), WVW_EBGETTEXT(), WAPI_GETDLGITEMTEXT(): add support for large string when built for 64-bit 2017-08-28 14:47 UTC Viktor Szakats * contrib/gtwvw/editbox.c ! WVW_EBGETTEXT() fix returning an extra character Fix mistake in previous patch dd411bd42930c0102ec0e76673f50e9deefc28bc Ref: https://groups.google.com/d/msg/harbour-users/1eMnAQgv7nI/hl0MKEj3AgAJ Reported-by: Ash ```harbour #require "gtwvw" PROCEDURE Main() LOCAL a := wvw_ebGetText( , wvw_ebCreate( , 0, 0, 5, 10, "This is a text.",, .T. ) ) ? "|" + a + "|", Len( a ), hb_BLen( a ) ``` * contrib/hbdoc/hbdoc_assets_gen_sri.hb * check download success * docs/_includes/head.html * update external component 2017-08-28 06:36 UTC Viktor Szakats * contrib/hbdoc/hbdoc_assets_gen_sri.hb * minor cleanup * contrib/hbdoc/hbdoc_assets.yml * remove unused item * update a dependency 2017-08-26 21:07 UTC Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg * Apple clang 9.0 guess 2017-08-26 14:29 UTC Viktor Szakats * contrib/hbcurl/tests/email.prg * contrib/hbtip/tests/email.prg + upgrade gmx.net to use proper TLS/SSL * contrib/hbcurl/tests/ftp_uldl.prg * cleanups 2017-08-26 08:15 UTC Viktor Szakats * package/mpkg_win.sh + include the CA bundle (from the curl package) in the Windows distro package * contrib/hbcurl/tests/email.prg * contrib/hbcurl/tests/ftp_uldl.prg + use the CA bundle distributed with the Windows distro package 2017-08-26 07:15 UTC Viktor Szakats * contrib/gtwvw/gtwvwd.c + add support for HB_GTI_WINHANDLE to return the base window handle 2017-08-25 17:57 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c + hb_gtinfo( HB_GTI_WINHANDLE ) now returns window handle. Was a missing implementation since long. ; It was added to 3.4 in 2014-09: cdf37db3c465d857d1d0fe806f9e43a04ce852c6 322dafa73ce728b993af990d157ea01f1f79ae36 2017-08-25 09:39 UTC Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * libpng 1.6.32 https://github.com/glennrp/libpng/blob/v1.6.32/ANNOUNCE 2017-08-25 08:51 UTC Viktor Szakats * contrib/hbdoc/hbdoc_head.html * docs/_includes/head_stat.html * add crossorigin=anonymous to GA scrips * docs/tshirt.md * cleanup 2017-08-25 00:20 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! avoiding escaping some characters to fix URLs in Markdown output * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerate 2017-08-24 20:48 UTC Viktor Szakats * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_20_1.html 2017-08-24 20:13 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg * use the word 'present' instead of current year when outputting the copyright header to the Markdown help for web publication * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerate 2017-08-24 19:43 UTC Viktor Szakats * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * contrib/hbssl/x509.c ! fix building against OpenSSL 1.0.2 on Windows, where OpenSSL requires Windows headers and in a certain order to avoid name conflicts. (Later OpenSSL versions still require it to be in a certain order if #included, but its not required anymore to _use OpenSSL itself_.) Fixes: https://github.com/vszakats/hb/issues/305 * clarify OpenSSL vs Windows headers in comments. 1.1.x doesn't require them anymore, so one more good reason to upgrade from 1.0.2 and older. The Windows headers will be dropped from these sources once 1.0.2 reached its EOL on 2019-12-31. + enable SSL_CTX_GET_CLIENT_CA_LIST() for OpenSSL versions above 1.0.0beta5 * include/hbsetup.h * URL cleanup * src/rtl/sha1.h * src/rtl/sha1hmac.h * use HB_EXTERN_{BEGIN|END} * src/rtl/sha1hmac.c * remove unnecessary `#ifdef __cplusplus` * bin/3rdpatch.hb + add support for .tar.lz/.tlz archive format * config/lang2po.hb % optimization * src/rdd/hbsix/sxcompr.c * undo accidental commit in 2017-08-23 16:56 UTC * contrib/hbzebra/datamtrx.c * contrib/hbzebra/pdf417.c * URL updates 2017-08-23 17:17 UTC Viktor Szakats * contrib/hbsqlit3/core.c * reorder headers to have hbapi.h at the top 2017-08-23 16:56 UTC Viktor Szakats * contrib/hbct/screen1.c * contrib/xhb/xhberrc.c * include/hbcompdf.h * include/hbexprb.c * src/compiler/hbcmplib.c * src/compiler/hbident.c * src/compiler/hbmain.c * src/rdd/hbsix/sxsem.c % remove redundant #includes * contrib/hbssl/* * contrib/xhb/xhbhasha.c % deduplicate/optimize header inclusion * contrib/hbzebra/*.c * contrib/hbzebra/hbzebra.h * contrib/rddads/*.c * contrib/rddads/rddads.h * contrib/sddfb/core.c * contrib/sddmy/core.c * contrib/sddoci/core.c * contrib/sddodbc/core.c * contrib/sddpg/core.c * contrib/sddsqlt3/core.c % optimize header inclusion * contrib/gtwvw/legacy.c * contrib/hbct/dbfflddc.c * contrib/hbcurl/escold.c * contrib/hbfoxpro/miscfunc.c * contrib/hbfship/isfunc.c * contrib/hbfship/secondfs.c * contrib/hbnf/hex2dec.c * contrib/hbnf/origin.c * contrib/hbnf/setkeys.c * contrib/hbnf/setlastk.c * contrib/hbnf/stod.c * contrib/hbxpp/dbcmdx.c * contrib/hbxpp/dbdetacx.c * contrib/xhb/xhbdate.c * contrib/xhb/xhbgt.c * contrib/xhb/xhbi18n.c * contrib/xhb/xhbinet.c * contrib/xhb/xhbini.c * contrib/xhb/xhbmtc.c * contrib/xhb/xhbprn.c * contrib/xhb/xhbproc.c * contrib/xhb/xhbregx.c * src/rdd/dbcmdhb.c * src/rdd/dbdrop.c * src/rdd/dbexists.c * src/rdd/dbrename.c * src/rdd/dbstruxu.c * src/rdd/fieldhb.c * src/rdd/rddinfo.c * src/rdd/rddordc.c * src/rdd/rddshort.c * src/rdd/hbsix/sxredir.c * src/rdd/hsx/cftsfunc.c * src/rtl/defpathu.c * src/rtl/errapiu.c * src/rtl/natmsgu.c * src/rtl/rtlshort.c * src/rtl/shadowu.c * src/vm/pvaluehb.c * src/vm/short.c % #include "hbdefs.h" instead of "hbapi.h" where possible * src/compiler/hbcomp.c * src/compiler/hbpcode.c * src/compiler/ppcomp.c * src/pp/pplib.c * whitespace * include/hbarc4.h * use HB_EXTERN_{BEGIN|END} * include/hbcomp.h * include/hbmacro.h * src/compiler/complex.c * src/pp/pplib2.c * src/rtl/gtxwc/gtxwc.h * src/rtl/setkey.c * reorder headers to have hbapi.h/hbcomp.h at the top 2017-08-23 16:27 UTC Viktor Szakats * package/getsrc.sh.in % cleanup * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * explain bash requirement in a comment 2017-08-22 18:21 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add compiler version late auto-detection for non-unix compilers + show auto-detected compiler version also when detected late (when detected late, it won't be reflected in `hb_comp_ver` filter and macro.) + show whether version was auto-detected early/late or manually set 2017-08-22 17:03 UTC Viktor Szakats * package/mpkg_win_dl_mxe.sh * package/mpkg_win_dl.sh % drop unused gpg options 2017-08-22 09:53 UTC Viktor Szakats * package/mpkg_win_dl_mxe.sh * package/mpkg_win_dl.sh * package/mpkg_win_docker.sh * more transparency when piping GPG public keys from curl to gpg 2017-08-21 19:45 UTC Viktor Szakats * contrib/hbtip/httpcli.prg ! increase max HTTP header size Ref: https://sourceforge.net/p/xharbour/code/10201/ 2017-08-21 12:53 UTC Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.25.0, gcc 7.2.0 2017-08-21 06:04 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/* * expat 2.2.4 https://github.com/libexpat/libexpat/blob/R_2_2_4/expat/Changes 2017-08-18 06:19 UTC Viktor Szakats * contrib/hbgd/gdwrp.c * contrib/hbgd/tests/cgi.prg * doc/oldnews.txt * src/common/hbprintf.c * tests/guestbk.html * tests/guestbk.prg * tests/hrb.prg * tests/html.prg * assorted cleanups (comment typos, avoiding '.exe', code nits) 2017-08-17 14:07 UTC Viktor Szakats * .appveyor.yml % use regexp for branch names * package/mpkg_win_ci.sh * attempt to automatically find and configure future MSVC versions. This assumes the configuration script path will only have the _year_ subdirectory changed. 2017-08-17 08:02 UTC Viktor Szakats * contrib/hbmisc/fcomma.prg ! fix to check for ft_FUse() success. Caller code assumed -1 for failure, while ft_FUse() returns 0 and original hb_FUse() wrongly returned 1 (a valid file handle) 2017-08-16 23:38 UTC Viktor Szakats * config/global.mk * replace the maintenance-heavy compiler version detection logic with one that hopefully will require less frequent manual updates. It's similar to the logic in hbmk2.prg, but less generic due to the limitations of the GNU Make language (no regex). It means now the GNU Make build will automatically recognize future releases of clang/gcc/msvc/pocc, unless the format of the version string gets changed. One exception is Apple's clang, which rolls its own version number that needs to be matched with the clang core version built into it (Thanks Apple ;). The internet says that MSVC's cl.exe may return localized (accented even) text for the version banner: These will not be recognized by global.mk and hbmk2 at this time. Patches are welcome to fix this. Ref: https://stackoverflow.com/q/1233312/1732433#comment35175954_1233332 * utils/hbmk2/hbmk2.prg * add reminder to sync the weird Apple-specific clang version numbering conversion table with global.mk 2017-08-16 21:08 UTC Viktor Szakats * package/harbour.spec * package/mpkg_rpm.sh * rename localpcre option to localpcre1 * package/mpkg_rpm.sh ! fix to avoid configuring the build with both pcre1 and pcre2 options set to 'local' 2017-08-16 09:12 UTC Viktor Szakats * config/global.mk * recognize gcc 8.1.0 (due next year) * utils/hbmk2/hbmk2.prg * prepare for C++20 (in gcc 8.1.0) 2017-08-16 07:28 UTC Viktor Szakats * config/global.mk * recognize gcc 7.2.0 and gcc 6.4.0 2017-08-15 21:05 UTC Viktor Szakats * src/3rd/pcre2/Makefile * src/3rd/pcre2/* * update to pcre 10.30 https://vcs.pcre.org/pcre2/code/tags/pcre2-10.30/NEWS?view=markup 2017-08-15 17:53 UTC Viktor Szakats * bin/make.hb * contrib/gtwvg/gtwvg.h * contrib/gtwvw/tests/demo.prg * contrib/hbblink/hbblink.ch * contrib/hbcurl/hbcurl.hbc * contrib/hbformat/utils/hbformat.prg * contrib/hbmisc/fileread.prg * contrib/hbnf/tempfile.prg * contrib/hbssl/hbssl.hbc * ChangeLog.txt * include/hbgtinfo.ch * tests/parseini.prg * comment cleanups/fixes 2017-08-15 12:07 UTC Viktor Szakats * contrib/gtqtc/gtqtc.h ! typos in comments * ChangeLog.txt * CODE_OF_CONDUCT.md * update URLs 2017-08-15 07:21 UTC Viktor Szakats * bin/3rdpatch.hb * contrib/gtwvw/tests/*.prg * contrib/hbmlzo/core.c * contrib/hbmlzo/tests/test.prg * contrib/hbmxml/core.c * contrib/hbmysql/mysql.c * contrib/xhb/hbxml.ch * contrib/xhb/xhb.hbc * ChangeLog.txt * doc/en/misc.txt * include/hbapigt.h * include/hbmath.ch * src/rtl/gtapiu.c * src/rtl/hbini.prg * tests/parseini.prg * various minor comment cleanups/fixes * contrib/hbct/ct.ch % delete constants CT_MATHERR_STATUS_* and CT_MATHERR_MODE_* that belonged to a function never implemented: SETMATHERR() * contrib/hbct/ctc.c * CSETARGERR(): document that it's a Harbour extension * tests/getcomments.hb * remove filter 2017-08-14 21:25 UTC Viktor Szakats * contrib/hbmysql/* * contrib/hbmzip/mzip.c * contrib/hbnetio/* * contrib/hbnf/* * contrib/hbodbc/* * contrib/hbpgsql/* * contrib/hbsqlit3/core.c * contrib/hbssl/sslctx.c * contrib/hbtip/* * contrib/hbtpathy/telepath.prg * contrib/hbwin/* * contrib/hbxpp/dll.ch * contrib/hbyaml/tests/tokens.prg * contrib/hbzebra/* * contrib/rddads/* * contrib/rddbm/bmdbfx.c * contrib/rddmisc/* * contrib/rddsql/* * contrib/sddfb/core.c * contrib/sddodbc/core.c * contrib/xhb/* ! typos in comments * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvw/gtwvwd.c * src/rtl/gtwvt/gtwvt.c * src/rtl/hbinet.c * related cleanups + tests/getcomments.hb + add script to extract all comments and save the to a text file 2017-08-14 18:59 UTC Viktor Szakats * * ! typos/grammar 2017-08-14 18:17 UTC Viktor Szakats * contrib/hbmisc/fcomma.prg + contrib/hbmisc/tests/fcomma.prg * update to use ft_F*() API from hbnf instead of the hb_F*() compatibility wrappers from hbmisc % drop some hacks that are unnecessary with the ft_F*() API + add FCOMMA test ! comment typos 2017-08-14 17:14 UTC Viktor Szakats * contrib/gtqtc/* * contrib/gtwvg/* * contrib/gtwvw/* * contrib/hbamf/* * contrib/hbamqp/* * contrib/hbcomm/comm.prg * contrib/hbcrypto/* * contrib/hbct/* * contrib/hbcups/core2.c * contrib/hbcurl/* * contrib/hbdoc/* * contrib/hbexpat/core.c * contrib/hbfbird/tests/* * contrib/hbfimage/* * contrib/hbgd/* * contrib/hbgt/* * contrib/hbhpdf/* * contrib/hbhttpd/core.prg * contrib/hblzf/core.c * contrib/hbmisc/* ! typos in comments 2017-08-14 15:13 UTC Viktor Szakats * config/common/watcom.mk * config/dos/djgpp.mk * config/global.mk * config/os2/gcc.mk * config/sunos/sunpro.mk * contrib/hbssl/tests/mkpem.sh * package/mpkg_win.sh * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile * src/3rd/zlib/Makefile ! typos in comments * tests/stripeol.hb * tests/stripid.hb % optimizations * package/mpkg_rpm.sh + enable code dealing with vendored pcre2 2017-08-14 13:20 UTC Viktor Szakats * package/RELNOTES.md.in * move MSYS2 update step before MinGW installation and add more emphasis to it * src/rtl/hbregexc.c ! cleanup casts to allow using large integers 2017-08-14 11:37 UTC Viktor Szakats * package/RELNOTES.md.in * drop -cpu= option from example command-lines. They are unnecessary when using MSYS2 MinGW builds. It's enough to setup the PATH for either the 32-bit or 64-bit toolchain. Ref: https://github.com/vszakats/hb/issues/304 2017-08-14 10:53 UTC Viktor Szakats * include/* * src/* * tests/* * utils/* ! typos in comments 2017-08-14 07:33 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.55.1 2017-08-14 01:13 UTC Viktor Szakats * src/rtl/color53.prg * src/rtl/hbini.prg * src/rtl/tbrowse.prg * src/rtl/ttopbar.prg ! typos in comments 2017-08-14 01:03 UTC Viktor Szakats * contrib/xhb/xhbtedit.prg * src/rtl/*.prg * tests/cpinfo.prg ! typos in comments 2017-08-14 00:28 UTC Viktor Szakats * contrib/hbmxml/core.c * tests/setkeys.prg * copyright header cleanups 2017-08-14 00:16 UTC Viktor Szakats * contrib/hbcrypto/blake2b.c * contrib/hbcrypto/blake2s.c * contrib/hbcrypto/sha3.c * contrib/hbtip/thtml.prg * contrib/hbwin/tests/serial1.prg * contrib/hbwin/tests/serial2.prg * contrib/hbxpp/xpparr.c * contrib/xhb/dirdrivc.c * contrib/xhb/dirdrive.prg * contrib/xhb/hblog.prg * contrib/xhb/hblognet.prg * contrib/xhb/hbserv.ch * contrib/xhb/regexrpl.prg * contrib/xhb/traceprg.prg * contrib/xhb/xcstr.prg * contrib/xhb/xhbarr.c * contrib/xhb/xhbarrex.c * contrib/xhb/xstrdel.c * src/compiler/hbfunchk.c * src/compiler/hbident.c * src/compiler/hbmain.c ! fix more minor discrepancies/typos compared to the standard copyright header text * doc/class_tp.txt * doc/hdr_tpl.txt * update templates ! fix indentation 2017-08-13 18:16 UTC Viktor Szakats * tests/updcopyh.hb + add another variation of the GPL 2 license 2017-08-13 18:02 UTC Viktor Szakats * * * update FSF postal address in GPL 2 + Harbour exception copyrights * slightly tweak the license website to a more direct address (the one used in GPL 3 text) * COPYING.txt -> LICENSE.txt + tests/updcopyh.hb + add tool used to make the above mass update 2017-08-13 17:56 UTC Viktor Szakats * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/class.prg * contrib/gtwvg/gtwgud.c * contrib/hbct/disk.c * contrib/hbhpdf/annot.c * contrib/hbhpdf/core.c * contrib/hbhpdf/enccns.c * contrib/hbhpdf/enccnt.c * contrib/hbhpdf/encjp.c * contrib/hbhpdf/enckr.c * contrib/hbhpdf/font.c * contrib/hbhpdf/fontcns.c * contrib/hbhpdf/fontcnt.c * contrib/hbhpdf/fontjp.c * contrib/hbhpdf/fontkr.c * contrib/hbhpdf/harupdf.ch * contrib/hbhpdf/hbhpdf.h * contrib/hbhpdf/image.c * contrib/hbhpdf/pdfa.c * contrib/hbhpdf/tests/harupdf.prg * contrib/xhb/hbserv.c * contrib/xhb/hbserv.h * contrib/xhb/xhwinprn.prg * src/rtl/gtwvt/gtwvt.c * src/rtl/hbini.prg ! fix various minor discrepancies compared to the standard copyright header text * contrib/hbnf/isshare.c * contrib/hbnf/mouse.c * contrib/hbnf/nwlstat.c * contrib/hbnf/video1.c * contrib/hbnf/vidmode.c * src/rtl/gtcrs/hb-charmap.def * docs/faq.html * tests/langmsg.prg * COPYING.txt -> LICENSE.txt 2017-08-13 16:32 UTC Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerate 2017-08-13 16:29 UTC Viktor Szakats * bin/commit.hb * bin/make.hb * config/lang.hb * config/lang2po.hb * config/po2lang.hb * config/postinst.hb * contrib/gtqtc/hbmk2_qtgt.hb * contrib/hbdoc/hbdoc_assets_gen_sri.hb * contrib/hbdoc/ng2json.hb * contrib/hbdoc/ngjson2hbdoc.hb * contrib/hbgs/hbmk2.hb * contrib/hbnetio/utils/hbnetio/_console.prg * contrib/hbnetio/utils/hbnetio/_daemon.prg * contrib/hbnetio/utils/hbnetio/_winsvc.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * debian/copyright * LICENSE.txt * src/compiler/genc.c * src/compiler/genhrb.c * src/compiler/harbour.y * src/compiler/hbgenerr.c * src/compiler/hbpcode.c * utils/hbmk2/examples/plug_bis.hb * utils/hbmk2/examples/plug_tpl.hb * utils/hbmk2/hbmk2.prg * update FSF postal address in GPL 2 copyrights * slightly tweak the license website to a more direct address (the one used in GPL 3 text) 2017-08-13 15:31 UTC Viktor Szakats * contrib/hbct/ctcrypt.c * contrib/hbhttpd/tests/eshop.prg * contrib/xhb/hbcrypt.c * ChangeLog.txt * src/rtl/*.c ! typos in comments 2017-08-13 15:01 UTC Viktor Szakats * src/compiler/hbgenerr.c * src/compiler/hbpcode.c * src/debug/dbghelp.prg * src/debug/debugger.prg * src/rtl/altd.prg * src/rtl/libnamec.c * src/vm/dynlibhb.c * src/vm/initexit.c * src/vm/maindllh.c * src/vm/maindllp/dllext.c ! remove bogus text from copyright headers 2017-08-13 14:51 UTC Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/gtwgud.c * contrib/hbhpdf/*.c * contrib/hbhpdf/harupdf.ch * contrib/hbhpdf/hbhpdf.h * contrib/hbhpdf/tests/harupdf.prg * contrib/xhb/xhwinprn.prg * src/rtl/gtchrmap.c * src/rtl/gtcrs/gtcrs.* * src/rtl/gtsln/gtsln.c * src/rtl/gtsys.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.* * cleanup whitespace irregularities in copyright headers 2017-08-12 23:11 UTC Viktor Szakats * src/rtl/hbfilehi.prg % hb_DirUnbuild(): minor optimization 2017-08-12 23:02 UTC Viktor Szakats * src/rtl/hbregex.c * rename variables to reflect their new HB_SIZE type 2017-08-12 22:33 UTC Viktor Szakats + tests/ssaver4.prg + add screen saver function by Rafał Jopek (cleaned, optimized) 2017-08-12 19:09 UTC Viktor Szakats * src/rtl/hbregex.c ! fix to use HB_SIZE string position internally. This fixes 64-bit MSVC warnings and also allows to make use of 64-bit hit positions (on all Windows targets) returned by PCRE2 2017-08-12 17:47 UTC Viktor Szakats * src/3rd/pcre2/Makefile ! enable Unicode when building PCRE2 * config/win/msvc.mk ! fix to not enable -sdl option for components with HB_BUILD_WARN=no option enabled * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile % remove MSVC hack to tone down -sdl issues 2017-08-12 14:44 UTC Viktor Szakats * src/3rd/pcre2/Makefile + src/3rd/pcre2/config.h + src/3rd/pcre2/LICENCE + src/3rd/pcre2/pcre2.h + src/3rd/pcre2/*.h + src/3rd/pcre2/*.c + vendor PCRE2 sources (primarily to make non-*nix builds easy) They will now override PCRE1 source still present in the Harbour repository. PCRE2 is an improved API and implementation that was designed as the successor of PCRE1 by the same authors. It also gives better performance. Git was the first major project to move to PCRE2 with its release last week. PCRE1 is in maintenance mode since PCRE2's release in early 2015. ; The PCRE2 interface in hbregex.c isn't present in 3.2 branch and wasn't widely tested yet. Any feedback is welcome via the GitHub Issues page. ; TODO: delete PCRE1 once PCRE2 has seen enough testing. 2017-08-12 14:41 UTC Viktor Szakats * src/harbour.def * do not publish/export the direct PCRE API via harbour*.dll 2017-08-11 06:32 UTC Viktor Szakats * README.md + add package search links 2017-08-09 22:47 UTC Viktor Szakats * contrib/hbcurl/easy.c * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * add custom mod to 'prod' binary builds to enable CURLOPT_SSH_COMPRESSION in it. ; TODO: Revert these modifications in the future [DONE] 2017-08-09 18:01 UTC Viktor Szakats * package/mpkg_win_ci.sh * libssh2: enable zlib compression Will be required once the pending CURLOPT_SSH_COMPRESSION PR gets merged into curl 2017-08-09 12:16 UTC Viktor Szakats * package/mpkg_win_dl.sh * make it a bit easier to switch to test builds of dependencies 2017-08-09 09:23 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add tentative support for CURLOPT_SSH_COMPRESSION when built against upper than libcurl 7.55.0 https://github.com/curl/curl/pull/1735 2017-08-09 07:31 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.55.0 2017-08-08 06:48 UTC Viktor Szakats * contrib/hbpgsql/tests/ping.prg * cleanups * config/detect.mk * package/mpkg_win_dl.sh + tentatively add pcre2 to the list of msys2 packages Ref: https://github.com/Alexpux/MINGW-packages/pull/2750 2017-08-07 14:53 UTC Viktor Szakats * config/detect.mk * include/hbregex.h * cleanups to recent commits * src/3rd/png/Makefile * clear detection variables * whitespace * src/rtl/hbregex.c ! handle the case when pcre2_match_data_create() returns NULL 2017-08-07 08:51 UTC Viktor Szakats * package/harbour@3.4.rb * resync package dependencies with rest of Harbour * replace vendored sources with homebrew packages (except zlib) * switch to pcre2 2017-08-06 22:46 UTC Viktor Szakats * .travis.yml ! pcre2 requires newer Ubuntu release, revert to pcre for that platform 2017-08-06 22:41 UTC Viktor Szakats * .travis.yml * package/mpkg_rpm_docker.sh * package/mpkg_win_docker.sh * switch to pcre2 (from pcre1) for Travis CI targets 2017-08-06 20:28 UTC Viktor Szakats * contrib/hbmxml/core.c ! fix error when building against minixml version 2.7 or earlier 2017-08-06 20:19 UTC Viktor Szakats * .travis.yml ! disable libminizip-dev, it requires a newer Ubuntu release 2017-08-06 18:43 UTC Viktor Szakats * .travis.yml * use more system packages instead of local/vendored code for both Ubuntu and macOS Travis CI builds ; This means that local/vendored sources won't be automatically tested anymore on *nix systems. Thus the recommendation for Harbour now lines up with the general good practice of using a native package manager to install 3rd party packages. Only downside here is that the system offered version may be older than the vendored one, in that case the local one can be forced or even better an update requested from package maintainers, if possible. * config/detect.mk ! fix a typo in one of today's additions 2017-08-06 18:29 UTC Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/libhpdf.diff * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * update libharu to 2.3.0 final release (was: 2.3.0RC3) Source code identical. 2017-08-06 18:26 UTC Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * src/3rd/zlib/Makefile % prefer smaller .tar.gz (over .zip) where available 2017-08-06 18:14 UTC Viktor Szakats * .travis.yml * use system sqlite and libpng on *nix Travis CI builds 2017-08-06 17:24 UTC Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbwin/hbwin.hbp * sync zlib package names with other copies of the detection logic + add libpng package names to detection logic 2017-08-06 17:10 UTC Viktor Szakats * config/detect.mk * revert detecting libpng centrally Ref: 2017-08-06 14:46 UTC * src/3rd/png/Makefile * update libpng detection to detect Homebrew package + document package names for rpm/deb/homebrew/pacman/msys ; FIXME: This package should be under the contrib directory 2017-08-06 16:53 UTC Viktor Szakats * .travis.yml + add sqlite3 native package for Ubuntu (commented) * contrib/hbsqlit3/hbsqlit3.hbp * contrib/sddsqlt3/sddsqlt3.hbp ! try another fix to install sqlite3.hbc [OK] 2017-08-06 15:34 UTC Viktor Szakats * contrib/hbsqlit3/hbsqlit3.hbp * contrib/sddsqlt3/sddsqlt3.hbp ! try a tweak on the previous fix 2017-08-06 14:46 UTC Viktor Szakats * config/detect.mk * src/3rd/png/Makefile + detect libpng and skip compiling local/vendored copy if it's installed. It means the vendored copy won't be used by default on most *nix systems. * contrib/hbsqlit3/hbsqlit3.hbp * contrib/sddsqlt3/sddsqlt3.hbp ! try fixing the case when non-vendored sqlite3 is used, causing that contrib/3rd/sqlite3/sqlite3.hbc isn't copied to install destination, causing RPM creation process to fail. (It'd also prevent using sqlite3 dependent contribs to work correctly due to the missing sqlite3.hbc file) Ref: https://travis-ci.org/vszakats/hb/jobs/261531073#L8660 * package/mpkg_rpm.sh * package/harbour.spec + try adding support for non-vendored sqlite3 * package/harbour.spec ! fix typo in libyaml-related variable name 2017-08-06 13:35 UTC Viktor Szakats * .travis.yml + add pcre2 package names (not activated yet) * config/detect.mk + document package names for each vendored dependency % remove reference to unused HB_HAS_OPENSSL * package/mpkg_rpm_docker.sh + rely on native packages rather than vendored sources * src/rtl/hbregex.c ! type cleanups/fixes to pcre2 support ! fix potential memory leak in pcre2-specific code * contrib/hbgzio/hbgzio.hbp * contrib/hbmzip/hbmzip.hbp + add *nix package names for zlib * contrib/hbamqp/hbamqp.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbexpat/hbexpat.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbgd/hbgd.hbp * contrib/hbgs/hbgs.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbicu/hbicu.hbc * contrib/hbicu/hbicu.hbp * contrib/hbmlzo/hbmlzo.hbp * contrib/hbmxml/hbmxml.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbodbc/hbodbc.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbssl/hbssl.hbm * contrib/hbyaml/hbyaml.hbp * contrib/sddmy/sddmy.hbp * contrib/sddodbc/sddodbc.hbp * contrib/sddpg/sddpg.hbp * contrib/sddsqlt3/sddsqlt3.hbp * sort package platforms uniformly deb, rpm, homebrew, pacman, msys2 2017-08-06 09:04 UTC Viktor Szakats * docs/images/flag-*.svg * docs/images/harbour-2001.svg * docs/images/harbour-2011.svg * docs/images/harbour-nofill.svg * docs/images/harbour.svg * package/harbour.svg % reduce SVG sizes by running latest scour on them 2017-08-04 12:45 UTC Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile * replace -sdl- option with -w1* options to downgrade security errors to warnings in 3rd party code. There was just a single warning (tested with pcre 1 only, version 8.41) which was reported upstream, awaiting moderation. * src/3rd/zlib/Makefile ! fix MSVC -sdl errors by adding option -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP: error C4996: '{open|read|write|close}': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _{open|read|write|close}. See online help for details. ! silence remaining MSVC -sdl errors by adding -D_CRT_SECURE_NO_WARNINGS, till these get an upstream fix. * after above it's possible to drop -sdl- option and warning below that came with it: cl : Command line warning D9025 : overriding '/sdl' with '/sdl-' 2017-08-03 20:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/dirscan.prg ! fixed type in hb_DirRemoveAll() result - it always returned .F. * src/rtl/itemseri.c ! fixed internal error when HB_SERIALIZE_COMPRESS is passed to hb_Serialize() and ZLIB was not linked with application * src/rtl/tpersist.prg ! fixed deserialization of multidimensional arrays - thanks to Peter * contrib/rddads/ads1.c * pacified 'fall through' warnings 2017-08-03 18:15 UTC Viktor Szakats * contrib/xhb/dirdrivc.c * contrib/xhb/hbsyslog.c ! #include "windows.h" -> <windows.h> 2017-08-03 18:07 UTC Viktor Szakats * src/rtl/hbsockhb.c * silence a pending MSVC warning * tests/wvtext.prg * simplify 2017-08-03 15:50 UTC Viktor Szakats * tests/wvtext.prg + add test (with Alt+F7) for new Windows 10 console palette 2017-08-03 09:23 UTC Viktor Szakats * contrib/hbwin/win_svc_2.c * src/rtl/hbsockhb.c * silence MSVC warnings ; FIXME: src\rtl\hbsockhb.c(540): warning C4090: 'function': different 'const' qualifiers [DONE] contrib\hbwin\olecore.c(2314) : warning C4701: potentially uninitialized local variable 'dispid' used [DONE - SILENCED] hbcrypto\3rd\scrypt\sha256.c(477): warning C4307: '*': integral constant overflow [in an assert] * contrib/hbwin/olecore.c * ChangeLog.txt * src/compiler/hbmain.c ! typos in comments 2017-08-03 01:17 UTC Viktor Szakats + contrib/hbexpat/3rd/expat/loadlibrary.c * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/* * expat 2.2.3 (was 2.2.2) https://github.com/libexpat/libexpat/blob/R_2_2_3/expat/Changes 2017-08-01 20:23 UTC Viktor Szakats * contrib/hbsqlit3/core.c * contrib/sddsqlt3/core.c * use new sqlite3_prepare_v3() when built against sqlite 3.20.0 or upper. * contrib/hbsqlit3/core.c + SQLITE3_PREPARE() add 3rd parameter <nPrepFlags> Usable if built against sqlite 3.20.0 or upper, ignored otherwise * contrib/hbsqlit3/hbsqlit3.ch + add SQLITE3_PREPARE_PERSISTENT constant 2017-08-01 20:03 UTC Viktor Szakats * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_20_0.html 2017-07-31 19:58 UTC Viktor Szakats * ChangeLog.txt * src/3rd/hbpmcom/doc/readme.txt ! typos * README.md * tweak wording 2017-07-31 19:01 UTC Viktor Szakats * README.md * update description of HB_BUILD_MODE option which is now a development/debug option. ; TODO: Rename to __HB_BUILD_MODE 2017-07-31 18:58 UTC Viktor Szakats * config/hbpre.hbm * also turn off MSVC C++ mode for contribs Related to 2017-07-31 13:18 UTC 2017-07-31 13:58 UTC Viktor Szakats * contrib/rddads/ads1.c ! fix a few more gcc 7.1 fallthrough warnings Ref: https://groups.google.com/d/msg/harbour-users/FqNefJRFkwk/8ZgxHjnfAQAJ 2017-07-31 13:18 UTC Viktor Szakats * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/minixml.diff -> contrib/hbmxml/3rd/minixml/mxml.diff * cleanup name * config/wce/msvcarm.mk * config/win/msvc.mk * README.md * disable C++ mode for MSVC builds as a whole. C++ mode was traditionally used with MSVC only as a means to make sure that all Harbour source code compiles cleanly as C++ mode. Another reason was to be able to use the hack-free hbinit.h logic. This starts to become more and more cumbersome because quite a few vendored 3rd party code doesn't support this [1] and often don't link cleanly with caller code compiled as C++ either [2]. Without an installed copy of MSVC, it's arduous to develop the required fixes and even though they are welcome, user patches/PRs are very seldom submitted. The hope is that this move reduces the MSVC-specific maintenance burden to its incompatibility with C99. C++ was enabled in this commit: 2cad8acaeb24b9b9c298a364b3186a9c3bc9c63d 2009-03-16 12:40 UTC+0100 Viktor Szakats It was disabled for Watcom C in: 0c30daf54ee2d2ed49069200ac8c2851c251883d 2009-12-09 16:09 UTC+0100 Viktor Szakats [1]: 3rd/sqlite3/sqlite3.hbp hbbz2/3rd/bz2/bz2.hbp hbcrypto/3rd/ed25519/ed25519.hbp hbcrypto/3rd/scrypt/scrypt.hbp hbexpat/3rd/expat/expat.hbp (since 2.2.x) hbhpdf/3rd/libhpdf/libhpdf.hbp hblzf/3rd/liblzf/lzf.hbp hbmxml/3rd/minixml/mxml.hbp hbmzip/3rd/minizip/minizip.hbp hbxdiff/3rd/libxdiff/xdiff.hbp hbyaml/3rd/libyaml/yaml.hbp hbdossrl/Makefile hbpmcom/Makefile pcre/Makefile pcre2/Makefile png/Makefile zlib/Makefile [2]: hbbz2/3rd/bz2/bz2.diff hblzf/3rd/liblzf/lzf.diff hbmxml/3rd/minixml/mxml.diff hbyaml/3rd/libyaml/yaml.diff (probably) 2017-07-31 10:06 UTC Viktor Szakats * contrib/hbyaml/emit.c ! fix MSVC warning * contrib/hbyaml/3rd/libyaml/yaml_private.h * contrib/hbyaml/3rd/libyaml/yaml.hbp + contrib/hbyaml/3rd/libyaml/yaml.diff ! try fixing C++/C linkage errors in vendored code ; Ref: https://github.com/vszakats/hb/issues/301#issuecomment-319019395 2017-07-31 09:01 UTC Viktor Szakats * contrib/hbyaml/emit.c ! add casts to compile cleanly in C++ mode Ref: https://github.com/vszakats/hb/issues/301#issuecomment-318979300 2017-07-30 20:55 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.dif -> contrib/hbexpat/3rd/expat/expat.diff * restore extension * rebase patch onto latest libexpat version 2017-07-30 07:52 UTC Viktor Szakats * .travis.yml * try another wine fix [NOPE] * try avoiding 'no output' errors by using `travis_wait` for mxe installs * package/mpkg_win_dl_mxe.sh * limit download times in 9 minutes 2017-07-29 22:41 UTC Viktor Szakats * .travis.yml % stop using vendored libexpat copy on *nix CI systems. It means vendored libexpat won't be tested anymore on Linux and macOS and consequently the vendored copy isn't actively supported anymore on *nix systems. It's recommended to install libexpat using a standard package manager on *nix systems. 2017-07-29 19:19 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp ! forcing C mode (IOW disabling C++ for MSVC) because recent libexpat updates caused build errors. Please report these upstream to get a proper fix. Ref: https://github.com/vszakats/hb/issues/301#issuecomment-317408460 2017-07-29 19:13 UTC Viktor Szakats * src/vm/hvm.c ! fix C compiler warning when built with traces on (in recently merged code change) 2017-07-29 18:21 UTC Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * libpng 1.6.31 https://github.com/glennrp/libpng/blob/v1.6.31/ANNOUNCE 2017-07-27 18:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbexpat/3rd/expat/_hbconf.h * contrib/hbexpat/3rd/expat/xmlparse.c ! fixed WINCE builds ! fixed OpenWatcom DOS builds ! fixed OpenWatcom OS2 builds ; Upstream patches not applied till the upstream code settles/get fixed (Possibly by applying these fixes. Please submit them to the libexpat project.) [vszakats] * contrib/hbexpat/3rd/expat/expat.dif * rediffed * include/harbour.hbx * include/hbvm.h * src/harbour.def * src/vm/hvm.c * src/vm/thread.c + added new C function HB_BOOL hb_vmThreadIsMain( void * ); it checks if given or current thread is main HVM thread + added new PRG function hb_threadIsMain( [ <pThID> ] ) -> <lMainHvmThread> it returns true if given or current thread is main HVM thread + added new PRG function hb_mutexExists( <pMtx> ) -> <lExists> it returns true if passed <pMtx> parameter is pointer item to fully functional mutex * src/rtl/tpersist.prg ! fixed problem with array item deserialization - many thanks to Peter Rees for exact information about the problem. ; Ref: https://groups.google.com/d/msg/harbour-devel/mErZD_nr6Ko/kqEDM7SBAQAJ * src/rtl/val.c * minor simplification 2017-07-20 22:02 UTC Viktor Szakats - contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/xmlparse.c * remove local patch that disabled some unused Windows code. The code or may not be linked to the binaries depending on C compiler, but it won't be used because we use Harbour's core arc4random function on all platforms. 2017-07-19 23:34 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp ! add current directory to header path so that <expat_config.h> gets found. A better/upstream fix would be to use quotes in #include. 2017-07-19 21:44 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/xmlparse.c * contrib/hbexpat/3rd/expat/xmlrole.c * contrib/hbexpat/3rd/expat/xmltok.c + contrib/hbexpat/3rd/expat/expat_config.h + contrib/hbexpat/3rd/expat/winconfig.h % further reduce local libexpat patch 2017-07-19 20:49 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/_hbconf.h * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/xmlparse.c % make local libexpat patch smaller 2017-07-19 16:11 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/xmlparse.c * keep close to current libexpat master branch * contrib/hbsms/sms.prg * README.md * URL updates 2017-07-19 01:31 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/xmlparse.c % exclude another static function no longer required after switching to hb_arc4random_buf() 2017-07-19 01:20 UTC Viktor Szakats * bin/3rdpatch.hb * contrib/hbcurl/tests/*.prg * contrib/hbtip/tests/*.prg * contrib/hbtip/url.prg * contrib/hbwin/tests/mapimail.prg * contrib/hbwin/tests/ole.prg * doc/en/terminal.txt * tests/guestbk.ini * utils/hbmk2/hbmk2.prg * example.com -> example.org 2017-07-19 01:10 UTC Viktor Szakats * include/Makefile * src/harbour.def * src/rtl/arc4.c * src/rtl/hbrand.c * src/rtl/arc4.h -> include/hbarc4.h * make arc4 header a public one * export hb_arc4* functions from harbour dynlib ; this way 3rd party libs can make use of these functions * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/xmlparse.c * use hb_arc4random_buf() for entropy instead of the various OS-specific methods. The autodetection of these methods was incomplete, making builds fail e.g. on Linux systems - remove Windows-specific security patch, because this code is no longer used in Harbour builds 2017-07-17 16:56 UTC Viktor Szakats * README.md * improve wording 2017-07-17 16:53 UTC Viktor Szakats * config/dyn.mk * config/global.mk * config/rules.mk * src/pp/Makefile * utils/hbmk2/po/hbmk2.*.po * postfix -> suffix * contrib/gtqtc/gtqtc.hbp * contrib/gtqtc/hbmk2_qtgt.hb * HB_QTPOSTFIX envvar renamed to HB_QTSUFFIX (old name still accepted for compatibility, but the new name is recommended) 2017-07-16 18:48 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * configure entropy source for darwin/bsd/linux It's *highly* recommended to install libexpat as a native dependency on all *nix platforms instead of using this vendored build though. ; Closes https://github.com/vszakats/hb/issues/303 2017-07-14 23:36 UTC Viktor Szakats * tests/ssaver1.prg % avoid array resizes ! fix to not keep the first screen row empty 2017-07-14 23:19 UTC Viktor Szakats * tests/ssaver1.prg * tests/ssaver3.prg * cleanups 2017-07-14 19:47 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/* * expat 2.2.2 (was 2.2.1) Contains fix for UNICODE builds and upstream solution for compilation with older MSVS versions (among others): https://github.com/libexpat/libexpat/blob/c5daa8c0b1c052e15e24aec6c869cb38fa617b70/expat/Changes 2017-07-14 18:23 UTC Viktor Szakats * tests/ssaver2.prg + add animation (by Rafał Jopek) * tests/ssaver2.prg * tests/ssaver3.prg % more optimizations 2017-07-13 17:12 UTC Viktor Szakats + tests/ssaver3.prg + add screen saver function by Rafał Jopek (cleaned, unicodized, optimized) 2017-07-12 18:21 UTC Viktor Szakats * src/debug/dbgwa.prg ! fix RTE when displaying a workarea with no fields Ref: https://groups.google.com/d/msg/harbour-users/IxcLqzStWIs/MQrAC7TvBQAJ Example code, thanks to @elchs: ``` PROCEDURE Main() // Compile with -b ErrorBlock( {|| MyError() } ) USE :sure_non_existing_table ALIAS test RETURN STATIC FUNCTION MyError() ErrorSys() // Avoid recursion Alert( "Press <F6> in debugger" ) AltD() dbCommitAll() RETURN .F. ``` 2017-07-10 16:15 UTC Viktor Szakats * .github/CONTRIBUTING.md * contrib/xhb/dirdrivc.c * contrib/xhb/dirdrive.prg * ChangeLog.txt * README.md * URL updates 2017-07-09 11:47 UTC Viktor Szakats * package/mpkg_win_ci.sh * dependencies rebuilt with mingw gcc 7.1.0 rev2 2017-07-06 01:48 UTC Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/* * update to pcre 8.41 https://vcs.pcre.org/pcre/code/trunk/NEWS?revision=1703&view=markup https://vcs.pcre.org/pcre/code/trunk/ChangeLog?revision=1703&view=markup 2017-07-05 12:10 UTC Viktor Szakats * package/mpkg_win.sh ! use CRLF EOLs in RELNOTES.md and BUILD.txt ! another timestamp fix * package/mpkg.hb % remove unused function 2017-07-05 12:03 UTC Viktor Szakats * package/mpkg_win.sh ! fix a reproducibility regression in recent commits 2017-07-05 10:46 UTC Viktor Szakats * config/postinst.hb * src/rtl/hbdoc.prg * force LF EOLs for .hbd and .hbr human-readable JSON outputs (for reproducibility accross platforms) 2017-07-05 10:41 UTC Viktor Szakats * package/mpkg_win.sh ! fix to prev 2017-07-05 09:09 UTC Viktor Szakats * package/mpkg_src.sh * package/mpkg_win.sh * use 'UTC' instead of empty and another arbitrary (but commented) value for TZ 2017-07-05 09:04 UTC Viktor Szakats * package/mpkg_win.sh ! fix reproducible timestamps for BUILD*.txt ! fix two shellcheck warnings * package/mpkg.hb ! fix reproducible timestampts of addons/*.md and doc/*.md 2017-07-03 18:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c ! reverted order of indexes and dimensions in conversions of multidimensional arrays. This modification affects both conversions (1) from Harbour array to OLE variant SafeArray and (2) from OLE variant SafeArray to Harbour array. The first one is new Harbour extension of __oleVariantNew() so here above modification should not create any backward compatibility problems but the second interacts with code which existed in Harbour from early OLE implementation so if someone already encoded hacks to revert array indexes and dimensions at .prg level then now he has to remove it. Please not that above modification affects only for multidimensional OLE typed arrays. It does not change anything for single dimension arrays or single dimension arrays of variants which contains other similar arrays in their items. 2017-07-03 14:10 UTC Viktor Szakats * package/mpkg_win_ci.sh * rebuild curl + dependencies with mingw 7.1.0 in 32-bit (previous pass only rebuilt them with mingw 7.1.0 in 64-bit) 2017-07-03 12:40 UTC Viktor Szakats * contrib/hbamqp/core.c ! try fix for MSVC, which doesn't provide a sys/time.h header (untested with MSVC) May close https://github.com/vszakats/hb/issues/299 2017-07-03 11:03 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/siphash.h ! try fix for MSVC, that's still not C99 compliant Harbour-specific patch, cannot be upstreamed as-is. (untested with MSVC) May close https://github.com/vszakats/hb/issues/301 * tests/ssaver1.prg * tests/ssaver2.prg * cleanups 2017-07-02 23:32 UTC Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.24.0 (+ msys2 toolchain updates) 2017-07-02 12:16 UTC Viktor Szakats * contrib/hbyaml/3rd/libyaml/yaml.hbp ! do not build in C++ mode. Code is not clean enough to compile without errors in C++ mode (MSVC) 2017-07-02 11:45 UTC Viktor Szakats * contrib/hbmxml/tests/tohash.prg % remove explicit mxmlDelete(). This lib is supposed to be using GC collected pointers so such call should not be required. If it is, it's a bug. ; TODO: Delete this function. + tests/ssaver1.prg + tests/ssaver2.prg + add screen saver functions by Rafał Jopek (cleaned, unicodized, optimized) 2017-06-30 23:41 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming 7.55.0 option HB_CURLOPT_SOCKS5_AUTH: https://github.com/curl/curl/commit/8924f58c370afa756fc4fd13916dfdea91d21b21 2017-06-29 16:09 UTC Viktor Szakats * src/codepage/l_de.h + add uppercase sharp-s (as a comment-only for now), which is to be reintroduced these days: https://codepoints.net/U+1E9E https://en.wikipedia.org/wiki/Capital_ẞ German-speaking Harbourers please advise when it's a good time to enable this live. 2017-06-28 20:39 UTC Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * libpng 1.6.30 https://github.com/glennrp/libpng/blob/v1.6.30/ANNOUNCE 2017-06-27 18:52 UTC Viktor Szakats * contrib/hbyaml/emit.c ! fix handing over document object to emitter object on yaml_emitter_dump(). This fixes the memory deallocation errors previously documented in 2017-06-14 18:29 UTC and in comments. 2017-06-27 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c + added support for multidimensional typed OLE arrays, now __oleVariantNew() accepts the following parameters: __oleVariantNew( <nVariantType>, [<xInitValue>], [<nDims,...>] ) -> <pVariant> i.e.: pOleArray := __oleVariantNew( WIN_VT_VARIANT, aVal, ; len( aVal ), len( aVal[ 1 ] ) ) pOleArray2 := __oleVariantNew( WIN_VT_I4, ; { { 1, 2, 3 }, { 4, 5, 6 } }, 2, 3 ) If initialization array is smaller the declared size then in OLE array uninitialized items have default value for given type. NIL array items are ignored other non array values in nodes generate errors. Strings can be used on last level to initialize OLE arrays with ASCII values of their characters. Please test it in real MS-Window environment. * contrib/hbexpat/3rd/expat/_hbconf.h ! fixed MS-Windows builds ; from 3.4 [vszakats] 2017-06-27 09:01 UTC Viktor Szakats * config/global.mk + show warning for manually set, invalid HB_COMPILER_VER values (like '47') 2017-06-27 05:46 UTC Viktor Szakats * src/rtl/hbdoc.prg + __hbdoc_SaveHBD(): add new <cFormat> parameter + __hbdoc_SaveHBD(): add support for new "json" and "json-dense" formats over the existing "binary" format. "json" is the new default. The standard text format is easier to process from non-Harbour environments, but notice that the internal format of .hbd files is officially undocumented and subject to change without notice, so do it at your own risk when processing it without the official Harbour APIs. + __hbdoc_LoadHBD(): add support for new JSON format, which is automatically detected. * utils/hbmk2/hbmk2.prg + recognize JSON format when loading the `contrib.hbr` file * config/postinst.hb + save `contrib.hbr` as an uncompressed, human-readable JSON file, so that it's easier to process with non-Harbour tools. Notice that the internal format remains undocumented and is subject to change without notice. 2017-06-26 22:19 UTC Viktor Szakats * contrib/hbcurl/easy.c + add support for upcoming new file offset types for CURL_EASY_GETINFO() data. New large integer type will automatically be used instead of current double values when built against libcurl 7.55.0 or upper. Ref: https://github.com/curl/curl/commit/3b80d3ca46b12e52342199f4a8452624bb6e33e2 2017-06-26 18:43 UTC Viktor Szakats * contrib/hbcurl/tests/ftp_uldl.prg ! use ISO date format + use more readable, JSON format for CERTINFO dump 2017-06-26 11:16 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/xmlparse.c ! fix DLL hijacking vulnerability on Windows Vista and newer pending upstream PR here: https://github.com/libexpat/libexpat/pull/62 * contrib/hbexpat/3rd/expat/expat.hbp * update homepage 2017-06-25 18:48 UTC Viktor Szakats * contrib/hbdoc/hbdoc_head.html * docs/_includes/head_stat.html * anonymize IPs in the GA tracker https://support.google.com/analytics/answer/2763052 2017-06-25 17:39 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/xmlparse.c ! fix warning in expat code 2017-06-25 17:09 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/expat.hbp + contrib/hbexpat/3rd/expat/siphash.h + add missing vendored file for new expat release 2017-06-25 17:07 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming HB_CURLOPT_REQUEST_TARGET option Ref: https://github.com/curl/curl/commit/9b167fd090f596eac828817d48c247eeae53407f 2017-06-25 16:56 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/tests/ftp_uldl.prg ! implement HB_CURLINFO_CERTINFO and HB_CURLINFO_ACTIVESOCKET correctly. The problem appeared as a warning when build against the latest libcurl release. 2017-06-25 16:17 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/* * expat 2.2.1 (from 2.2.0) 2017-06-15 11:00 UTC Viktor Szakats * config/hbpost.hbm * make sure to install license/readme files that have no filename extension 2017-06-15 09:27 UTC Viktor Szakats * config/postinst.hb + CODE_OF_CONDUCT.md + add Code of Conduct based on this: https://github.com/curl/curl/blob/0c46abd79a88d00787e6e8a51aaf63949fb5868d/docs/CODE_OF_CONDUCT.md which is based on this copy: https://github.com/ContributorCovenant/contributor_covenant/blob/master/version/1/1/0/code_of_conduct.md 2017-06-14 18:54 UTC Viktor Szakats * contrib/hbyaml/core.c * contrib/hbyaml/emit.c + use a simple hash for tags instead of an array of hashes yaml_document_initialize() and YAML_DOCUMENT_START_EVENT 2017-06-14 18:29 UTC Viktor Szakats * contrib/hbyaml/emit.c + yaml_document_initialize(): implement UTF8 conversion for tag parameters * yaml_document_initialize(): reenable support for all init parameters It causes malloc() assertion failures. Couldn't figure their root causes, it may be some memory handling mistakes I've made in the binding code. [FIXED] 2017-06-14 18:07 UTC Viktor Szakats * src/common/hbdate.c * src/macro/macro.y * src/macro/macro.yyc * src/rtl/filesys.c ! fix HB_TRACE() type mismatches that I previously missed 2017-06-14 14:21 UTC Viktor Szakats * contrib/hbdoc/hbdoc_assets_gen_sri.hb + use hb_yaml_encode() * contrib/hbdoc/hbdoc_assets.yml * saved by hb_yaml_encode() * contrib/hbyaml/tests/tohash.prg * convert back to YAML as well 2017-06-14 13:14 UTC Viktor Szakats * contrib/hbyaml/core.c * contrib/hbyaml/emit.c * contrib/hbyaml/hbyaml.ch * contrib/hbyaml/hbyaml.h * contrib/hbyaml/hbyaml.hbp * contrib/hbyaml/hbyaml.hbx * contrib/hbyaml/tests/emitter.prg + contrib/hbyaml/encode.prg * contrib/hbyaml/util.prg -> contrib/hbyaml/decode.prg ! YAML_DOCUMENT_START_EVENT to return tags as an array of hashes + automatically convert strings to/from UTF-8 + yaml_document_initialize() to expect tags as an array of hashes * yaml_document_initialize() disabled support for most init parameters due to assertion errors I couldn't resolve. + add new bindings: yaml_document_add_sequence( document, [cTag], [nStyle] ) --> nNode or 0 yaml_document_add_mapping( document, [cTag], [nStyle] ) --> nNode or 0 yaml_document_add_scalar( document, [cTag], cValue, [nStyle] ) --> nNode or 0 yaml_document_append_sequence_item( document, node_sequence, node_item ) --> nSuccess yaml_document_append_mapping_pair( document, node_mapping, node_key, node_value ) --> nSuccess + add high-level function to convert a value to YAML: hb_yaml_encode( xValue, [nMaxSize] ) --> cYAML 2017-06-14 09:24 UTC Viktor Szakats * contrib/hbyaml/core.c * contrib/hbyaml/emit.c + contrib/hbyaml/hbyaml.h * contrib/hbyaml/hbyaml.hbx + contrib/hbyaml/tests/emitter.prg + add more bindings: yaml_document_initialize( hParameters ) --> document yaml_emitter_close( emitter ) --> nSuccess yaml_emitter_dump( emitter, document ) --> nSuccess yaml_emitter_flush( emitter ) --> nSuccess yaml_emitter_open( emitter ) --> nSuccess yaml_parser_load( parser ) --> document 2017-06-14 08:54 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.54.1 (and gcc 6.3.0 rev1 -> rev2) 2017-06-13 22:02 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! attempt to fix cwd while calling Git after 2cdfb8406df12fd02f5dd28a71046a440ded65eb The CD is kept in effect while any additional git invocations are made. [OK] 2017-06-13 21:08 UTC Viktor Szakats * contrib/hbyaml/hbyaml.ch * contrib/hbyaml/hbyaml.hbp * contrib/hbyaml/hbyaml.hbx + contrib/hbyaml/emit.c + add binding for some yaml_emitter_*() APIs * package/upd_doc.sh * minor cleanup * src/vm/itemapi.c * remove no longer existing function name from copyright header * config/global.mk * extend a TODO * utils/hbmk2/hbmk2.prg % use SWITCH * minor bcc related cleanups 2017-06-13 07:47 UTC Viktor Szakats * contrib/hbyaml/core.c ! fix memory leak when low-level yaml_parser_initialize() call failed 2017-06-12 17:01 UTC Viktor Szakats * package/harbour.spec * package/mpkg_rpm_docker.sh * package/mpkg_rpm.sh + add rabbitmq/hbamqp and libyaml/hbyaml 2017-06-12 12:45 UTC Viktor Szakats * contrib/hbyaml/core.c * contrib/hbyaml/hbyaml.ch * contrib/hbyaml/hbyaml.hbx + contrib/hbyaml/tests/events.prg * contrib/hbyaml/tests/test.prg -> contrib/hbyaml/tests/tokens.prg + add event-based parser API bindings 2017-06-11 10:20 UTC Viktor Szakats * contrib/hbyaml/util.prg * package/mpkg.hb * naming cleanup 2017-06-11 01:48 UTC Viktor Szakats * contrib/hbyaml/core.c + yaml_parser_scan(): returned hash now includes the start line and column of the token * contrib/hbyaml/util.prg + hb_yaml_decode(): + now returns a hash with metadata in the 2nd parameter (must be passed by reference). Metadata may include YAML version, YAML tag directives and processing errors/warnings + add internal tracing facilities + add support for anchor/alias + add support all token types ('flow' syntax in particular) with the sole exception of YAML_TAG_TOKEN which is marked as a TODO ! fix multiple parsing problems in the initial implementation ! fix to return missing values as nulls instead of ignoring them * handle certain types of invalid input gracefully ; the function will return all values as string, so there won't be any implicit or explicit type conversion for now ; notice that libyaml supports YAML 1.0 and 1.1, but not the latest 1.2 standard * contrib/hbyaml/tests/tohash.prg + display any metadata/info, if available 2017-06-10 09:39 UTC Viktor Szakats * contrib/hbyaml/tests/tohash.prg * cleanup 2017-06-10 09:26 UTC Viktor Szakats * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_19_3.html 2017-06-09 14:40 UTC Viktor Szakats - contrib/hbdoc/hbdoc_assets.json + contrib/hbdoc/hbdoc_assets.yml * contrib/hbdoc/_html.prg * contrib/hbdoc/hbdoc_assets_gen_sri.hb * contrib/hbdoc/hbdoc.hbp * use YAML file in place of JSON * contrib/hbrun/hbrun.hbp + include hbyaml in hbrun * utils/hbmk2/hbmk2.prg * abbreviate list of loaded contribs by dropping their 'hb' prefix on the dot prompt 2017-06-09 14:25 UTC Viktor Szakats * contrib/hbyaml/3rd/libyaml/yaml.hbp + contrib/hbyaml/3rd/libyaml/config.h ! fix `config.h` issues differently 2017-06-09 14:19 UTC Viktor Szakats * contrib/hbyaml/core.c ! fix a memory leak in yaml_parser_scan() + contrib/hbyaml/util.prg * contrib/hbyaml/hbyaml.hbp * contrib/hbyaml/hbyaml.hbx + add new function: hb_yaml_decode( cFile ) --> xValue It will read a YAML file and return the value. Works the same way as hb_jsonDecode() + contrib/hbyaml/tests/tohash.prg + example for hb_yaml_decode() * contrib/hbyaml/tests/test.prg * cleanups 2017-06-09 12:12 UTC Viktor Szakats - contrib/hbyaml/3rd/libyaml/config.h * contrib/hbyaml/3rd/libyaml/yaml.hbp * contrib/hbyaml/core.c * contrib/hbyaml/hbyaml.ch * contrib/hbyaml/hbyaml.hbx * contrib/hbyaml/tests/test.prg * cleanups + add yaml_parser_set_encoding( parser, YAML_*_ENCODING ) --> NIL 2017-06-09 12:00 UTC Viktor Szakats + contrib/hbyaml/core.c + contrib/hbyaml/hbyaml.ch + contrib/hbyaml/hbyaml.hbc + contrib/hbyaml/hbyaml.hbp + contrib/hbyaml/hbyaml.hbx + contrib/hbyaml/3rd/libyaml/* + contrib/hbyaml/tests/hbmk.hbm + contrib/hbyaml/tests/test.prg + add libyaml bindings. libyaml is capable of parsing and emitting YAML files. Just the basic parsing function binding are implemented at this time. * .travis.yml * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh + enable libyaml dependencies where available 2017-06-09 10:20 UTC Viktor Szakats * contrib/hbamqp/consumer.prg % generate code metadata dynamically * rename a method * contrib/hbexpat/core.c * fold long line 2017-06-09 01:10 UTC Viktor Szakats + config/abstr/global.mk + config/abstr/libs.mk + config/abstr/wasm.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=abstr HB_COMPILER=wasm HB_BUILD_3RDEXT=no Sample hbmk2 compiled into JS, runnable in a browser: https://transfer.sh/vSGpn/hbmk2js.zip (download available for 14 days) ; platform/compiler names not final. [EXPERIMENTAL] * utils/hbmk2/hbmk2.prg + allow to specify hb_ProgName() value at build-time for platforms where the function cannot return a meaningful value (e.g. JS/WebAssembly) ; TODO: Add support for passing hb_ProgName() value command-line parameter, e.g. `--hb:self=hbrun` * config/global.mk * include/hbsetup.h * consider abstract/emscripten targets linux-like * src/rtl/arc4.c ! fix to build under emscripten (which is assumed to be a linux-like environment) * contrib/hbdoc/ngjson2hbdoc.hb * whitespace 2017-06-08 18:58 UTC Viktor Szakats * contrib/hbdoc/hbdoc_assets.json * docs/_includes/head.html * update an asset 2017-06-08 18:41 UTC Viktor Szakats + contrib/hbdoc/hbdoc_assets.json + add json with all external assets used by hbdoc + add also some items that are not currently used or used by the Harbour website in docs/ * contrib/hbdoc/_html.prg + use hbdoc_assets.json to generate script and css references + contrib/hbdoc/hbdoc_assets_gen_sri.hb + add script to regenerate SRI hashes for external assets * docs/_includes/head.html * do not protect unversioned external asset with SRI 2017-06-08 15:20 UTC Viktor Szakats * contrib/hbtip/mailassy.prg + tip_MailAssemble(): add support for 4th subarray element in attachment array (aFiles parameter) to specify file attribute 2017-06-08 15:15 UTC Viktor Szakats * contrib/hbtip/mailassy.prg * contrib/xhb/fparse.c * contrib/xhb/freadlin.c * cleanups, variable renames 2017-06-08 10:59 UTC Viktor Szakats * contrib/hbct/*.c * contrib/hbfship/* * contrib/hbnetio/doc/es/readme.txt * contrib/hbnetio/* * contrib/hbpipeio/pipeio.c * contrib/hbsqlit3/core.c * src/pp/pplib.c * src/rdd/dbcmd.c * src/rdd/dbdetach.c * src/rdd/hbsix/sxord.c * src/rdd/hsx/hsx.c * src/rtl/*.c * src/vm/classes.c * src/vm/dynlibhb.c * src/vm/eval.c * src/vm/runner.c * src/vm/thread.c * use `-->` as the result marker, in-sync with hbdoc docs 2017-06-08 10:44 UTC Viktor Szakats * contrib/gtwvg/paint.prg * contrib/gtwvg/*.c * contrib/hbbz2/core.c * contrib/hbcrypto/*.c * contrib/hbct/doc/en/atnum.txt * contrib/hbct/doc/en/charevod.txt * contrib/hbct/doc/en/exponent.txt * contrib/hbcurl/easy.c * contrib/hbnf/doc/en/d2e.txt * contrib/hbnf/doc/en/prtesc.txt * contrib/hbnf/doc/en/round.txt * contrib/hbnf/fttext.c * contrib/hbnf/pegs.prg * contrib/hbnf/tests/aredit.prg * contrib/hbnf/tests/rtfclass.prg * contrib/hbssl/ssl_hbco.prg * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/* * contrib/hbxpp/xpparr.c * contrib/rddads/adsfunc.c * contrib/xhb/* * doc/en/string.txt * use `-->` as the result marker, in-sync with hbdoc docs 2017-06-08 10:19 UTC Viktor Szakats * contrib/hbhpdf/*.c * contrib/hbhpdf/core.c ! fix HPDF_GetStreamSize() to return 32-bit values correctly + HPDF_ReadFromStream() will now return the full buffer if the passed @cBuffer has the length of zero (or it's a non-string). Previously it defaulted to 1024 bytes in these cases. [INCOMPATIBLE] The logic to return 1024 bytes if @cBuffer is smaller than 1024 has been retained. + added more natural calling form: HPDF_ReadFromStream( pdf, [nBytesToRead] ) --> cBuffer If nBytesToRead is omitted, the full buffer is returned. * cleanups * contrib/hbhpdf/tests/harupdf.prg * generate the PDF in-memory and save it with hb_MemoWrit() 2017-06-08 01:31 UTC Viktor Szakats * contrib/hbamqp/connection.prg * contrib/hbamqp/consumer.prg * contrib/hbamqp/core.c * contrib/hbamqp/envelope.prg * contrib/hbamqp/hbamqp.ch * contrib/hbamqp/test/test.prg * add copyright headers 2017-06-08 01:17 UTC Viktor Szakats * contrib/hbamqp/test/test.prg + use routing-key and queue values that exist in default rabbitmq server config * set cacert file to curl-ca-bundle.crt if it exists 2017-06-07 20:55 UTC Viktor Szakats * contrib/hbamqp/test/test.prg + read URL from file `test.url` (in a single line without EOL) if no URL was passed from the command-line 2017-06-07 14:16 UTC Viktor Szakats * contrib/hbamqp/connection.prg * contrib/hbamqp/core.c * contrib/hbamqp/test/test.prg + test to do a publish-consume cycle when called without parameter + all status returning wrappers will now fill an additional last parameter passed by reference with a hash with the response details + AMQPConnection:Close() add nReason parameter + AMQPConnection:GetResponseStr() show full response details + add AMQPConnection:GetResponseDetails() to return full response as hash * retrieve function name for HB_TRACE() call from HVM, instead of manually rolling it * use more unique RTE error code * convert a HB_TRACE() call to debug level and remove the rest in favour of returning the response details as a hash 2017-06-07 08:42 UTC Viktor Szakats * contrib/hbamqp/connection.prg * contrib/hbamqp/consumer.prg * contrib/hbamqp/core.c * contrib/hbamqp/envelope.prg * contrib/hbamqp/hbamqp.hbp * contrib/hbamqp/hbamqp.hbx + contrib/hbamqp/errstr.prg * cleanups + amqp_login() add support for two missing parameters * amqp_basic_publish() use logical type for boolean parameters + add hb_amqp_response_string(), hb_amqp_status_string() + add AMQPConnection:GetResponseStr(), AMQPConnection:GetStatusStr() * contrib/hbamqp/test/test.prg * remove password from console output + display status/response as string as well 2017-06-06 23:54 UTC Viktor Szakats * contrib/hbamqp/connection.prg * contrib/hbamqp/consumer.prg % use direct API instead of object wrapper % remove type checks that are now handled on the binding level ! remove a :Destroy() call 2017-06-06 18:17 UTC Viktor Szakats * contrib/hbamqp/core.c * contrib/hbamqp/hbamqp.hbx * contrib/hbamqp/test/test.prg ! fix some regression when built against older lib versions + add amqp_data_in_buffer(), amqp_frames_enqueued() amqp_get_channel_max(), amqp_get_frame_max(), amqp_get_heartbeat(), amqp_tune_connection(), amqp_version_number() 2017-06-06 17:41 UTC Viktor Szakats * contrib/hbamqp/test/test.prg + add missing #require for hbrun-ability 2017-06-06 17:14 UTC Viktor Szakats * contrib/hbamqp/connection.prg * contrib/hbamqp/core.c * contrib/hbamqp/envelope.prg * contrib/hbamqp/hbamqp.ch * contrib/hbamqp/hbamqp.hbx ! amqp_consume_message(): refix timeout + AMQPConnection:New() to accept connection config array + add constants for connection config array positions `HB_AMQP_CONN_*` + amqp_connection_close() to accept 2nd, reason parameter ! fix crash in envelope GC logic + add bindigs for amqp_basic_nack(), amqp_basic_reject(), amqp_maybe_release_buffers_on_channel(), amqp_parse_url(), amqp_default_connection_info() % use amqp_default_connection_info() * contrib/hbamqp/test/test.prg + accept 2nd parameter with server URL * cleanups 2017-06-06 14:29 UTC Viktor Szakats * contrib/hbamqp/connection.prg * contrib/hbamqp/consumer.prg * contrib/hbamqp/core.c * contrib/hbamqp/envelope.prg * contrib/hbamqp/hbamqp.hbx * contrib/hbamqp/test/test.prg + implement GC collected pointers for connection and envelope objects * cleanups in wrapper classes % drop manual memory management from .prg code + AMQPConnection:ConsumeMessage() to accept envelope pointer not just envelope class * contrib/hbamqp/connection.prg * contrib/hbamqp/test/test.prg ! fix virtualhost initialization 2017-06-06 11:16 UTC Viktor Szakats * contrib/hbamqp/core.c ! add missing header when built with mingw 2017-06-06 10:15 UTC Viktor Szakats * contrib/hbamqp/core.c ! try avoiding a build error with mingw [OK] * contrib/hbamqp/connection.prg * contrib/hbamqp/consumer.prg * cleanups 2017-06-06 10:00 UTC Viktor Szakats * contrib/hbamqp/core.c ! compatibility fixes for older rabbitmq-c versions 2017-06-06 09:04 UTC Viktor Szakats * .travis.yml * package/mpkg_win_ci.sh * enable rabbitmq-c dependency * contrib/hbamqp/hbamqp.hbp * add msys2 implib * contrib/hbamqp/connection.prg * contrib/hbamqp/test/test.prg * cleanups * tests/fileio.prg * tests/persist.prg ! fix to use different output filename than `test.txt` 2017-06-06 00:27 UTC Viktor Szakats + contrib/hbamqp/consumer.prg + contrib/hbamqp/envelope.prg + contrib/hbamqp/hbamqp.hbc + contrib/hbamqp/connection.prg + contrib/hbamqp/core.c + contrib/hbamqp/hbamqp.ch + contrib/hbamqp/hbamqp.hbp + contrib/hbamqp/hbamqp.hbx + contrib/hbamqp/test/hbmk.hbm + contrib/hbamqp/test/test.prg + add bindings for RabbitMQ (AMQP) API: https://github.com/alanxz/rabbitmq-c Based on public code written by @emazv72, published here: https://github.com/emazv72/hbcontrib/tree/master/harbour-core/contrib/hbamqp Heavily cleaned up and SSL bits added. EXPERIMENTAL/WIP * .travis.yml * package/mpkg_win_dl.sh + install rabbitmq-c headers for CI builds 2017-06-04 18:02 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! remove line-ending space from a `--help` output line 2017-06-03 18:13 UTC Viktor Szakats * contrib/hbzebra/codabar.c * contrib/hbzebra/code11.c ! fix two mingw 7.1 / x64 warnings: ``` warning: 'memcpy': specified size between 18446744071562067968 and 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=] hb_xmemcpy( pZebra->szCode, szCode, iLen ); ^~~~~~~~~~ ``` 2017-06-02 07:36 UTC Viktor Szakats * .travis.yml * minor cleanup attempt 2017-06-01 15:44 UTC Viktor Szakats * contrib/hbblink/blinker.prg * contrib/hbnf/popadder.prg * contrib/hbnf/savearr.prg * contrib/hbunix/daemon.c * src/rtl/tgetlist.prg * src/rtl/valtoexp.prg * utils/hbmk2/hbmk2.prg * 'fall through' -> 'fallthrough' to be consistent (thought all 3rd party code prefers the former version) 2017-06-01 13:54 UTC Viktor Szakats * .travis.yml * try mitigating the wine timeout/error that reappeared: `err:process:__wine_kernel_init boot event wait timed out` [FAILED] 2017-06-01 09:50 UTC Viktor Szakats * contrib/hbmisc/hbeditc.c * silence this mingw 7.1 warning: ``` ../../../contrib/hbmisc/hbeditc.c:130:15: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] if( i < adres - 2 ) ^ ``` 2017-06-01 09:03 UTC Viktor Szakats * .travis.yml % avoid long delay caused by fc-cache by pre-installing `fontconfig` dependency using the ugly hack already used for `wine` 2017-05-31 23:28 UTC Viktor Szakats * contrib/sddmy/core.c ! fix feature detection for mariadb 10.2.6 and upper 2017-05-31 23:15 UTC Viktor Szakats * ChangeLog.txt * update/correction to ChangeLog entry 2017-05-31 22:01 UTC, regarding 32-bit .dlls. 2017-05-31 23:03 UTC Viktor Szakats * contrib/hbmysql/mysql.c ! another fix to build correctly against mariadb 10.2.6 * contrib/hbmysql/hbmysql.hbc * add mariadb-specific libname as a comment 2017-05-31 22:01 UTC Viktor Szakats * package/RELNOTES.md.in * another attempt to clarify that since 2016 Januar, the automated 3.4 snapshot binary builds for Windows, always contain all static and shared libraries to use hbcurl, for both 32/64-bit mingw targets. To link the static libs, these envvars need to be defined at build-time: HB_STATIC_CURL=yes HB_STATIC_OPENSSL=yes Nothing else is needed. This is also true for the Linux/macOS cross-built packages (*-built-on-mac.7z, *-built-on-linux.7z) IOW, these packages are included the Harbour package: https://github.com/curl/curl-for-win See this link for all supported protocols in libcurl. The curl/libcurl package is listed on the official curl download page as well. More info here: https://github.com/vszakats/hb/blob/main/contrib/hbtip/WARNING.txt UPDATE: One correction: libcurl doesn't officially support storing 32-bit and 64-bit .dlls in the same directory (they have the same filename), in Harbour distro the 64-bit one is distributed, so that it's compatible with the x64 hbrun. For the 32-bit .dll download the 32-bit curl/libcurl binaries from the curl download page. 2017-05-31 18:46 UTC Viktor Szakats * src/pp/hbpp.c ! fix to correctly default the new `HB_VER_COMMIT_YEAR` macro when _repover.txt is missing 2017-05-31 17:11 UTC Viktor Szakats * contrib/hbcurl/tests/email.prg * contrib/hbtip/tests/email.prg + add `email.prg` as an attachment to the test email message * contrib/hbtip/tests/email.prg % remove some NILs 2017-05-31 16:54 UTC Viktor Szakats * contrib/hbmysql/mysql.c ! avoid using MYSQL_PORT macro. The default should nevertheless still make sense by passing zero. This became undefined/deprecated between mariadb 10.1.23 -> 10.2.6, according to this error: ``` ../../../../../contrib/hbmysql/mysql.c:164:59: error: use of undeclared identifier 'MYSQL_PORT' unsigned int port = ( unsigned int ) hb_parnidef( 4, MYSQL_PORT ); ^ /usr/local/Cellar/mariadb/10.2.6/include/mysql/mysql.h:503:1: note: 'mysql_real_connect' declared here [...] ``` Ref: https://travis-ci.org/vszakats/hb/jobs/237852700#L1727 Ref: https://github.com/Homebrew/homebrew-core/commit/d9db481c6907ca31507e592fe6f4caa0493d88fb UPDATE: Reason was that mysql.h was updated to include mariadb_version.h instead of mysql_version.h, which in turn defines MARIADB_PORT instead of MYSQL_PORT. 2017-05-31 09:28 UTC Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.23.1 2017-05-29 18:49 UTC Viktor Szakats * contrib/hbwin/tests/ole.prg * contrib/hbwin/tests/sample.odt -> contrib/hbwin/tests/test.odt * rename test file to align with other test files * convert binary .odt file to .fodt (Flat XML ODF Text Document) format, which is a self-contained XML text file. VCS, machine- generation and editor friendly. Recognized correctly by LibreOffice even when using the .odt extension. Ref: https://en.wikipedia.org/wiki/OpenDocument_technical_specification#Document_representation % cleanup test.odt from unnecessary items * contrib/hbmisc/tests/pe.prg * tests/test.txt * change text to lorem ipsum, syncing these with test.odt 2017-05-28 12:25 UTC Viktor Szakats * src/pp/hbpp.c + define new macro `HB_VER_COMMIT_YEAR` containing the year as a string * src/compiler/hbusage.c + use HB_VER_COMMIT_YEAR 2017-05-28 08:56 UTC Viktor Szakats * .github/ISSUE_TEMPLATE.md * contrib/hbtip/WARNING.txt * avoid using actual version numbers in texts * cleanups 2017-05-27 23:07 UTC Viktor Szakats * utils/hbtest/hbtest.prg * improve automatic copyright year when built for Harbour * minor cleanups 2017-05-27 20:48 UTC Viktor Szakats * contrib/hbdoc/_html.prg % omit playground JS dependencies if an HTML output doesn't have any playgrounds 2017-05-27 20:43 UTC Viktor Szakats * contrib/hbdoc/_html.prg ! fix to prev commit 2017-05-27 20:15 UTC Viktor Szakats * contrib/hbdoc/_html.prg ! do not enable Playground Run buttons for C code examples * contrib/hbdoc/hbdoc.prg * whitespace 2017-05-27 19:32 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + -urlize to support input from stdin hbmk2 -urlize < hello.prg > hello.prg.out + add new -deurlize option to decode an -urlize encoded string into a source/hrb: hbmk2 -deurlize PyAiSGVsbG8sIHdvcmxkISIK > hello.prg hbmk2 -deurlize < hello.prg.out > hello.prg 2017-05-27 18:20 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add support for encoding prg sources or hrb files into strings that can be used e.g. as URL parameters: hbmk2 -urlize mysource.prg > mysource.prg.out hbmk2 -urlize mycode.hrb > mycode.hrb.out The source input is first normalized to LF EOLs, zipped if it results in smaller size and finally base64 encoded in an URL-friendly way. + add hbmk2/hbrun support for running prg sources or hrb files encoded as URL strings, e.g.: hbmk2 -prg < mysource.prg.out hbmk2 -prg < mycode.hrb.out This command will display a hello world text: hbrun -prg:PyAiSGVsbG8sIHdvcmxkISIK ; These features may also be used in the Harbour Playground to save examples as self-contained URLs and then replay them. 2017-05-27 13:35 UTC Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.23.0 2017-05-26 06:37 UTC Viktor Szakats * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_19_2.html 2017-05-26 06:36 UTC Viktor Szakats * package/mpkg_win_ci.sh * openssl 1.1.0f 2017-05-26 05:43 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/xmlparse.c * contrib/hbexpat/3rd/expat/xmlrole.c * contrib/hbexpat/3rd/expat/xmltok.c * slightly cleaner local patch * contrib/hbexpat/hbexpat.ch + add upcoming error code HB_XML_ERROR_INVALID_ARGUMENT 2017-05-25 14:10 UTC Viktor Szakats * contrib/gtwvw/gtwvw.hbx * contrib/gtwvw/wvwdraw.c + add wvw_SetGridPen() Ref: https://groups.google.com/d/msg/harbour-devel/dNbxxgJBDa0/iY_Qnf4EAQAJ * contrib/hbnf/doc/en/menu1.txt * cleanups/fixes 2017-05-24 18:49 UTC Viktor Szakats * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_19_1.html 2017-05-24 18:48 UTC Viktor Szakats * include/hb.ch + add hbver.ch to the default list of headers accessible from the dot prompt * contrib/hbct/ct.ch * whitespace 2017-05-24 15:58 UTC Viktor Szakats * ChangeLog.txt + showlog.sh + add script to show dynamic ChangeLog generated from the commit messages. Requires a Git repo and the Git tool. 2017-05-24 09:28 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg * allow -inc in -hbhrb again. Incremental mode doesn't work in this experimental mode ATM, but it doesn't cause harm either. * extras/superlib/hbsuper.prg * minor cleanup 2017-05-24 09:17 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! ignore option -inc when used together with .hrb output (-gh or -prgflag=-gh options) Fixes: https://github.com/harbour/core/issues/155 2017-05-23 22:35 UTC Viktor Szakats * contrib/hbpgsql/tpostgre.prg + add :SetNull( <lSet> ) to TPQServer class and a param to :Query( <cQuery>, [ <lNull> ] ) TPQQuery class constructor is also extended. With :SetNull( .T. ) retains NULL information as NIL. Standard behaviour of hbpgsql library, until now, was to substitute NULL with blank xBase value - thus :SetNull( .F. ) is the default setting. ; Merge from Aleksander Czajczyński's fork (with minor cleanups): https://github.com/alcz/harbour/commit/d5e681f79efd38f937935e07769361a50234db18 2017-05-23 21:46 UTC Viktor Szakats * bin/commit.hb + accept -f as an alternative to --force * doc/en/rdddb.txt * doc/en/set.txt * doc cleanups 2017-05-23 21:36 UTC Viktor Szakats * doc/en/hvm.txt * doc/en/readvar.txt * doc/en/sayget.txt * doc/en/set.txt * doc cleanups 2017-05-23 11:23 UTC Viktor Szakats * contrib/hbdoc/_html.prg + contrib/hbdoc/hbplay.js * split off JS code into separate file that is embedded into hbdoc at build-time * contrib/hbdoc/hbplay.js % simplify + add 'use strict'; 2017-05-23 11:15 UTC Viktor Szakats * contrib/hbdoc/hbdoc.hbp * contrib/hbdoc/hbdoc.prg * contrib/hbdoc/_genbase.prg -> contrib/hbdoc/_base.prg * contrib/hbdoc/_genhtml.prg -> contrib/hbdoc/_html.prg * contrib/hbdoc/_gentxt.prg -> contrib/hbdoc/_txt.prg * contrib/hbdoc/_genxml.prg -> contrib/hbdoc/_xml.prg % rename sources for easier searchability 2017-05-23 10:45 UTC Viktor Szakats * contrib/hbnf/doc/en/*.txt ! various fixes and cleanups after testing them in the Playground (available under the 'Run 3.4' button) * contrib/hbnf/diskfunc.prg ! ft_DskSize(), ft_DskFree(): fix RTE when no parameter is passed * contrib/hbnf/tempfile.prg ! ft_TempFil(): fix RTE when temp file could not be created * contrib/hbnf/tests/fttext.prg ! ft_FUse() return value on error is 0, not -1 (F_ERROR) (relevant doc/example also fixed) * contrib/hbct/doc/en/dattime3.txt * contrib/hbmisc/doc/en/dates.txt * doc/en/datetime.txt * doc/en/string.txt % use 0d syntax for date literals 2017-05-23 00:38 UTC Viktor Szakats * contrib/hbrun/hbrun.hbp + link hbbz2 to hbrun by default * contrib/hbdoc/hbdoc.css * adjust some pixels 2017-05-22 23:54 UTC Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css + add Harbour Playground support for Harbour online doc examples. It means you can now click 'Run 3.4' or 'Run 3.2' in each code example and see the live results appear below it. Code examples also became editable. Execution is server-side, via hbrun, where the runtime environment is sandboxed Linux. Available files on the virtual-FS are: test.dbf and test.txt (from the /tests directory) Many thanks to Aleksander Czajczyński for the initiative and doing all the heavy lifting to develop and host the playground feature. It's an extremely useful tool and quite a bit of fun to run Harbour in a browser tab. Playground announcement: https://groups.google.com/d/msg/harbour-devel/CkmzrgRKkJ0/gFSk86ybBgAJ Docs: https://harbour.github.io/doc/ Standalone playground: https://os.allcom.pl/harbour/3.4/ In the last few days I've made an effort to fix/cleanup existing doc examples run correctly and give meaningful output. Some of them that need further fixing got a FIXME comment. If you find a problem, e.g. a runtime error, feel free to edit the code after clicking to the 'Improve this doc' button at the top-right of the doc entry and issue a Pull Request by saving the changes. 2017-05-22 21:16 UTC Viktor Szakats * contrib/hbdoc/hbdoc.css ! only make examples blocks resizable * contrib/hbnf/doc/en/chdir.txt * contrib/hbnf/doc/en/mkdir.txt * contrib/hbnf/doc/en/rmdir.txt * contrib/hbnf/doc/en/tempfile.txt * contrib/hbziparc/doc/en/ziparc.txt * doc/en/dir.txt * doc/en/dirdrive.txt * doc/en/diskspac.txt * doc/en/file.txt * doc/en/set.txt * use portable filename * cleanups/fixes 2017-05-22 19:25 UTC Viktor Szakats * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_19_0.html 2017-05-22 17:49 UTC Viktor Szakats * contrib/hbnf/doc/en/*.txt ! fixes and cleanups to doc examples * contrib/hbrun/hbrun.hbp + link hbnf to hbrun by default * contrib/hbmisc/doc/en/fileread.txt * doc/en/file.txt * doc/en/typefile.txt * use test.txt (from tests directory) in examples * doc/oldnews.txt ! grammar 2017-05-22 15:00 UTC Viktor Szakats * contrib/gtqtc/gtqtc1.cpp * add `/* fallthrough */` comment 2017-05-22 13:41 UTC Viktor Szakats * contrib/xhb/hbxml.c ! fix to allow dot in xml tag name. fix provided by Grzegorz Wojnarowski Ref: 2017-05-13 19:00 UTC-0300 Luiz Rafael Culik https://sourceforge.net/p/xharbour/code/10194/ * doc/en/arrayshb.txt * fold long line 2017-05-22 13:14 UTC Viktor Szakats * contrib/hbmisc/tests/pe.prg * tests/test.txt * sync with LICENSE.txt 2017-05-22 13:09 UTC Viktor Szakats + tests/test.txt + add text for use in examples and tests * contrib/hbgt/doc/en/hbgt.txt * doc/en/dir.txt ! fixes and cleanups to doc examples 2017-05-21 22:45 UTC Viktor Szakats * contrib/hbct/doc/en/*.txt * contrib/hbgd/doc/en/gdwrp.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbmisc/doc/en/*.txt * contrib/hbnf/doc/en/aa*.txt * contrib/hbnf/doc/en/ac*.txt * contrib/hbnf/doc/en/ad*.txt * contrib/hbnf/doc/en/ae*.txt * contrib/hbnf/doc/en/amedian.txt * contrib/hbnf/doc/en/anomatch.txt * contrib/hbxpp/doc/en/*.txt * contrib/hbziparc/doc/en/ziparc.txt * contrib/rddads/doc/en/adsfunc.txt ! fixes and cleanups to doc examples 2017-05-21 22:07 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + implement ugly workaround for mingw windres tool on the Windows platform, to avoid hitting its bug where it fails to recognize correctly quoted `-I` header paths containing a space character. After this patch, hbmk2 will cease passing such paths to windres. hbmk2 by default passes all header paths to windres, even it's not required, so this hack is expected to not break builds for most/typical cases, but may cause breakage if a resource actually relies on such header path. In the latter case the only solution is to switch to space-free path. mingw on non-Windows platforms don't seem to be affected. This hack should be removed for future versions of windres where this bug will have been fixed. Untested Closes: https://github.com/vszakats/hb/issues/294 2017-05-21 09:35 UTC Viktor Szakats * doc/en/*.txt * cleanups 2017-05-21 00:34 UTC Viktor Szakats * doc/en/*.txt ! fixes and cleanups to doc examples * contrib/hbtip/thtml.prg * include/hboo.ch * minor cleanups 2017-05-20 21:30 UTC Viktor Szakats * doc/en/*.txt ! fixes and cleanups to doc examples 2017-05-20 21:00 UTC Viktor Szakats * doc/en/*.txt ! fixes and cleanups to doc examples 2017-05-20 17:40 UTC Viktor Szakats * doc/en/*.txt ! fixes and cleanups to doc examples 2017-05-20 10:19 UTC Viktor Szakats * doc/en/rdd*.txt ! fixes and cleanups to doc examples 2017-05-20 09:24 UTC Viktor Szakats * doc/en/*.txt ! fixes and cleanups to doc examples 2017-05-20 02:25 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg * remove `_HBSHELL_EXEC_PRE` macro + add `_HBSHELL_EXTRA_HEADER` macro that can be defined to a header (.ch) filename which will be included in all dot prompt and script execution sessions. The header will also be embedded in hbmk2/hbrun at build-time, so it's not necessary to be present at runtime. The macro may also be defined in the `hbmk2_extra.prg` source. 2017-05-19 17:19 UTC Viktor Szakats * contrib/hbdoc/_genhtml.prg * update prism.js component * contrib/hbdoc/hbdoc.css + make code boxes (e.g. examples) resizable * doc/en/binnum.txt * doc/en/memvar.txt * doc/en/tclass.txt * doc/en/var.txt ! cleanups and fixes in example code 2017-05-19 16:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/android/gcc.mk * config/global.mk * config/linux/gcc.mk * config/postinst.hb * contrib/hbpost.hbm ! removed version number from dynamic libraries for Android. Pure Linux style dynamic library numbers in Android systems can be used only with system libraries but it's not supported inside .apk packages so our dynamic libraries were unusable for Android programmers unless someone plans to install more then one version of Harbour dynamic libraries as Android system libraries. It's rather unusual situation and I believe that in such case he can easy create such libraries building Harbour for Linux with NDK. * enabled by default building contrib dynamic libraries in Harbour Android build. + added -Wl,--no-undefined to linker parameters when dynamic libraries are created to verify if dynamic libraries can be used in Android .apk packages during Harbour build process. ; After above modification dynamic (*.so) libraries created in Harbour build process can be used in .apk packages. It means that projects like HDroidGUI do not longer need their own custom versions of libharbour.so but can use the one from standard Harbour Android build. They can also use Harbour contrib dynamic libraries. ; TODO: add support for automatic NDK detection in Harbour build process ; TODO: add to HBMK2 basic support for generating .apk packages * contrib/gtqtc/gtqtc.hbp * disabled dynamic GTQTC library in Android builds until we set explicit bindings with QT/C++ dynamic libs 2017-05-19 10:22 UTC Viktor Szakats * contrib/hbgzio/hbgzio.hbp * contrib/hbmzip/hbmzip.hbp * README.md * URL updates 2017-05-19 00:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c + added support for "VarCharFox" and "VarBinaryFox" field types. ! fixed accessing "VarChar" fields longer then their size defined in table header (rest of longer fields is stored in memo file) ! do not reduce size of data stored in "VarChar" fields to the size of region allocated for them in table record. Such fields allows to store up to 64000 bytes and rest is saved in memo file. ! fixed RTE when strings longer then 64000 bytes are assigned to "VarChar" fields. ! fixed RTE when strings longer then declared field size are assigned to Unicode character fields (i.e. "nChar" or "C:U") ! fixed possible use of memcpy() with the same source and destination addresses 2017-05-15 15:28 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/_compat.h ! fix to define `SIZE_MAX`. Required in certain Linux environments Thanks to Aleksander Czajczyński for the patch. * contrib/hbcrypto/hbcrypto.hbp * contrib/rddads/rddads.hbp ! respect `HB_BUILD_3RDEXT=no` 2017-05-15 01:30 UTC Viktor Szakats * contrib/hbhpdf/tests/files/basn*.png % optimize 2017-05-14 21:45 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! minor fix to prev 2017-05-14 21:38 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add ability to open .dbf files from the command-line that have a non-standard filename extension, using `hbmk2 -dbf:myfile` + display the filename of the .dbf file opened from the command-line on the UI 2017-05-15 14:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbgs/hbgs.hbp ! respect HB_BUILD_3RDEXT=no * contrib/hbwin/olecore.c ! fixed updating unnamed parameters passed by reference together with named parameters 2017-05-14 19:35 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add ability to inject extra code/directives to the hbmk2/hbrun source code at build time. It can be enabled by defining `_HBMK2_EXTRA_CODE`, when a source file named `hbmk2_extra.prg` will be included between the header and code section of hbmk2.prg. + display note when above option is enabled + add ability to prepend extra code before the shell execution stub via the `_HBSHELL_EXEC_PRE` macro. It's initialized by an empty string in a default build. This macro can be redefined at will by `hbmk2_extra.prg`. 2017-05-12 22:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c ! do not use SafeArrayGetVartype() with some chosen builds C compilers which do not support it 2017-05-12 21:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c * changed tagVARIANT member used in hack extracting variant value address from ullVal to bVal to avoid problems with some old header files which do not support LONGLONG values 2017-05-12 15:29 UTC Viktor Szakats * contrib/hbwin/olecore.c ! fix a merge error * sync-up remaining minor diffs with 3.2 One msvcarm-specific patch remains, without which this error happens: ``` .\hbwin\olecore.c(558) : warning C4310: cast truncates constant value .\hbwin\olecore.c(808) : error C2039: 'ullVal' : is not a member of 'tagVARIANT' [...]\fw-vce2008\include\oaidl.h(438) : see declaration of 'tagVARIANT' ``` Though it may be a borked msvcarm toolchain. 2017-05-12 17:37 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c + added support for typed variant array references created by __oleVariantNew() 2017-05-12 17:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/oleauto.prg * contrib/hbwin/olecore.c * contrib/hbwin/hbwin.hbx * code cleanups and some synchronizations with Viktor's branch + added new PRG function borrowed from Viktor's branch: win_oleClassExists( <cOleName> | <cCLSID> ) -> <lExists> 2017-05-12 13:35 UTC Viktor Szakats * config/aix/gcc.mk * config/hpux/gcc.mk * contrib/hbamf/amfdec.c * contrib/hbct/ctcom2.c * contrib/hbfimage/freeimag.ch * contrib/hbmzip/mzip.c * contrib/hbzebra/pdf417.c * contrib/xhb/filestat.c * docs/faq.html * include/dbinfo.ch * include/hbapifs.h * include/hbrddnsx.h * src/3rd/hbpmcom/doc/readme.txt * src/common/hbffind.c * src/common/hbfsapi.c * src/compiler/genhrb.c * src/rdd/dbffpt/dbffpt1.c * src/rtl/filesys.c * src/rtl/fstemp.c * src/rtl/hbmd5.c * src/rtl/tbrowse.prg * src/rtl/tget.prg * src/rtl/transfrm.c * src/vm/asort.c * src/vm/classes.c * 'n bit[s]' -> 'n-bit' 2017-05-12 14:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c + added support for typed variant references created by __oleVariantNew() 2017-05-12 09:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c + added support for VT_VARIANT items to __oleVariantNew() 2017-05-11 23:51 UTC Viktor Szakats * config/win/msvc.mk + config/win/clang-cl.mk + add compiler target for clang-cl (a minor step to make this eventually work) 2017-05-11 18:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c * create resizable array instead of fixed size array when empty OLE array is created by __oleVariantNew() 2017-05-10 17:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c + added functions which changes default method of NIL conversion to OLE variant: __oleVariantNil2Null( [<lNewNil2NullFlag>] ) -> <lPrevNil2NullFlag> By default NIL values passed to foreign OLE code are converted to VT_EMPTY variants. __oleVariantNil2Null( .t. ) changes this behavior so NIL values are converted to VT_NULL variants. ; Warning: This function was added for tests. Looks that it's expected behavior for communication with MS-Excel and allows to use NIL as default parameter value but potentially it may create problems with some custom OLE interfaces so this modification should be widely tested in real life before we change the default behavior. 2017-05-10 16:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c - removed support for VT_DECIMAL and VT_PTR arrays from __oleVariantNew() - I found in MSDN that such types are unsupported in SAFEARRAYs ! fixed indexes in array conversion in __oleVariantNew() ! fixed conversion to VT_BSTR arrays in __oleVariantNew() 2017-05-10 12:27 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c + automatically add WIN_VT_ARRAY bit in 1st parameter of __oleVariantNew() when 2nd parameter is an array + added support for typed variant arrays to __oleVariantNew() Now it's possible to create strong typed one dimensional arrays and pass them as parameters to foreign OLE code, i.e. oOle:setArrayOfStrings( ; __oleVariantNew( WIN_VT_BSTR, { "1st", "2nd", "3rd" } ) ) oOle:setArrayOfIntegers( ; __oleVariantNew( WIN_VT_INT, { 1, 2, 3, 4 } ) + added support for array of integers initialization from strings passed to __oleVariantNew() in 2nd parameter. Now it's possible to create strong typed one dimensional OLE array initialized with string bytes ASCII values, i.e. oOle:setUcharStr( ; __oleVariantNew( hb_bitOr( WIN_VT_ARRAY, WIN_VT_UI8 ), ; "ABCDEF" ) ) oOle:setArrayOfIntegers( ; __oleVariantNew( hb_bitOr( WIN_VT_ARRAY, WIN_VT_INT ), ; "ABCDEF" ) ) ; warning: code not tested at all, written in my Linux box, please make real life tests in MS-Windows 2017-05-10 09:18 UTC Viktor Szakats * contrib/gtqtc/gtqtc1.cpp * contrib/rddads/ads1.c * ChangeLog.txt * doc/todo.txt * include/hbapi.h * src/common/hbstr.c * src/compiler/hbmain.c * src/pp/ppcore.c * src/pp/pplib.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/wafunc.c * src/rtl/errapi.c * src/rtl/hbsocket.c * src/vm/classes.c * src/vm/dynsym.c * src/vm/hvm.c ! "sth" -> "something" 2017-05-10 07:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c * minor modification in order of helper functions 2017-05-10 07:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c * added additional protection to reduce hb_oleSafeArrayToString() functionality to arrays of VT_I1 and VT_UI1 items so other types which may also allocate 1 byte for each item are not converted. 2017-05-09 17:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c % small optimization in hb_oleSafeArrayFromString() ! fixed named parameter conversion - the last one was ignored 2017-05-09 14:26 UTC Viktor Szakats * contrib/gtwvw/gtwvwd.c ! stop resetting mouse position on init Ref: https://groups.google.com/d/msg/harbour-users/d0_5A3gtrb8/LNj1H19DAwAJ % related cleanups 2017-05-09 14:08 UTC Viktor Szakats * contrib/hbwin/tests/prngdi.prg * replace XPS printer with PDF printer. Requires Windows 10. * contrib/hbwin/tests/ole.prg * contrib/hbwin/tests/pdfcreat.prg * contrib/hbwin/tests/prngdi.prg % drop unnecessary ':= NIL' assignments 2017-05-09 10:57 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c * src/rdd/workarea.c * simplified the code and eliminated wrong /* fallthrough */ comments inside case block reported by Viktor 2017-05-09 08:13 UTC Viktor Szakats * src/rdd/dbffpt/dbffpt1.c * minor cleanup * ChangeLog.txt * reorder after merge 2017-05-09 09:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/olecore.c + added support for named parameters in OLE method calls, named parameters should be passed inside hash array in first parameter, i.e.: oWorksheets:add( { "Before" => oWS, "Count" => 3 } ) next parameters if exist are passed as unnamed ones, i.e. oOle:add( { "name" => "test", "value" => 12345 }, 1, 2, 3 ) ; warning: code not tested at all, written in my Linux box, please make real life tests in MS-Windows ! fixed __oleGetNameId() 2017-05-09 09:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/charswap.c * contrib/hbct/token1.c * contrib/hbnetio/netiosrv.c * contrib/hbssl/ssl_sock.c * contrib/rddads/ads1.c * include/hbexprb.c * src/common/hbprintf.c * src/compiler/cmdcheck.c * src/compiler/complex.c * src/compiler/gencc.c * src/compiler/hbmain.c * src/compiler/hbopt.c * src/pp/ppcore.c * src/rdd/dbf1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hsx/hsx.c * src/rdd/workarea.c * src/rtl/dates.c * src/rtl/gtclip.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/hbgtcore.c * src/rtl/itemseri.c * src/rtl/strtoexp.c * src/vm/classes.c * src/vm/task.c * added and verified (following Viktor's patch) /* fallthrough */ comment for GCC >= 7. ; I haven't found any errors in existing code. /cc @vszakats * src/rdd/dbf1.c * minor improvement in dbf1.c 2017-05-05 23:13 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add -inithbl option to enable functionality added in 2017-04-07 21:42 UTC. Meaning this option is no longer enabled by default, avoiding an unnecessary warning when building projects that don't require this (e.g. hbrun when building Harbour on CI machines) [TRANSLATION] 2017-05-05 01:13 UTC Viktor Szakats ; silence new gcc 7 warnings: 'warning: this statement may fall through [-Wimplicit-fallthrough=]' Log output: https://ci.appveyor.com/project/vszakats/hb/build/3.4.2639 Ref: https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/ * contrib/gtwvg/gtwvgd.c * contrib/hbnetio/netiosrv.c * contrib/hbssl/ssl_sock.c * include/hbexprb.c * src/compiler/cmdcheck.c * src/compiler/complex.c * src/compiler/hbmain.c * src/pp/ppcore.c * src/rdd/dbf1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hsx/hsx.c * src/rtl/dates.c * src/rtl/gtclip.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/itemseri.c * src/rtl/strtoexp.c * src/vm/classes.c * add new `/* fallthrough */` comments ; NOTE: Some of these may be real errors which I've now silenced with this update. Please review code familiar to you and open an Issue if you've found a mistake. /cc @druzus @bedipritpal * contrib/gtwvw/gtwvwd.c ! blind fix for existing FIXME and matching fallthrough warnings. These case branches will now all 'break'. Untested, potentially wrong. * contrib/gtwvw/editbox.c % remove redundant (= always true) condition to silence fallthrough warning * contrib/hbct/charswap.c * contrib/hbct/token1.c * contrib/rddads/ads1.c * include/hbexprb.c * src/common/hbprintf.c * src/compiler/complex.c * src/compiler/gencc.c * src/compiler/hbopt.c * src/pp/ppcore.c * src/rdd/dbf1.c * src/rdd/workarea.c * src/rtl/gtwin/gtwin.c * src/rtl/hbgtcore.c * src/rtl/itemseri.c * src/vm/task.c ! replace existing 'no break' comments with `/* fallthrough */` to get recognized by gcc 7 to suppress fallthrough warnings. * src/compiler/cmdcheck.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * add `break;` to `default:` branches where missing, to follow best practice ; FIXME: Lots of these due to a single static function: [DONE] ``` contrib/hbmisc/hbeditc.c:130:15: warning: assuming signed overflow does not occur when assuming that (X - c) > X is always false [-Wstrict-overflow] if( i < adres - 2 ) ^ ``` 2017-05-04 14:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/hbcomp.c ! restored protection against multiple free of the same expression I removed by mistake in one of my recent commits. 2017-05-03 17:56 UTC Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * minor cleanups 2017-05-03 10:19 UTC Viktor Szakats * package/mpkg_win_ci_refresh_deps.sh * nghttp2 1.22.0 * package/mpkg_win_ci.sh * show diff after update 2017-05-03 09:10 UTC Viktor Szakats * * * copyright name cleanups 2017-04-26 14:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/harbour.def ! added missing hb_itemPutNil() 2017-04-25 17:45 UTC+0200 Aleksander Czajczynski (hb fki.pl) * src/harbour.def ! add hb_rand*() functions, fixing hbtip regression (#154) after 1938dd0a7094ddf0cd3cdcb2ef9954afe99f969d ; import of 2014-12-10 14:38 UTC+0100 functions from Viktor's 3.4 fork * src/rtl/hbrand.c ! hb_randStr(): fixed possible GPF and other errors when passing negative size * include/harbour.hbx * include/hbapi.h * src/rtl/hbrandom.c + added C level hb_random_num_secure() which works like hb_random_num() but uses arc4 internally + added hb_randInt() which works the same as hb_RandomInt() but uses arc4 internally + added hb_randNum() which works the same as hb_Random() but uses arc4 internally 2017-04-25 15:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexprb.c ! added missing code to restore original expression type after direct type change in code like: <var> := <var> + <exp> It created problems when <var> was reused later, i.e. in FOR loop: FOR v := v + x TO 3 * simplified code to restore original expression type and updated comments * src/compiler/harbour.y * minor cleanup 2017-04-22 21:22 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbamf/amfenc.c ! fix trivial mistake in AMF3_ENCODE(), which broke string deduplication after hash with string-keys was serialized in object tree. The hash itself was serialized correctly because keys are by definition unique. 2017-04-21 13:25 UTC Viktor Szakats * contrib/hbdoc/hbdoc.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * replace 'present' with the year of the last commit 2017-04-21 12:05 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + new macros in automatic version headers: _HBMK_BUILD_YEAR_ _HBMK_VCS_GIT_COMMIT_YEAR_ _HBMK_VCS_GIT_AUTHOR_YEAR_ Year is a non-padded string value 2017-04-20 22:50 UTC Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerate 2017-04-20 17:40 UTC Viktor Szakats * .github/CONTRIBUTING.md * contrib/hbdoc/hbdoc.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * package/harbour.rc * README.md * src/compiler/hbusage.c * src/pp/hbpp.c * utils/hbi18n/hbi18n.prg * utils/hbmk2/doc/hbmk2.hu.md * utils/hbmk2/hbmk2.prg * utils/hbmk2/po/hbmk2.hu.po * utils/hbmk2/doc/hbmk2.*.md * utils/hbtest/hbtest.prg % replace current year in copyright notice with the word "present" Experiment to make yearly copyright year bump updates unnecessary * cleanups 2017-04-20 12:48 UTC Viktor Szakats * config/win/mingw.mk ! fix to ignore HB_CCPREFIX when stripping libs for win/mingw* targets, in sync with hbmk2. (a prefixed `strip` seems to be present on non-Windows mingw builds, but not in native MSYS2/standalone distros, and the native Linux `strip` seems to support PE exes. Please PR if this doesn't cover every use-case.) * utils/hbmk2/hbmk2.prg ! fix to honor HB_CCPREFIX when stripping libs for wce/mingw* targets, in sync with the GNU Make rules. (untested) Ref: https://github.com/vszakats/hb/issues/289 * contrib/hbodbc/hbodbc.hbp * contrib/sddodbc/sddodbc.hbp ! exclude these libs when building for the wce/mingwarm target. Apparently the headers are present but the implibs are missing, so it would fail at link-time anyway. (untested) Ref: https://github.com/vszakats/hb/issues/289 2017-04-20 10:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/zlib/* * updated to version 1.2.11 ; Already present in 3.4, not merged 2017-04-20 07:24 UTC Viktor Szakats + tests/wvtwin.prg + add GTWVT example by Klas Engwall, posted here: https://groups.google.com/d/msg/harbour-users/J-tKLmCDSp4/NMh0du-sAgAJ (with some cleanups and ability to run/compile with GTXWC) 2017-04-20 09:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbcomp.h * src/compiler/hbmain.c * removed not longer necessary calls to hb_compExprLstDealloc() * src/compiler/hbcomp.c ! do not generate internal error when nested expression deallocation is activated * contrib/rddads/ads1.c ! fixed bad typo which effectively completely broke AdsTestRecLocks( .t. ) mode 2017-04-19 18:30 UTC Viktor Szakats * contrib/xhb/dirdrivc.c * contrib/xhb/hbserv.c ! exclude some Windows-specific code that cannot be linked for WinCE Ref: https://github.com/vszakats/hb/issues/289 2017-04-19 17:08 UTC Viktor Szakats * package/mpkg_win_dl.sh * re-enable GPG key verification for Bintray downloads after an upstream fix landed, dependencies were re-uploaded and keys regenerated by Bintray server 2017-04-19 18:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbdate.c ! fixed compilation with HB_TR_LEVEL_DEBUG in C mode 2017-04-19 07:35 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.54.0 2017-04-15 21:09 UTC Viktor Szakats * config/rules.mk + add debug rule to print any variable using $ make print-VARIABLE_NAME Ref: https://blog.melski.net/2010/11/30/makefile-hacks-print-the-value-of-any-variable/ 2017-04-15 21:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbcompdf.h * include/hbexprb.c * src/common/expropt1.c * redefined all HB_ET_MACRO_* macros as bitfields * src/compiler/complex.c * small modification for future extensions in macro usage * src/compiler/hbcomp.c ! replaced old temporrary hack with internal error. * src/compiler/hbmain.c * code reformating * src/compiler/harbour.y * separated DECLARE tokens * src/compiler/harbour.yyc * src/compiler/harbour.yyh * regenerated * src/rdd/dbffpt/dbffpt1.c ! fixed possible bad interaction (modified default memo type) due to uninitialized item returned by hb_stackAllocItem(). Such items may contain any simple value. * src/vm/memvars.c * minor variable name cleanup * utils/hbtest/rt_math.prg * repeat tests for macro messages and macro <op>=, pre/post ++/-- operations with and without pass by reference (-ks) optimization 2017-04-15 21:19 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbdate.c * implemented monotonic timers in POSIX and MS-Windows builds * config/wce/global.mk * config/wce/mingwarm.mk * config/win/global.mk * utils/hbmk2/hbmk2.prg * added winmm/mmtimer to list of system libraries - required for timeGetTime() * ChangeLog.txt ! typos 2017-04-15 15:34 UTC Viktor Szakats * tests/speed.prg * tests/statics.prg * cleanups * tests/sound.prg * contrib/hbnf/tests/clrsel.prg % remove unneccessary parenthesis 2017-04-15 07:48 UTC Viktor Szakats * src/rtl/gttrm/gttrm.c ! fix conflict resolution in last merge 2017-04-14 18:31 UTC Viktor Szakats * doc/cmdline.md ! whitespace * tests/slidingpuzzle.prg ! apply fix from: https://github.com/vszakats/hb/pull/288#issuecomment-294204677 2017-04-14 17:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/harbour.def * removed hb_fsPoll() added by mistake - it's only in *nix builds 2017-04-14 16:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filesys.c + added new C functions for UNIX and DJGPP builds: int hb_fsPoll( PHB_POLLFD pPollSet, int iCount, HB_MAXINT nTimeOut ); int hb_fsCanRead( HB_FHANDLE hFileHandle, HB_MAXINT nTimeOut ); int hb_fsCanWrite( HB_FHANDLE hFileHandle, HB_MAXINT nTimeOut ); These functions should be used instead of select() in C code to hide low-level access to select()/poll() functionality in *nix builds (they are supported by DJGPP only to simplify existing code common for DJGPP and *nix builds). Maximum file handle value which can be used in select() is limited by FD_SETSIZE. Please note that it's file handle value not number of file handles in the set. It creates serious problem for applications which operate on great number of handles (i.e. servers which have to keep open many sockets, pipes, files, etc. for their clients) so the new file/socket/pipe/... handle value can easy exceed FD_SETSIZE limit and in such case cannot be used with select(). The modification on 2016-04-05 21:24 UTC+0200 Przemyslaw Czerpak resolved the problem only for sockets and pipes in code which uses corresponding hb_socket*() and hb_fsPipe*() API but not for all other cases. This one is for POSIX compilant code which needs pure POSIX select()/poll() functionality. Please note that HB_POLLFD structure should be compatible with struct pollfd defined by POSIX.1-2001 anyhow not all platforms conform this standard so portable Harbour code should always use HB_POLLFD and HB_POLL* constant values instead of POLL* ones. * include/hbdate.h * src/common/hbdate.c + added new C functions to calculate timeouts: HB_MAXUINT hb_timerGet( void ); HB_MAXUINT hb_timerInit( HB_MAXINT nTimeOut ); HB_MAXINT hb_timerTest( HB_MAXINT nTimeOut, HB_MAXUINT * pnTimer ); They are designed to be used instead of direct access to hb_dateMilliSeconds(). Now they internally use hb_dateMilliSeconds() but it can be easy replaced by any other system monotonic clock by one local modification inside hb_timerGet() function. * src/rtl/filesys.c * use hb_timer*() functions instead of hb_dateMilliSeconds() * use hb_fsCanRead()/hb_fsCanWrite() instead of select()/poll() It also fixed timeout processing inside hb_fsPipeIsData() and hb_fsPipeWrite() in builds using poll() * src/rtl/filesys.c * src/rtl/gtcrs/gtcrs.h * src/rtl/gtcrs/gtcrs.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/mousesln.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtxwc/gtxwc.c * use hb_timer*() functions instead of hb_dateMilliSeconds() * use hb_fsCanRead()/hb_fsCanWrite() instead of select()/poll() * src/vm/thread.c: * src/rtl/gtwin/gtwin.c * src/rtl/hbcom.c * src/rtl/hbgtcore.c * src/rtl/hblpp.c * src/rtl/idle.c * contrib/hbnetio/netiosrv.c: * contrib/hbssl/ssl_sock.c: * use hb_timer*() functions instead of hb_dateMilliSeconds() * contrib/xhb/hboutdbg.c * use hb_fsCanWrite() instead of select() * src/rtl/hbsocket.c ! repeat select() interrupted by signal inside hb_socketSelect() when poll() function is not available * src/3rd/hbdossrl/serial.c ! fixed -Wshift-negative-value GCC warnings 2017-04-14 13:22 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbtip/ccgi.prg * contrib/hbtip/client.prg * contrib/hbtip/encb64.prg * contrib/hbtip/encoder.prg * contrib/hbtip/encqp.prg * contrib/hbtip/encurl.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/hbtip.hbp * contrib/hbtip/hbtip.hbx * contrib/hbtip/httpcli.prg * contrib/hbtip/log.prg * contrib/hbtip/mail.prg * contrib/hbtip/mime.c * contrib/hbtip/misc.c * contrib/hbtip/popcli.prg * contrib/hbtip/sessid.prg * contrib/hbtip/smtpcli.prg * contrib/hbtip/thtml.ch * contrib/hbtip/thtml.prg * contrib/hbtip/tip.ch * contrib/hbtip/url.prg + contrib/hbtip/base64u.prg + contrib/hbtip/mailassy.prg * contrib/hbtip/sendmail.prg -> [...]/mailsend.prg + contrib/hbtip/WARNING.txt * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/tests/dnldftp.prg -> [...]/ftp_dl.prg * contrib/hbtip/tests/ftpadv.prg -> [...]/ftp_adv.prg + contrib/hbtip/tests/email.prg + contrib/hbtip/tests/ftp_ul.prg - contrib/hbtip/tests/gmail.hbp - contrib/hbtip/tests/gmail.prg * contrib/hbtip/tests/hbmk.hbm * contrib/hbtip/tests/httpadv.prg -> [...]/http_adv.prg * contrib/hbtip/tests/httpcli.prg -> [...]/http_cli.prg + contrib/hbtip/tests/http_qry.prg - contrib/hbtip/tests/loadhtml.prg + contrib/hbtip/tests/test.prg + contrib/hbtip/tests/url.prg * synced with 3.4 fork by Viktor Szakats ; the only difference is slightly edited WARNING.txt - contrib/hbtip/credent.prg % deleted TIPCredentials() class that was never implemented ; changes above come from vast number of commits in 3.4 repository - many thanks to Viktor Szakats for maintaining 2017-04-13 09:18 UTC Viktor Szakats * contrib/hbtip/WARNING.txt ! fix spelling * add upstream syncing policy * doc/c_std.txt + add Wikipedia link * doc/Makefile * doc/cmdline.txt -> doc/cmdline.md * convert to Markdown 2017-04-12 22:04 UTC Viktor Szakats * doc/en/rdddb.txt * doc/vm.txt ! fix spelling/typos * addons/README.txt * convert to Markdown * package/mpkg_win.sh * package/RELNOTES.txt.in -> package/RELNOTES.md.in * addons/README.txt -> addons/README.md * rename to Markdown 2017-04-11 22:08 UTC Viktor Szakats * contrib/hbct/doc/en/charsort.txt * contrib/hbct/doc/en/ctmath2.txt * contrib/hbct/doc/en/strdiff.txt * cleanups * package/mpkg_win_ci.sh ! force UTC timezone when forming the filename of 'prod' artifacts * package/mpkg_win.sh * show timezone of the build machine 2017-04-11 12:27 UTC Viktor Szakats * doc/en/ati.txt * doc/en/terminal.txt * cleanups/fixes * config/postinst.hb * remove a win/bcc-specific packaging tweak 2017-04-10 22:17 UTC Viktor Szakats * contrib/hbnf/doc/en/pchr.txt * contrib/hbziparc/doc/en/ziparc.txt * doc/en/ati.txt * doc/en/memvar.txt * doc/en/proc.txt * doc/en/rdddb.txt * doc/en/rddmisc.txt * doc/en/sayget.txt * doc/en/string.txt * doc/en/terminal.txt * doc/en/tlabel.txt * doc/en/treport.txt * doc/en/var.txt * src/rtl/gtdos/gtdos.c * various minor doc/comment cleanups 2017-04-10 21:37 UTC Viktor Szakats * contrib/hbgt/ascposgt.c * contrib/hbmagic/hbmagic.ch * contrib/hbnf/tbwhile.prg * ChangeLog.txt * include/hbpers.ch * text casing 2017-04-10 19:19 UTC Viktor Szakats * contrib/gtwvw/doc/en/gtwvw.txt * contrib/hbct/doc/en/addascii.txt * contrib/hbct/doc/en/asciisum.txt * contrib/hbct/doc/en/atadjust.txt * contrib/hbct/doc/en/atnum.txt * contrib/hbct/doc/en/atrepl.txt * contrib/hbct/doc/en/charlist.txt * contrib/hbct/doc/en/charone.txt * contrib/hbct/doc/en/charswap.txt * contrib/hbct/doc/en/dattime2.txt * contrib/hbct/doc/en/ftoc.txt * contrib/hbct/doc/en/num1.txt * contrib/hbct/doc/en/relation.txt * contrib/hbct/doc/en/strdiff.txt * contrib/hbct/doc/en/token1.txt * contrib/hbct/doc/en/token2.txt * contrib/hbct/doc/en/trig.txt * contrib/hbgd/doc/en/gdwrp.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbmisc/doc/en/nconvert.txt * contrib/hbmisc/doc/en/strfmt.txt * contrib/hbnf/doc/en/calendar.txt * contrib/hbnf/doc/en/cint86.txt * contrib/hbnf/doc/en/clrsel.txt * contrib/hbnf/doc/en/descendn.txt * contrib/hbnf/doc/en/dispmsg.txt * contrib/hbnf/doc/en/easter.txt * contrib/hbnf/doc/en/elapmil.txt * contrib/hbnf/doc/en/fttext.txt * contrib/hbnf/doc/en/idle.txt * contrib/hbnf/doc/en/metaph.txt * contrib/hbnf/doc/en/miltime.txt * contrib/hbnf/doc/en/mouse1.txt * contrib/hbnf/doc/en/ntow.txt * contrib/hbnf/doc/en/numlock.txt * contrib/hbnf/doc/en/nwsem.txt * contrib/hbnf/doc/en/nwuid.txt * contrib/hbnf/doc/en/pchr.txt * contrib/hbnf/doc/en/prtscr.txt * contrib/hbnf/doc/en/scancode.txt * contrib/hbnf/doc/en/setlastk.txt * contrib/hbnf/doc/en/sinkey.txt * contrib/hbnf/doc/en/sleep.txt * contrib/hbnf/doc/en/vidcur.txt * contrib/hbnf/doc/en/xbox.txt * contrib/hbziparc/doc/en/ziparc.txt * contrib/rddads/doc/en/adsfunc.txt * contrib/rddads/doc/en/readme.txt * doc/en/menu.txt ! fix spelling/typos 2017-04-10 17:46 UTC Viktor Szakats * doc/oldnews.txt * doc/xhb-diff.txt * docs/_data/news.yml * docs/_example/mouse.html * docs/_example/parseini.html * docs/contribs.md * docs/faq.html * docs/index.html * docs/logo.md * docs/terms.md * docs/thirdparty.md * tests/mouse.prg * tests/parseini.prg ! fix spelling/typos 2017-04-10 15:54 UTC Viktor Szakats * .github/CONTRIBUTING.md * .github/ISSUE_TEMPLATE.md * doc/clipper.txt * doc/cmpopt.txt * doc/codebloc.txt * doc/codestyl.txt * doc/destruct.txt * doc/dirstruc.txt * doc/en/rdddb.txt * doc/gmake.txt * doc/gtapi.txt * doc/gtslang.txt * doc/howtorel.txt * doc/howtovcs.txt * doc/pp.txt * doc/pragma.txt * doc/statics.txt * doc/tracing.txt * doc/transfrm.txt * doc/vm.txt * doc/windll.txt * doc/xhb-diff.txt * README.md ! fix spelling/typos * README.md * remove outdated OS/2 build instructions 2017-04-10 14:49 UTC Viktor Szakats * doc/en/arrayshb.txt * doc/en/ati.txt * doc/en/compiler.txt * doc/en/datetime.txt * doc/en/dbdelim.txt * doc/en/dbsdf.txt * doc/en/dir.txt * doc/en/dirdrive.txt * doc/en/diskspac.txt * doc/en/file.txt * doc/en/garbage.txt * doc/en/gx.txt * doc/en/harbext.txt * doc/en/hashfunc.txt * doc/en/hbinet.txt * doc/en/hbtoken.txt * doc/en/idle.txt * doc/en/inputall.txt * doc/en/langall.txt * doc/en/left.txt * doc/en/macro.txt * doc/en/math.txt * doc/en/memo.txt * doc/en/memvar.txt * doc/en/menu.txt * doc/en/misc.txt * doc/en/proc.txt * doc/en/rdddb.txt * doc/en/rddmisc.txt * doc/en/set.txt * doc/en/string.txt * doc/en/strtran.txt * doc/en/subcodes.txt * doc/en/tbrowse.txt * doc/en/terminal.txt * doc/en/tlabel.txt * doc/en/transfrm.txt * doc/en/treport.txt * doc/en/typefile.txt * doc/en/var.txt ! fix spelling/typos * package/mpkg_src.sh * improve zip options 2017-04-10 07:46 UTC Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.21.1 2017-04-08 11:17 UTC Viktor Szakats * package/mpkg_win_ci.sh % simplify GNU Make invokation in msvc batches 2017-04-08 09:57 UTC Viktor Szakats * package/mpkg_win_dl.sh ! fix vcpkg-related commands % disable metrics tracking * disable vcpkg. Sadly it's unusable as it builds everything locally from source, which takes too much time for CI purposes 2017-04-08 08:36 UTC Viktor Szakats * config/global.mk + autodetect msvc version when HB_COMPILER=msvc* is explicitly specified * package/mpkg_win_ci.sh % let the make system autodetect HB_COMPILER_VER for msvc builds * call mpkg_win_dl.sh for msvc as well * package/mpkg_win_dl.sh * do not download mingw dependencies for msvc builds 2017-04-08 00:01 UTC Viktor Szakats * contrib/hbcrypto/sha3.c * silence 64-bit msvc warnings ! fix parameter size for 64-bit Windows * src/rtl/sha1.c ! fix 64-bit msvc warning 2017-04-07 23:50 UTC Viktor Szakats * config/global.mk * include/hbsetup.h * package/mpkg_win_ci.sh * finalize msvc 2017 version info 2017-04-07 23:45 UTC Viktor Szakats * contrib/hbfimage/hbfimage.hbp * include/hbsetup.h * utils/hbmk2/hbmk2.prg * URL updates 2017-04-07 23:36 UTC Viktor Szakats * package/mpkg_win_ci.sh + add support for MSVS 2017 ! fix potential problem/regression with starting MSVS builds ! fix to add mingw32-make to PATH * README.md * URL updates * src/3rd/pcre2/Makefile * sync an option with pcre 2017-04-07 21:42 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + initialize target .hbl files with empty content in case any of these is missing, _before_ the .prg compiler pass. This ensures that the build will not fail due to missing .hbl files in case the source code depends on them, e.g. by '#pragma __binarystreaminclude'-ing them to embed them in the executables. This feature will ensure that the build is successful, but to include non-empty .hbl files with the desired content, a subsequent build is required (.hbl files are generated after the .prg compilation phase). A warning is shown to inform the user about that. In short: It became easier to bootstrap projects that embed .hbl files into their own binaries. 2017-04-07 18:56 UTC Viktor Szakats * .appveyor.yml * upgrade vm to msvc 2017 after it got msys support https://www.appveyor.com/updates/2017/04/03/ 2017-04-07 18:18 UTC Viktor Szakats * doc/en/dirdrive.txt * doc/en/garbage.txt ! typos * package/upd_doc.sh * cleanups 2017-04-07 16:55 UTC Viktor Szakats * doc/en/dbdelim.txt * doc/en/dbsdf.txt ! typos * package/upd_doc.sh + add support to use a Git deploy key to push commits to harbour/doc github.com repository, if it's possible * .appveyor.yml + package/deploy_hb_doc.key.asc + use Git deploy key to push commit to harbour/doc repository 2017-04-07 13:09 UTC Viktor Szakats * .travis.yml * contrib/gtqtc/gtqtc.hbp * update homebrew qt package names * package/upd_doc.sh * minor cleanup 2017-04-06 10:11 UTC Viktor Szakats * extras/ps32/build.sh * extras/superlib/build.sh % refinements: less trashing on local disk and more universal commands 2017-04-06 12:05 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbtip/httpcli.prg ! fixed uploading binary files with TIPClientHTTP:PostMultiPart() Thanks to Alexandre Alencar, who informed about the bug, supplied example test code and suggested a patch. This commit simplifies patch given by Alexandre. * ChangeLog.txt % stripped spaces before EOLs ; Both discarded. 3.4 had these fixed already. [vszakats] 2017-04-05 23:44 UTC Viktor Szakats * doc/en/datetime.txt * doc/en/rddord.txt ! fix typos * package/upd_doc.sh * limit doc updates to AppVeyor builds to avoid parallel CI sessions overriding each other 2017-04-05 22:47 UTC Viktor Szakats * contrib/hbdoc/_genhtml.prg + enable SRI for more external resources 2017-04-05 22:17 UTC Viktor Szakats * contrib/hbdoc/_genhtml.prg * docs/_includes/head.html * docs/_layouts/example.html + enable SRI for external resources * docs/_layouts/example.html ! anonymize an external resource 2017-04-05 17:58 UTC Viktor Szakats * extras/ps32/build.sh ! extend sanitize command for *.PRG 2017-04-05 17:46 UTC Viktor Szakats - extras/ps32/tests/hbmk.hbm * cleanup + extras/ps32/build.sh + add shell script to execute all download/patch/build steps at once. Also build a test app. Fix few issues along the way. * extras/ps32/ps32.patch ! fix a function that missed a `return` statement ! fix #includes to use lowercase filenames and no hardcoded paths for portability * extras/ps32/ps32.hbp * be silent * extras/superlib/build.sh * be more silent * cleanup - extras/ps32/README.md - extras/superlib/README.md % remove READMEs in favour of POSIX shell scripts (easily adaptable for MS-DOS batch environments) 2017-04-05 15:20 UTC Viktor Szakats * extras/superlib/build.sh - extras/superlib/test.prg + build built-in example/demo * package/mpkg_rpm_docker.sh * cleanup to list .rpm results * src/rtl/gtcrs/gtcrs.c * src/rtl/gtsln/gtsln.c * src/rtl/gttrm/gttrm.c * src/rtl/gtxwc/gtxwc.c * do not force non-Cl*pper compatible HB_GTI_COMPATBUFFER = .F. default for above GTs. These were missed from 2012-11-10 20:55 UTC+0100, so for years the default was GT-dependent :( For modern apps HB_GTI_COMPATBUFFER needs to be set to .T. manually. Except for hbrun/hbmk2 scripts (.hb) where this remains the default. After so many years of confusion it is probably a good idea to always set this explicitly in user (CUI) applications. [INCOMPATIBLE] 2017-04-05 11:45 UTC Viktor Szakats * package/mpkg_rpm_docker.sh * temp fix: use vendored sqlite * utils/hbmk2/hbmk2.prg ! fix to expand wildcard on *nix that came from the command-line this fixes the sanitize commands in extras/*/README.md on *nix systems * extras/superlib/superlib.patch ! fix some C code warnings + extras/superlib/build.sh + add script that does all the steps described in README.md + extras/superlib/test.prg + add simple test app * extras/superlib/superlib.hbp * be silent 2017-04-04 09:59 UTC Viktor Szakats * .travis.yml + package/mpkg_rpm_docker.sh + create rpm for Amazon Linux as part of the CI process 2017-04-04 08:04 UTC Viktor Szakats * .travis.yml + install ncurses on mac * config/detect.mk + detect homebrew zlib on mac * contrib/hbbz2/hbbz2.hbc * contrib/hbbz2io/hbbz2io.hbc * contrib/hbmlzo/hbmlzo.hbc + add homebrew libpath for darwin * contrib/hbbz2/hbbz2.hbp * contrib/hbbz2io/hbbz2io.hbp + add homebrew package name * contrib/hbmxml/hbmxml.hbc * minor cleanup 2017-04-03 17:07 UTC Viktor Szakats * .travis.yml + add commented mxe package for vendored dependencies + add more commented brew packages for vendored dependencies (and one non-vendored one) 2017-04-03 08:45 UTC Viktor Szakats * .travis.yml + install postresql for mac builds + add commented line to install vendored dependencies for mac builds + add commented deb packages for core vendored dependencies ; command to lookup packages for certain package managers: grep -h {deb} $(find contrib -name '*.hb[pm]') | sort | uniq grep -h {homebrew} $(find contrib -name '*.hb[pm]') | sort | uniq grep -h {pacman} $(find contrib -name '*.hb[pm]') | sort | uniq grep -h {rpm} $(find contrib -name '*.hb[pm]') | sort | uniq 2017-04-01 08:59 UTC Viktor Szakats * contrib/hbmlzo/hbmlzo.hbp * contrib/hbmxml/hbmxml.hbp * contrib/hbmzip/hbmzip.hbp + detect package dependencies on debian * .travis.yml * add vendored .deb dependencies (commented) 2017-03-31 08:46 UTC Viktor Szakats * utils/hbtest/hbtest.prg * replace -noalt option with a -strict one that will make hbtest test against alternate strict Cl*pper-compatible results where this is feasible. This covers only those cases where Harbour returns a different result even in HB_CLP_STRICT mode. (HB_CLP_STRICT mode automatically syncs hbtest expected results with the ones returned by the HVM/RTL) 2017-03-31 00:09 UTC Viktor Szakats * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_18_0.html 2017-03-29 22:18 UTC Viktor Szakats * .travis.yml * enable libgs-dev * config/postinst.hb * minor cleanup * contrib/hbicu/hbicu.hbc * contrib/hbicu/hbicu.hbp + add Ubuntu 16 header path 2017-03-29 18:39 UTC Viktor Szakats * utils/hbtest/hbtest.prg ! fix default -noalt option value in Harbour builds 2017-03-29 18:32 UTC Viktor Szakats * utils/hbtest/hbtest.prg * utils/hbtest/rt_array.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_math.prg * always enable -noalt in Harbour builds ! keep existing logic to select expected test results where these results depend on HB_CLP_STRICT build-time setting. (not sure about the test in rt_math.prg though) % minor optimization 2017-03-29 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/hbgenerr.c * changed "with object" in last error message to upper cases * src/rdd/dbf1.c + added assigned value to error object ARGS array when data type or data width error is generated inside PUTVALUE() method * utils/hbtest/hbtest.prg * utils/hbtest/rt_array.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_main.ch * utils/hbtest/rt_math.prg * utils/hbtest/rt_misc.prg + added support for alternative results to HBTEST code. It's enabled by default and can be turned off by -noalt hbtest parameter. + added alternative results for tests which return different then Cl*pper results but they are expected and not Harbour bugs. 2017-03-29 13:36 UTC Viktor Szakats * contrib/gtqtc/gtqtc.hbp * tone down QT clang warnings on all platforms 2017-03-29 13:25 UTC Viktor Szakats * contrib/hbfbird/firebird.c ! try another fix to suppress clang warning [OK] * contrib/hblzf/3rd/liblzf/lzf.hbp * disable warnings. liblzf component seems to have been abandoned with its last update in 2010. 2017-03-29 13:07 UTC Viktor Szakats * contrib/hbcairo/hbcairo.h ! try suppressing clang warnings in cairo headers [OK] * contrib/hbfbird/firebird.c ! try fixing clang warning: ../../../../../contrib/hbfbird/firebird.c:663:60: warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion] hb_snprintf( data, sizeof( data ), "%15g ", *( float * ) ( var->sqldata ) ); ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2017-03-29 12:47 UTC Viktor Szakats * contrib/hbct/ctwin.c * contrib/hbmisc/stringsx.c * ChangeLog.txt * src/common/hbarch.c * src/common/hbdate.c * src/common/hbffind.c * src/rtl/gtpca/gtpca.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/langapi.c ! fix remaining clang `-Wformat-pedantic` warnings in HB_TRACE() calls. E.g.: warning: format specifies type 'void *' but the argument has type 'PHB_FNAME' (aka 'HB_FNAME *') [-Wformat-pedantic] warning: format specifies type 'void *' but the argument has type 'const char *' [-Wformat-pedantic] 2017-03-29 11:30 UTC Viktor Szakats * contrib/hbicu/hbicu.hbp * try to silence another clang warning [OK] 2017-03-29 11:26 UTC Viktor Szakats * contrib/sddoci/sddoci.hbp * add rpm package name 2017-03-29 09:58 UTC Viktor Szakats * src/3rd/png/Makefile * disable extra warnings for vendored code (again), this time for good 2017-03-29 09:47 UTC Viktor Szakats * .travis.yml * contrib/hbexpat/core.c * suppress macos-specific warning for darwin/clang The warning seems unnecessary, as the code is already guarded by expat-specific version guards anyway. 2017-03-29 09:23 UTC Viktor Szakats * contrib/hbmysql/tsqlbrw.prg % remove unnecessary reference to mysql.ch Ref: https://groups.google.com/d/msg/harbour-users/dOgjitjsrAY/bSY4GUdTAgAJ 2017-03-29 09:06 UTC Viktor Szakats * .travis.yml * install homebrew expat to silence this warning when building against macOS-supplied libexpat: ``` ../../../../../contrib/hbexpat/core.c:1124:17: warning: 'XML_SetHashSalt' is only available on macOS 10.11.2 or newer [-Wunguarded-availability] hb_retni( XML_SetHashSalt( hb_expat->parser, ( unsigned long ) hb_parnint( 2 ) ) ); ^~~~~~~~~~~~~~~ /usr/include/expat.h:915:1: note: 'XML_SetHashSalt' has been explicitly marked partial here XML_SetHashSalt(XML_Parser parser, ^ ../../../../../contrib/hbexpat/core.c:1124:17: note: enclose 'XML_SetHashSalt' in an @available check to silence this warning hb_retni( XML_SetHashSalt( hb_expat->parser, ( unsigned long ) hb_parnint( 2 ) ) ); ^~~~~~~~~~~~~~~ 1 warning generated. ``` 2017-03-29 03:44 UTC Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/hpdf_doc.c * contrib/hbhpdf/3rd/libhpdf/hpdf_pages.c * contrib/hbhpdf/3rd/libhpdf/libhpdf.diff * silence clang warnings: warning: comparison of unsigned enum expression < 0 is always false [-Wtautological-compare] 2017-03-29 03:12 UTC Viktor Szakats * .travis.yml * use Xcode 8.3 2017-03-29 03:09 UTC Viktor Szakats * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvw/gtwvwd.c * contrib/hbct/ctstr.c * contrib/hbct/ctwin.c * contrib/hbwin/wapi_misc.c * contrib/rddads/ads1.c * contrib/rddbm/bmdbfx.c * contrib/xhb/cstructc.c * contrib/xhb/freadlin.c * contrib/xhb/txtline.c * contrib/xhb/xhbcopyf.c * src/rtl/gt_tpl/gt_tpl.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtdos/gtdos.c * src/rtl/gtgui/gtgui.c * src/rtl/gtos2/gtos2.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/kbsln.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.c ! fix clang `-Wformat-pedantic` warnings in some HB_TRACE() calls. E.g.: warning: format specifies type 'void *' but the argument has type 'PHB_FNAME' (aka 'HB_FNAME *') [-Wformat-pedantic] warning: format specifies type 'void *' but the argument has type 'const char *' [-Wformat-pedantic] 2017-03-29 02:29 UTC Viktor Szakats * package/mpkg_win_dl.sh * disable GPG verification for curl-for-win packages. Recently the JFrog GPG signatures appear to be generated wrongly, so all verifications fail after the last curl-for-win updates. 2017-03-29 02:24 UTC Viktor Szakats * config/global.mk ! fix clang version detection to be more robust on darwin Closes: https://github.com/vszakats/hb/pull/285 2017-03-29 02:09 UTC Viktor Szakats * include/hbexpra.c * src/common/*.c * src/compiler/*.c * src/debug/dbgentry.c * src/nortl/nortl.c * src/pp/pplib.c * src/rdd/*.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hbsix/sxdate.c * src/rdd/usrrdd/usrrdd.c * src/rtl/*.c * src/vm/*.c ! fix clang `-Wformat-pedantic` warnings in some HB_TRACE() calls. E.g.: warning: format specifies type 'void *' but the argument has type 'PHB_FNAME' (aka 'HB_FNAME *') [-Wformat-pedantic] warning: format specifies type 'void *' but the argument has type 'const char *' [-Wformat-pedantic] 2017-03-28 22:08 UTC Viktor Szakats * ChangeLog.txt * reorder * src/compiler/hbgenerr.c * uppercased WITH OBJECT in new error message 2017-03-28 23:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbcomp.h * include/hbcompdf.h * include/hberrors.h * include/hbexprb.c * src/common/expropt1.c * src/compiler/hbgenerr.c * src/compiler/hbmain.c + added new macros HB_ET_MACRO_NOLIST and HB_ET_MACRO_NOPARE % use new HB_ET_MACRO_* macros + added new compile time error: "Code block contains both macro and with object messages ':%s'" NOTE: -kd compiler switch allows to compile codeblocks with macros and declared symbols / WITH OBJECT messages * replaced hb_compErrorCodeblock() with hb_compErrorCodeblockDecl() and hb_compErrorCodeblockWith() + added new C function hb_compPushMacroVar() * code simplification ; added few comments * utils/hbtest/rt_math.prg * extended test code for macro messages and macro <op>=, pre/post ++/-- operations * src/vm/hvm.c ! protection against executing hb_threadStateNew() during GC pass inside hb_vmRequestReenterExt() * src/vm/garbage.c ! add volatile attribute to s_bCollecting variable * small modification in hb_gcAll() parameter * src/rtl/errsys.prg ; minor comment cleanup * doc/xhb-diff.txt * extended a little bit section STRONG TYPED VARIABLES 2017-03-28 11:16 UTC Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.21.0 2017-03-28 11:05 UTC Viktor Szakats * contrib/hbbz2/hbbz2.hbp * contrib/hbbz2io/hbbz2io.hbp * contrib/hbexpat/hbexpat.hbp * contrib/hbmlzo/hbmlzo.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/sddsqlt3/sddsqlt3.hbp + add rpm package name * contrib/hbbz2io/hbbz2io.hbp ! add missing header detection path (in sync with hbbz2.hbp) * contrib/hbexpat/hbexpat.hbp + add rpm package name * package/harbour.spec * package/mpkg_rpm.sh + add support for non-local expat lib (untested) * package/mpkg_rpm.sh * formatting 2017-03-28 09:47 UTC Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh * minor syncs between each other ! remove -p cp option, it fails in Docker env 2017-03-28 09:29 UTC Viktor Szakats * config/postinst.hb * package/harbour.spec * sync Linux distro detection logic between these two files + add rough Amazon Linux detection - remove special PLD Linux support logic, it was half-implemented since many years (please readd it if necessary) * package/harbour.spec ! fix the way hbssl is enabled * enable commented hbfimage contrib ! fix release number to be '1' instead of '0.1' * sort core library names * package/mpkg_rpm.sh ! fix false-positive openssl dependency detection ! revert previous fix to set RPM dir for docker env. Replace it with a 'cp' copy to bring results to the host mount. * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh * package/mpkg_src.sh * package/mpkg_ver.sh * formatting of function curly braces * .github/ISSUE_TEMPLATE.md * minor clarification 2017-03-27 23:39 UTC Viktor Szakats * package/harbour.spec ! fix to build rddmisc contrib ! fix to not delete libmxml (merge regression compared to 3.2) ! fix contrib.hbr and hbmk2*.hbl file locations ! fix to include hbbz2io, hbgzio and hbcrypto ! fix to use correct filename when deleting libhpdf ! fix to include contrib/3rd/sqlite3 for the .hbc file * sort contribs by name + add hbdoc, hbformat, hbnetio tools to the rpm package + add hboslib, hbtest, hbxdiff contribs to the rpm package * package/mpkg_rpm.sh ! do not mark pcre2 as local + place results in current dir (instead of $HOME) when run under docker, this way it's not lost when finished * utils/hbmk2/hbmk2.prg ! link m, z, pcre* libs also when building shared mode executable on *nix systems. E.g. to avoid this when building RPM via mpkg_rpm.sh: /usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line or missing inflateInit2_ for hbmzip Not sure what are the exact conditions for this, so this may not be the correct fix (and/or this fix may need to be applied to other platforms.) + add another source for Xcode clang vs real clang version mapping * config/detect.mk * init pcre2 vars 2017-03-27 19:58 UTC Viktor Szakats * bin/make.hb + be even more verbose in verbose mode * config/global.mk * utils/hbmk2/hbmk2.prg + recognize Xcode clang 8.1 as clang 3.9 (blind guess, no official info yet) * package/harbour.spec ! fix day names for some dates (shown as rpmbuild errors) * package/mpkg_rpm.sh ! fix to run correctly in Docker environment ! fix to avoid rpmbuild error on versions older than 4.13.0 (when run in Docker environment) Ref: https://github.com/rpm-software-management/rpm/commit/916d528b0bfcb33747e81a57021e01586aa82139 * package/mpkg_src.sh ! fix to not include temporary filelist in the source tarball % optimize out an internal flag * README.md ! fix package name for rpm tools * utils/hbmk2/hbmk2.prg ! fix to not generate unwanted extra output when using --hbinfo or --hbdir* options with -info option on the command line ! fix typo to correctly recognize Xcode clang 7.3 2017-03-27 11:24 UTC Viktor Szakats * package/mpkg_rpm.sh * fix gpm and x11 detection to be in sync with README ! fix x11 --without condition + detect qt5 2017-03-27 10:42 UTC Viktor Szakats * contrib/hbcups/hbcups.hbp * add another valid rpm cups package name * package/mpkg_rpm.sh * wrap long lines * sync package names with contrib '{rpm}' lines + detect ghostscript and libmagic * package/harbour.spec * replace deprecated backtick syntax 2017-03-26 16:53 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add basic -vcshead support for Darcs VCS * .travis.yml * minor cleanup 2017-03-24 20:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbcomp.h * src/compiler/hbmain.c * changed hb_compVariableScope() to static function * src/compiler/harbour.y ! added protection against GPF when nested function/procedure is declared inside extended block code * src/compiler/harbour.yyc * src/macro/macro.yyc * src/macro/macro.yyh * regenerated * include/hbexprb.c * minor simplification * include/hbexpra.c * use HB_SIZEOFARRAY() macro 2017-03-24 09:38 UTC Viktor Szakats * README.md * remove MS-DOS as a host for building Harbour. Harbour needs to be cross-built for MS-DOS on a supported platform (Windows 32-bit or *nix). 2017-03-24 00:49 UTC Viktor Szakats * .travis.yml * ChangeLog.txt * extras/templatc/README.md * extras/template/README.md * more cleanups 2017-03-23 18:09 UTC Viktor Szakats * extras/dbu/README.md * extras/ps32/README.md * extras/rl/README.md * extras/superlib/README.md * extras/templatc/README.md * extras/template/README.md * minor cleanups 2017-03-23 12:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/harbour.y * create real function in internal memory instead of dummy flow control error for unclosed structures when new function/procedure declaration is found just to reset context for farther error reporting. It leaves unclosed structure on Bison stack but it's unimportant for us because result of such compilation is ignored due to detected errors and this modification resolves the problem with ignored pending declarations. * src/compiler/harbour.yyc * regenerated 2017-03-23 00:04 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * minor cleanups 2017-03-22 15:47 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg * revert a fatal hbmk2 warning into a non-fatal one to allow referencing wrongly named libraries with mingw/gcc. https://groups.google.com/d/msg/harbour-users/ayfLtZpI0YE/r-0OeytKAAAJ * make another warning fatal even in HB_LEGACY_LEVEL4 mode 2017-03-22 11:36 UTC Viktor Szakats - src/3rd/pcre/pcre_printint.c * src/3rd/pcre/Makefile % delete unnecessary test program 2017-03-22 10:53 UTC Viktor Szakats * src/3rd/png/Makefile * src/3rd/png/png.diff * src/3rd/png/png.h * src/3rd/png/pngpriv.h * src/3rd/png/pnglconf.h -> src/3rd/png/pnglibconf.h * src/3rd/png/pngstru.h -> src/3rd/png/pngstruct.h * use original filenames 2017-03-22 10:49 UTC Viktor Szakats - src/3rd/pcre/pcre.diff * src/3rd/pcre/Makefile * src/3rd/pcre/LICENSE -> src/3rd/pcre/LICENCE * src/3rd/pcre/pcreinal.h -> src/3rd/pcre/pcre_internal.h * src/3rd/pcre/chartabs.c -> src/3rd/pcre/pcre_chartables.c * src/3rd/pcre/pcrebyte.c -> src/3rd/pcre/pcre_byte_order.c * src/3rd/pcre/pcrecomp.c -> src/3rd/pcre/pcre_compile.c * src/3rd/pcre/pcreconf.c -> src/3rd/pcre/pcre_config.c * src/3rd/pcre/pcredfa.c -> src/3rd/pcre/pcre_dfa_exec.c * src/3rd/pcre/pcreexec.c -> src/3rd/pcre/pcre_exec.c * src/3rd/pcre/pcrefinf.c -> src/3rd/pcre/pcre_fullinfo.c * src/3rd/pcre/pcreget.c -> src/3rd/pcre/pcre_get.c * src/3rd/pcre/pcreglob.c -> src/3rd/pcre/pcre_globals.c * src/3rd/pcre/pcremktb.c -> src/3rd/pcre/pcre_maketables.c * src/3rd/pcre/pcrenewl.c -> src/3rd/pcre/pcre_newline.c * src/3rd/pcre/pcreoutf.c -> src/3rd/pcre/pcre_ord2utf8.c * src/3rd/pcre/pcreprni.c -> src/3rd/pcre/pcre_printint.c * src/3rd/pcre/pcrerefc.c -> src/3rd/pcre/pcre_refcount.c * src/3rd/pcre/pcrestud.c -> src/3rd/pcre/pcre_study.c * src/3rd/pcre/pcretabs.c -> src/3rd/pcre/pcre_tables.c * src/3rd/pcre/pcreucd.c -> src/3rd/pcre/pcre_ucd.c * src/3rd/pcre/pcrever.c -> src/3rd/pcre/pcre_version.c * src/3rd/pcre/pcrevutf.c -> src/3rd/pcre/pcre_valid_utf8.c * src/3rd/pcre/pcrexcls.c -> src/3rd/pcre/pcre_xclass.c * use original filenames % remove some remains of JIT support 2017-03-22 08:48 UTC Viktor Szakats - tests/speedtst.prg ! fix after merge 2017-03-22 09:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/hbdead.c * src/compiler/hbfix.c * src/compiler/hblbl.c * src/compiler/hbopt.c * src/compiler/hbpcode.c * src/compiler/hbstripl.c * small comment cleanup in PCODE tables * include/hberrors.h * src/compiler/hbgenerr.c + added new compile time error messages for incorrect ENDWITH, ENDSWITCH and END SEQUENCE * changed error message: "CASE or OTHERWISE does not match DO CASE" to "CASE or OTHERWISE does not match DO CASE or SWITCH" * src/compiler/harbour.y * if control structure is closed by wrong statement generate error and close it. Cl*pper works in similar way so now compile time errors are much more close to Clipper in such cases and this modification fixes also problem with long list of errors reported to the end of function when in fact only one control structure was wrongly closed. * generate error messages for parts of control structures used in wrong context * src/compiler/harbour.yyc * src/compiler/harbour.yyh * regenerated * src/compiler/complex.c - removed wrongly working old error messages - initially they were implemented in old Flex lexer but they couldn't work correctly inside any lexer. When I wrote new lexer I simply copied them to new code with old broken logic just for backward compatibility. Now such messages are generated by grammar parser for all cases not only chose ones so I can clean lexer code. * set more precisely lexer state for error messages generated by grammar parser * simplified the code after above modifications * tests/speedtst.prg ! fixed memory statistic detection 2017-03-21 23:03 UTC Viktor Szakats * bin/commit.hb * .dif -> .diff * handle .patch the same way as .diff * extras/dbu/README.md * extras/dbu/dbu52.diff -> extras/dbu/dbu52.patch * extras/dbu/dbu53.diff -> extras/dbu/dbu53.patch * extras/ps32/README.md * extras/ps32/ps32.diff -> extras/ps32/ps32.patch * extras/rl/README.md * extras/rl/rl.diff -> extras/rl/rl.patch * extras/superlib/README.md * extras/superlib/superlib.diff -> extras/superlib/superlib.patch * standardize extension 2017-03-21 21:34 UTC Viktor Szakats * ChangeLog.txt * add link to last win-make.exe and include the name mingw32-make.exe in 2017-03-09 12:33 UTC 2017-03-21 21:28 UTC Viktor Szakats * src/3rd/pcre2/Makefile * use original filenames 2017-03-21 21:25 UTC Viktor Szakats * src/3rd/pcre2/Makefile - src/3rd/pcre2/pcre2.diff * remove PCRE2 JIT support 2017-03-21 20:12 UTC Viktor Szakats * src/harbour.def % remove PCRE JIT related symbols 2017-03-21 20:10 UTC Viktor Szakats * src/3rd/pcre/Makefile - src/3rd/pcre/pcrejitc.c - src/3rd/pcre/sjarm32.c - src/3rd/pcre/sjarm64.c - src/3rd/pcre/sjarmt2.c - src/3rd/pcre/sjconf.h - src/3rd/pcre/sjconfi.h - src/3rd/pcre/sjexeca.c - src/3rd/pcre/sjlir.c - src/3rd/pcre/sjlir.h - src/3rd/pcre/sjmips32.c - src/3rd/pcre/sjmips64.c - src/3rd/pcre/sjmipsc.c - src/3rd/pcre/sjppc32.c - src/3rd/pcre/sjppc64.c - src/3rd/pcre/sjppcc.c - src/3rd/pcre/sjspar32.c - src/3rd/pcre/sjsparc.c - src/3rd/pcre/sjtil64.c - src/3rd/pcre/sjtilenc.c - src/3rd/pcre/sjutils.c - src/3rd/pcre/sjx8632.c - src/3rd/pcre/sjx8664.c - src/3rd/pcre/sjx86c.c * remove PCRE JIT support. It was decided not to enable this, so this was just dead weight. 2017-03-21 20:04 UTC Viktor Szakats * src/3rd/png/Makefile * src/3rd/png/LICENSE.txt -> src/3rd/png/LICENSE * use original filename 2017-03-21 20:02 UTC Viktor Szakats * bin/commit.hb * allow extension-less and non-lowercase filenames in vendored directories 2017-03-21 19:59 UTC Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/LICENSE.txt -> src/3rd/pcre/LICENSE * use original filename 2017-03-21 18:56 UTC Viktor Szakats * src/3rd/zlib/Makefile * src/3rd/zlib/README.txt -> src/3rd/zlib/README * use original filename 2017-03-21 18:53 UTC Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/hpdf.h * contrib/hbhpdf/3rd/libhpdf/libhpdf.diff * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbhpdf/3rd/libhpdf/t4.h * contrib/hbhpdf/3rd/libhpdf/hpdfconf.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_conf.h * contrib/hbhpdf/3rd/libhpdf/hpdfcons.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_consts.h * contrib/hbhpdf/3rd/libhpdf/hpdfpage.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_page_label.h * contrib/hbhpdf/3rd/libhpdf/hpdftype.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_types.h * contrib/hbhpdf/3rd/libhpdf/hpdfvers.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_version.h * contrib/hbhpdf/3rd/libhpdf/README.txt -> contrib/hbhpdf/3rd/libhpdf/README * contrib/hbhpdf/3rd/libhpdf/hpdf3dme.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_3dmeasure.c * contrib/hbhpdf/3rd/libhpdf/hpdf3dme.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_3dmeasure.h * contrib/hbhpdf/3rd/libhpdf/hpdfanno.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_annotation.c * contrib/hbhpdf/3rd/libhpdf/hpdfanno.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_annotation.h * contrib/hbhpdf/3rd/libhpdf/hpdfarra.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_array.c * contrib/hbhpdf/3rd/libhpdf/hpdfbina.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_binary.c * contrib/hbhpdf/3rd/libhpdf/hpdfbool.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_boolean.c * contrib/hbhpdf/3rd/libhpdf/hpdfcata.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_catalog.c * contrib/hbhpdf/3rd/libhpdf/hpdfcata.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_catalog.h * contrib/hbhpdf/3rd/libhpdf/hpdfdest.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_destination.c * contrib/hbhpdf/3rd/libhpdf/hpdfdest.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_destination.h * contrib/hbhpdf/3rd/libhpdf/hpdfdict.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_dict.c * contrib/hbhpdf/3rd/libhpdf/hpdfdoc.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_doc.c * contrib/hbhpdf/3rd/libhpdf/hpdfdoc.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_doc.h * contrib/hbhpdf/3rd/libhpdf/hpdfdocp.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_doc_png.c * contrib/hbhpdf/3rd/libhpdf/hpdfecy.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_encrypt.c * contrib/hbhpdf/3rd/libhpdf/hpdfecyd.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_encryptdict.c * contrib/hbhpdf/3rd/libhpdf/hpdfencc.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_encoder_cns.c * contrib/hbhpdf/3rd/libhpdf/hpdfencj.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_encoder_jp.c * contrib/hbhpdf/3rd/libhpdf/hpdfenck.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_encoder_kr.c * contrib/hbhpdf/3rd/libhpdf/hpdfencn.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_encoder_cnt.c * contrib/hbhpdf/3rd/libhpdf/hpdfenco.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_encoder.c * contrib/hbhpdf/3rd/libhpdf/hpdfenco.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_encoder.h * contrib/hbhpdf/3rd/libhpdf/hpdfencr.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_encrypt.h * contrib/hbhpdf/3rd/libhpdf/hpdfencu.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_encoder_utf.c * contrib/hbhpdf/3rd/libhpdf/hpdfency.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_encryptdict.h * contrib/hbhpdf/3rd/libhpdf/hpdferro.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_error.c * contrib/hbhpdf/3rd/libhpdf/hpdferro.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_error.h * contrib/hbhpdf/3rd/libhpdf/hpdfexda.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_exdata.c * contrib/hbhpdf/3rd/libhpdf/hpdfexda.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_exdata.h * contrib/hbhpdf/3rd/libhpdf/hpdfextg.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_ext_gstate.c * contrib/hbhpdf/3rd/libhpdf/hpdfextg.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_ext_gstate.h * contrib/hbhpdf/3rd/libhpdf/hpdffdf.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef.c * contrib/hbhpdf/3rd/libhpdf/hpdffdf1.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef_type1.c * contrib/hbhpdf/3rd/libhpdf/hpdffdfb.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef_base14.c * contrib/hbhpdf/3rd/libhpdf/hpdffdfc.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef_cns.c * contrib/hbhpdf/3rd/libhpdf/hpdffdfi.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef_cid.c * contrib/hbhpdf/3rd/libhpdf/hpdffdfj.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef_jp.c * contrib/hbhpdf/3rd/libhpdf/hpdffdfk.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef_kr.c * contrib/hbhpdf/3rd/libhpdf/hpdffdfn.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef_cnt.c * contrib/hbhpdf/3rd/libhpdf/hpdffdft.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef_tt.c * contrib/hbhpdf/3rd/libhpdf/hpdffon1.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_font_type1.c * contrib/hbhpdf/3rd/libhpdf/hpdffonc.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_font_cid.c * contrib/hbhpdf/3rd/libhpdf/hpdffond.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_fontdef.h * contrib/hbhpdf/3rd/libhpdf/hpdffont.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_font.c * contrib/hbhpdf/3rd/libhpdf/hpdffont.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_font.h * contrib/hbhpdf/3rd/libhpdf/hpdffott.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_font_tt.c * contrib/hbhpdf/3rd/libhpdf/hpdfgsta.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_gstate.c * contrib/hbhpdf/3rd/libhpdf/hpdfgsta.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_gstate.h * contrib/hbhpdf/3rd/libhpdf/hpdfimac.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_image_ccitt.c * contrib/hbhpdf/3rd/libhpdf/hpdfimag.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_image.c * contrib/hbhpdf/3rd/libhpdf/hpdfimag.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_image.h * contrib/hbhpdf/3rd/libhpdf/hpdfimap.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_image_png.c * contrib/hbhpdf/3rd/libhpdf/hpdfinfo.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_info.c * contrib/hbhpdf/3rd/libhpdf/hpdfinfo.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_info.h * contrib/hbhpdf/3rd/libhpdf/hpdflist.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_list.c * contrib/hbhpdf/3rd/libhpdf/hpdflist.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_list.h * contrib/hbhpdf/3rd/libhpdf/hpdfmmgr.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_mmgr.c * contrib/hbhpdf/3rd/libhpdf/hpdfmmgr.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_mmgr.h * contrib/hbhpdf/3rd/libhpdf/hpdfname.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_name.c * contrib/hbhpdf/3rd/libhpdf/hpdfndic.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_namedict.c * contrib/hbhpdf/3rd/libhpdf/hpdfndic.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_namedict.h * contrib/hbhpdf/3rd/libhpdf/hpdfnull.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_null.c * contrib/hbhpdf/3rd/libhpdf/hpdfnumb.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_number.c * contrib/hbhpdf/3rd/libhpdf/hpdfobje.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_objects.c * contrib/hbhpdf/3rd/libhpdf/hpdfobje.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_objects.h * contrib/hbhpdf/3rd/libhpdf/hpdfoutl.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_outline.c * contrib/hbhpdf/3rd/libhpdf/hpdfoutl.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_outline.h * contrib/hbhpdf/3rd/libhpdf/hpdfpage.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_page_label.c * contrib/hbhpdf/3rd/libhpdf/hpdfpago.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_page_operator.c * contrib/hbhpdf/3rd/libhpdf/hpdfpags.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_pages.c * contrib/hbhpdf/3rd/libhpdf/hpdfpags.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_pages.h * contrib/hbhpdf/3rd/libhpdf/hpdfpdfa.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_pdfa.c * contrib/hbhpdf/3rd/libhpdf/hpdfpdfa.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_pdfa.h * contrib/hbhpdf/3rd/libhpdf/hpdfreal.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_real.c * contrib/hbhpdf/3rd/libhpdf/hpdfstre.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_streams.c * contrib/hbhpdf/3rd/libhpdf/hpdfstre.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_streams.h * contrib/hbhpdf/3rd/libhpdf/hpdfstri.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_string.c * contrib/hbhpdf/3rd/libhpdf/hpdfu3d.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_u3d.c * contrib/hbhpdf/3rd/libhpdf/hpdfu3d.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_u3d.h * contrib/hbhpdf/3rd/libhpdf/hpdfutil.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_utils.c * contrib/hbhpdf/3rd/libhpdf/hpdfutil.h -> contrib/hbhpdf/3rd/libhpdf/hpdf_utils.h * contrib/hbhpdf/3rd/libhpdf/hpdfxref.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_xref.c * contrib/hbhpdf/3rd/libhpdf/hpdfcfg.c -> contrib/hbhpdf/3rd/libhpdf/hpdf_config.h * use original filenames to reduce local differences of vendored code 2017-03-21 18:41 UTC Viktor Szakats * contrib/hbbz2/3rd/bz2/bz2.diff * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbbz2/3rd/bz2/bzlib.c * contrib/hbbz2/3rd/bz2/compress.c * contrib/hbbz2/3rd/bz2/crctable.c * contrib/hbbz2/3rd/bz2/huffman.c * contrib/hbbz2/3rd/bz2/bzlib_pr.h -> contrib/hbbz2/3rd/bz2/bzlib_private.h * contrib/hbbz2/3rd/bz2/LICENSE.txt -> contrib/hbbz2/3rd/bz2/LICENSE * contrib/hbbz2/3rd/bz2/blocksor.c -> contrib/hbbz2/3rd/bz2/blocksort.c * contrib/hbbz2/3rd/bz2/decompre.c -> contrib/hbbz2/3rd/bz2/decompress.c * contrib/hbbz2/3rd/bz2/randtabl.c -> contrib/hbbz2/3rd/bz2/randtable.c * use original filenames to reduce local differences of vendored code 2017-03-21 18:38 UTC Viktor Szakats * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * contrib/hbxdiff/3rd/libxdiff/LICENSE.txt -> contrib/hbxdiff/3rd/libxdiff/COPYING * use original filenames to reduce local differences of vendored code 2017-03-21 18:38 UTC Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.diff * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmzip/3rd/minizip/README.txt -> contrib/hbmzip/3rd/minizip/README * use original filenames to reduce local differences of vendored code 2017-03-21 18:35 UTC Viktor Szakats * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmlzo/3rd/minilzo/LICENSE.txt -> contrib/hbmlzo/3rd/minilzo/COPYING * contrib/hbmlzo/3rd/minilzo/README.txt -> contrib/hbmlzo/3rd/minilzo/README.LZO * use original filenames to reduce local differences of vendored code 2017-03-21 18:34 UTC Viktor Szakats * contrib/hblzf/3rd/liblzf/liblzf.diff * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hblzf/3rd/liblzf/LICENSE.txt -> contrib/hblzf/3rd/liblzf/LICENSE * use original filenames to reduce local differences of vendored code 2017-03-21 18:32 UTC Viktor Szakats * contrib/hbmxml/3rd/minixml/minixml.diff * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/LICENSE.txt -> contrib/hbmxml/3rd/minixml/COPYING * contrib/hbmxml/3rd/minixml/mxml_att.c -> contrib/hbmxml/3rd/minixml/mxml-attr.c * contrib/hbmxml/3rd/minixml/mxml_get.c -> contrib/hbmxml/3rd/minixml/mxml-get.c * contrib/hbmxml/3rd/minixml/mxml_ind.c -> contrib/hbmxml/3rd/minixml/mxml-index.c * contrib/hbmxml/3rd/minixml/mxml_nod.c -> contrib/hbmxml/3rd/minixml/mxml-node.c * contrib/hbmxml/3rd/minixml/mxml_pri.h -> contrib/hbmxml/3rd/minixml/mxml-private.h * contrib/hbmxml/3rd/minixml/mxml_sea.c -> contrib/hbmxml/3rd/minixml/mxml-search.c * contrib/hbmxml/3rd/minixml/mxml_set.c -> contrib/hbmxml/3rd/minixml/mxml-set.c * contrib/hbmxml/3rd/minixml/mxml_str.c -> contrib/hbmxml/3rd/minixml/mxml-string.c * contrib/hbmxml/3rd/minixml/mxml_ent.c -> contrib/hbmxml/3rd/minixml/mxml-entity.c * contrib/hbmxml/3rd/minixml/mxml_fil.c -> contrib/hbmxml/3rd/minixml/mxml-file.c * contrib/hbmxml/3rd/minixml/mxml_pri.c -> contrib/hbmxml/3rd/minixml/mxml-private.c * use original filenames to reduce local differences of vendored code 2017-03-21 18:25 UTC Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.diff * contrib/hbcrypto/3rd/ed25519/ed25519.hbp * contrib/hbcrypto/3rd/ed25519/ge.c * contrib/hbcrypto/3rd/ed25519/key_exch.c -> contrib/hbcrypto/3rd/ed25519/key_exchange.c * contrib/hbcrypto/3rd/ed25519/LICENSE.txt -> contrib/hbcrypto/3rd/ed25519/license.txt * contrib/hbcrypto/3rd/ed25519/precompd.h -> contrib/hbcrypto/3rd/ed25519/precomp_data.h * use original (non-short) filenames to reduce local differences of vendored code 2017-03-21 18:19 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/expat.h * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/xmlrole.c * contrib/hbexpat/3rd/expat/xmltok.c * contrib/hbexpat/3rd/expat/expat_ex.h -> contrib/hbexpat/3rd/expat/expat_external.h * contrib/hbexpat/3rd/expat/iasciita.h -> contrib/hbexpat/3rd/expat/iasciitab.h * contrib/hbexpat/3rd/expat/latin1ta.h -> contrib/hbexpat/3rd/expat/latin1tab.h * contrib/hbexpat/3rd/expat/LICENSE.txt -> contrib/hbexpat/3rd/expat/COPYING * contrib/hbexpat/3rd/expat/xmltok_i.c -> contrib/hbexpat/3rd/expat/xmltok_impl.c * contrib/hbexpat/3rd/expat/xmltok_i.h -> contrib/hbexpat/3rd/expat/xmltok_impl.h * contrib/hbexpat/3rd/expat/xmltok_n.c -> contrib/hbexpat/3rd/expat/xmltok_ns.c * use original (non-short) filenames to reduce local differences of vendored code 2017-03-21 18:09 UTC Viktor Szakats * config/win/clang.mk * made a standard clang build file (this is not supposed to work at this point) * config/win/msvc.mk * moved clang-cl-specific logic inside msvc.mk (probably wouldn't work) 2017-03-21 18:08 UTC Viktor Szakats * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.diff * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3x.h -> contrib/3rd/sqlite3/sqlite3ext.h * use original (non-short) filenames 2017-03-20 12:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbgs/core.c ! fixed to build with new GS versions - fix borrowed from Viktor's branch * src/rtl/setkey.c + in hb_SetKey() and hb_SetKeyCheck() if extended keycode is passed and does not have associated action check also for actions bound with corresponding standard keycode ! honor user parameters passed by reference to hb_SetKeyCheck() ! fixed hardcoded 4 parameter limit in hb_SetKeyCheck() * src/compiler/hbopt.c ! fixed 'assigned but not used' warning detection - it should not mark initial HB_P_PUSHLOCALREF PCODE as used when next <op>= operation leaves result on HVM stack. * optimize 'var <op>= 0', 'var <op>= 1' and 'var <op>= <timestamp>' operations * small cleanup 2017-03-20 00:58 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * src/compile/hbopt.c ! fixed 'assigned but not used' error detection for 'var op= val' code 2017-03-19 11:13 UTC Viktor Szakats * src/rtl/hbdoc.prg + sort file entries for predictable output (e.g. in .hbd files) for reproducibility 2017-03-19 10:15 UTC Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win.sh * cleanups 2017-03-19 10:06 UTC Viktor Szakats * config/postinst.hb + sort contrib.hbr entries for reproducibility 2017-03-18 22:24 UTC Viktor Szakats * .travis.yml - remove Travis CI native cross-builds for Windows superceded by the Docker method, using modern distro * package/mpkg_win.sh ! fixup file attributes in the /bin, /lib/mingw* folders of the binary snapshot package * package/mpkg_win_dl.sh * minor cleanup 2017-03-18 17:05 UTC Viktor Szakats * package/mpkg_win_docker.sh * install osslsigncode in docker * package/mpkg_win_ci.sh * update comment 2017-03-18 15:23 UTC Viktor Szakats * package/mpkg_win_dl.sh * replace gpg --recv-key with a curl | gpg solution This time to avoid this: `gpg: keyserver receive failed: General error` 2017-03-18 14:27 UTC Viktor Szakats * .travis.yml + package/mpkg_win_docker.sh + add new Windows build that uses latest stable Ubuntu release via Docker 2017-03-17 08:15 UTC Viktor Szakats * .travis.yml * try better multiline scripts [OK] * package/mpkg_win_dl.sh + add untested dependency installation for MSVC 2015 and upper via vcpkg 2017-03-16 15:52 UTC Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * libpng 1.6.29 2017-03-16 13:51 UTC Viktor Szakats * src/vm/dlmalloc.c * silence null dereference warnings in whole dlmalloc for gcc 6.1 or upper. This is targeting to silence these warnings specifically: ``` In file included from ../../../../fm.c:204:0, from ../../../../hvmall.c:110: ../../../../dlmalloc.c: In function 'sys_trim': ../../../../dlmalloc.c:2564:36: warning: potential null pointer dereference [-Wnull-dereference] #define is_extern_segment(S) ((S)->sflags & EXTERN_BIT) ~~~^~~ ../../../../dlmalloc.c:2564:36: note: in definition of macro 'is_extern_segment' #define is_extern_segment(S) ((S)->sflags & EXTERN_BIT) ^~ ../../../../dlmalloc.c: In function 'mspace_malloc': ../../../../dlmalloc.c:4072:38: warning: potential null pointer dereference [-Wnull-dereference] char* old_end = oldsp->base + oldsp->size; ~~~~~^~~~~~ ../../../../dlmalloc.c:4072:24: warning: potential null pointer dereference [-Wnull-dereference] char* old_end = oldsp->base + oldsp->size; ~~~~~^~~~~~ ``` Ref: https://github.com/vszakats/hb/issues/267 2017-03-16 13:12 UTC Viktor Szakats * contrib/rddbm/bmdbfx.c * silence notorious gcc 6.x warnings after running out of ideas how to silence these using NULL checks. These may or may not be false alarms and/or the correct way to fix this. This is how the warnings look like: ``` In file included from ../../../../../../contrib/rddbm/bmdbfx.c:54:0: ../../../../../../contrib/rddbm/bmdbfx.c: In function 'hb_bmCountScope': C:/w/include/hbapirdd.h:1089:43: warning: potential null pointer dereference [-Wnull-dereference] #define SUPER_COUNTSCOPE(w,ip,lp) ((*(_SUPERTABLE(w))->countScope)(w,ip,lp)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../../contrib/rddbm/bmdbfx.c:544:11: note: in expansion of macro 'SUPER_COUNTSCOPE' return SUPER_COUNTSCOPE( pArea, pPtr, plRec ); ^~~~~~~~~~~~~~~~ C:/w/include/hbapirdd.h:1089:43: warning: potential null pointer dereference [-Wnull-dereference] #define SUPER_COUNTSCOPE(w,ip,lp) ((*(_SUPERTABLE(w))->countScope)(w,ip,lp)) ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../../../contrib/rddbm/bmdbfx.c:544:11: note: in expansion of macro 'SUPER_COUNTSCOPE' return SUPER_COUNTSCOPE( pArea, pPtr, plRec ); ^~~~~~~~~~~~~~~~ ``` Ref: https://github.com/vszakats/hb/issues/267 2017-03-16 12:38 UTC Viktor Szakats - contrib/hblzf/3rd/liblzf/Changes.txt - contrib/hblzf/3rd/liblzf/README.txt * contrib/hblzf/3rd/liblzf/liblzf.diff * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hblzf/3rd/liblzf/lzfP.h % rework commit c61e0f1f830de21c13bf81925e12b4f7a8a48ef5 to not require local patch (untested) % remove two unnecessary vendored files 2017-03-16 12:28 UTC Viktor Szakats - contrib/hbexpat/3rd/expat/amigacon.h - contrib/hbexpat/3rd/expat/macconfi.h - contrib/hbexpat/3rd/expat/winconfi.h * contrib/hbexpat/3rd/expat/_hbconf.h * contrib/hbexpat/3rd/expat/expat.diff * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/xmlparse.c * contrib/hbexpat/3rd/expat/xmlrole.c * contrib/hbexpat/3rd/expat/xmltok.c * make local patch smaller + add local patch to pacify win64 mingw warning. PR submitted upstream: https://github.com/libexpat/libexpat/pull/15 2017-03-16 10:59 UTC Viktor Szakats - contrib/hbxdiff/3rd/libxdiff/libxdiff.diff - contrib/hbxdiff/3rd/libxdiff/winconf.h * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * contrib/hbxdiff/3rd/libxdiff/xinclude.h * contrib/hbxdiff/3rd/libxdiff/_hbconf.h -> contrib/hbxdiff/3rd/libxdiff/config.h * rework to not require a local patch and require less local maintenance 2017-03-16 08:19 UTC Viktor Szakats * contrib/hbxdiff/3rd/libxdiff/_hbconf.h % simplify [REVERTED] 2017-03-15 14:39 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h + added macros HB_CAST_*( double ) for conversions of double values to integer types - they are designed to hide some differences between C compilers and platforms in such conversions * src/common/expropt2.c * src/vm/extend.c * src/vm/itemapi.c * use new HB_CAST_*() macros 2017-03-15 13:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h * include/hbmather.h * src/common/hbprintf.c * contrib/gtwvg/wvgwing.c * contrib/hbfbird/firebird.c * contrib/hbxdiff/3rd/libxdiff/_hbconf.h * contrib/sddfb/core.c * use hexadecimal numbers checking __BORLAND__ macro * src/rtl/sha2.c * use standard harbour macros from hbdefs.h 2017-03-15 10:06 UTC Viktor Szakats * ChangeLog.txt ! typos * package/mpkg_rpm.sh ! fix indentation after 3.2 merge 2017-03-15 09:50 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * package/harbour.spec * contrib/hbbz2/hbbz2.hbp * package/mpkg_rpm.sh + added support for '--with localbz2' RPM build parameter * include/hbpp.h * src/pp/ppcore.c * src/compiler/hbmain.c * modified hb_pp_inBuffer() parameters. Now it supports optional szFileName parameter. Warning: it's incompatible with previous version but I do not think that anyone used this function outside core code so I decided to not add new function but simply change the existing one. [INCOMPATIBLE] * src/rtl/filebuf.c ! do not resepct SET DEFAULT/PATH in hb_fileExists() when 2nd parameter is NULL in default file IO drivers. It also changes the behvior of PRG function hb_vfOpen() which now honors SET DEFAULT/PATH only if its 2nd parameter is passed by reference - this modification is compatible with 2016-01-25 18:16 UTC+0100 Viktor Szakats in his fork. * src/rdd/dbf1.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * updated to work correctly with modified hb_fileExists() behavior ; CL5.2 DBFCDX and Six3 CDX/NSX RDDs looking for production indexes respect SET PATH but Harbour in core DBF* index RDDs is CL5.3/COMIX compatible and looks for production indexes only in the directory where DBF file is located and only SIXCDX Harbour RDD is CL5.2/Six3 compatible. Please also note that it's significant only for situations when DBF file is located in current directory. If it's open from SET DEFAULT/PATH directory then corresponding path is added to DBF file name what effectively disables SET DEFAULT/PATH processing when production index is open. * src/rtl/filebuf.c * src/rtl/filebufd.c * src/rtl/iousr.c * contrib/hbmemio/memio.c ; cleaned name of hb_fileCopy() paramter * include/hbapifs.h * src/rtl/filebuf.c * src/harbour.def + added new C function: HB_BOOL hb_fileMove( const char * pszSrcFile, const char * pszDstFile ); * src/rtl/vfile.c * include/harbour.hbx * src/harbour.def + added new PRG function: hb_vfMoveFile( <cFileSrc>, <cFileDst> ) -> <nResult> ; unlike hb_fileRename()/hb_vfRename() new hb_fileMove()/hb_vfMoveFile() functions allow to move files between different file systems/drives and also different Harbour file IO drivers. Please note that it means that file name IO driver prefix is significant in both source and destination file names unless it's local FS operation. New functions when both file names point to the same Harbour file IO driver try to use simple rename operation. If it fails then they try to copy the file and remove the source one. * ChangeLog.txt ! typo * include/hbfloat.h * contrib/xhb/xhbctbit.c * src/compiler/hbcmplib.c * src/compiler/hbcomp.c * src/compiler/hbusage.c ! pacified new GCC warnings and partially synced with Viktor's fork * src/compiler/hbusage.c * added Klas Engwall to credits list * added Rolf to credits list * updated April White email address ; please verify it and update if necessary 2017-03-15 03:39 UTC Alexandre Alencar (alexandre.alencar gmail.com) * contrib/hbtip/httpcli.prg ! fix a bug in TIPClientHTTP:PostMultiPart that corrupt attached files 2017-03-15 02:03 UTC Viktor Szakats * contrib/hbmisc/hbeditc.c ! fix possible typo in original code, shown as a clang 4.0 warning untested and just guessing what the intended code might have been. * contrib/sddfb/core.c ! try silencing clang 4.0 warning [OK] 2017-03-15 01:52 UTC Viktor Szakats * .travis.yml * try switching to clang 4.0 [OK] * config/global.mk + recognize clang 4.0 2017-03-15 01:21 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add -debugcmdl[-] option to measure command-line lengths and display that along with the detected OS limit 2017-03-15 00:26 UTC Viktor Szakats * include/hbpp.h * src/compiler/hbmain.c * src/harbour.def * src/pp/ppcore.c * hb_pp_inBuffer2() renamed to hb_pp_inBuffer() and deleted the existing compatibility function with this name. Together with update 2017-03-03 10:15 UTC, this means that hb_pp_inBuffer() function was extended with a new `char * pszFileName` parameter. [INCOMPATIBLE] This is effectively an internal function, so it shouldn't cause real harm for user code. 2017-03-14 19:54 UTC Viktor Szakats * package/mpkg_win_dl_mxe.sh * add option to install Linux-native packages 2017-03-14 17:44 UTC Viktor Szakats * .travis.yml * package/mpkg_win_dl_mxe.sh * src/rtl/gtkbstat.c * utils/hbmk2/hbmk2.prg * cleanups * src/rtl/hbmd5.c * src/rtl/sha1.c * src/rtl/sha1.h * src/rtl/sha1hmac.c * src/rtl/sha1hmac.h * add warning about unsecurity 2017-03-13 02:46 UTC Viktor Szakats * ChangeLog.txt * 'TOFIX' -> 'FIXME' (locally tracked ones) 2017-03-13 02:45 UTC Viktor Szakats * ChangeLog.txt * 'TOFIX' -> 'FIXME' (source references) * .github/CONTRIBUTING.md 'TOFIX' -> 'FIXME' 2017-03-13 02:12 UTC Viktor Szakats * bin/commit.hb * config/aix/gcc.mk * config/postinst.hb * contrib/*/* * contrib/*/tests/* * doc/* * extras/superlib/hbsuper.prg * include/* * package/* * src/common/expropt2.c * src/compiler/* * src/rtl/* * src/rtl/gtsln/kbsln.c * src/vm/* * tests/* * utils/hbmk2/hbmk2.prg * switch to the standard terminology in comments: 'TOFIX' -> 'FIXME' 2017-03-12 23:17 UTC Viktor Szakats * src/nortl/nortl.c * src/rtl/filesys.c ! drop const using HB_UNCONST() (in Windows-specific code) * src/rtl/fssize.c ! drop const using HB_UNCONST() (e.g. on darwin 64-bit) * src/rdd/dbffpt/dbffpt1.c * src/rdd/usrrdd/usrrdd.c * src/rtl/filebuf.c * remove unnecessary '( char * )' casts 2017-03-12 15:43 UTC Viktor Szakats * package/mpkg_win_dl_mxe.sh * add info about supported envvars * README.md + link to doc: Harbour for Beginners (by Alexander Kresin) 2017-03-12 15:18 UTC Viktor Szakats * .travis.yml * package/mpkg_win_dl_mxe.sh + add support for options MXE_DONT_INSTALL and MXE_HOME to remove anything Harbour-specific from it 2017-03-12 11:27 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add upcoming libcurl option HB_CURLOPT_SUPPRESS_CONNECT_HEADERS Ref: https://github.com/curl/curl/commit/d2bcf1e3e247d116dc96bd3ea32056e3f089449c 2017-03-12 10:39 UTC Viktor Szakats * .travis.yml ! ignore brew status code (it's 1 because of some already installed packages) + track time of dependency installation on mac * package/mpkg_win_ci.sh * comment updates * package/mpkg_win_dl_mxe.sh + enable -ue * utils/hbmk2/hbmk2.prg * utils/hbmk2/po/hbmk2.*.po * 'exit code' -> 'exit status' * change 'Error: missing dependency' to a Warning also on *nix systems unless the dependency has an explicit configuration. 2017-03-11 18:38 UTC Viktor Szakats * .travis.yml * package/mpkg_win_ci.sh + try switching to Homebrew wine after: [OK] https://github.com/Homebrew/homebrew-core/commit/ca2b723507b79e91d9fcede838859b61058dd991 2017-03-11 11:33 UTC Viktor Szakats * package/RELNOTES.txt.in * README.md * git-related cleanups/fixes to MSYS2 instructions 2017-03-11 10:04 UTC Viktor Szakats * .github/CONTRIBUTING.md * README.md * clarifications * replace build example that uses MSYS2 shell with one that uses the native command-prompt. MSYS2 shell does work and it is the method used in CI builds, but it can be a bit more complex. Ref: https://github.com/vszakats/hb/issues/278 2017-03-11 03:06 UTC Viktor Szakats * .travis.yml * remove wine debug * debian/control ! try fixing error: [OK] `dpkg-shlibdeps: error: syntax error in debian/control at line 25: block lacks the 'Package' field` Possibly a regression after 888945a35e4086fa307bb213e42ab666ad789d32 Ref: https://groups.google.com/d/msg/harbour-users/2KMRVd_im9c/jhVywEOrAwAJ * README.md * package/harbour.rb -> package/harbour@3.4.rb * rename Homebrew package * package/mpkg_win_dl_mxe.sh * rename variables * src/common/expropt2.c * whitespace * utils/hbmk2/hbmk2.prg * revert the following modification from f5faad1c9c34904b93101d15a5a634ac5c8daed8: % optimize script runner to load the script from disk just once Since the script filename was not known after this change, the runtime errors reported __hbInit() as the main script function and compile-time errors used `{SOURCE}` as filename, which is a bit confusing. The related PP fix in 2017-03-03 10:15 UTC stays committed though. * utils/hbtest/rt_array.prg ! fix test that gave wrong result when hbtest was run as script. * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_str.prg + add tests for ARM double to integer conversion issues Ref: https://github.com/harbour/core/issues/141 2017-03-10 11:23 UTC Viktor Szakats * package/mpkg_win_dl_mxe.sh + retarget mxe symlinks found in .deb packages 2017-03-10 00:57 UTC Viktor Szakats * package/mpkg_win_dl_mxe.sh + refactor to use Debian APT packages + implement signature and hash verification for package repository and actual packages. It means that installation of mxe packages on macOS now has similar security feature to the Linux platform, but it's implemented via a manual script rather than standard APT toolchain. 2017-03-09 19:43 UTC Viktor Szakats * .gitattributes % remove .exe extension. No longer used. * ChangeLog.txt * minor clarification regarding 'binary' 2017-03-09 19:37 UTC Viktor Szakats * contrib/hbcurl/hbcurl.ch + add new constants from upcoming libcurl 7.54.0 HB_CURL_SSLVERSION_MAX_* Ref: https://github.com/curl/curl/commit/6448f98c1857de521fb2dd3f9d4e5659845b5474 2017-03-09 12:33 UTC Viktor Szakats - gettools.sh % remove script to download certain build-dependencies for Windows, MS-DOS and OS/2 platforms. You can get the last working version of it from this URL: https://raw.githubusercontent.com/vszakats/hb/4cf4ba6db625fe390cde0c7823d1beaee68e63be/gettools.sh (and from local Git history) - win-make.exe % stop distributing the last executable binary inside the Harbour source repository. It was required for non-mingw C compilers on the Windows plaform. Besides being a maintenance burden, it's not safe to distribute executable blobs inside a source repository and nowadays it became very easy to get a working version of native Windows build of GNU Make. It's part of MSYS2 and mingw-w64 standalone distros, and it's called `mingw32-make.exe`. (avoid any non-native builds, like Cygwin, though) You can get the last version from here: https://raw.githubusercontent.com/vszakats/hb/4cf4ba6db625fe390cde0c7823d1beaee68e63be/win-make.exe * config/globsh.mk * use standard coreutils (cp, rm, mkdir, echo) from PATH, instead of non-standard location/name inside Harbour /config directory. * README.md * update Windows, MS-DOS, OS/2 instructions after above changes 2017-03-09 11:48 UTC Viktor Szakats * gettools.sh ! fix URL ; NOTE: This file may be removed in the future. Please make sure to have a good source for mingw32-make.exe on Windows (e.g. MSYS2). OS/2 and MS-DOS will be reconfigured to use standard GNU tools from DJGPP and equivalent OS/2 package. * package/mpkg_win_dl_mxe.sh * fold long line 2017-03-09 00:00 UTC Viktor Szakats * package/mpkg_win_dl_mxe.sh + install mxe dependencies automatically * .travis.yml % remove manually rolled mxe dependencies * package/mpkg_win_dl.sh * cleanups 2017-03-07 23:30 UTC Viktor Szakats * src/rtl/alert.prg + hb_Alert(): accept numeric color values * Alert(): use numeric default color values * contrib/xhb/ttable.prg + SetNetMsgColor(): accept numeric color values and use numeric color value as default 2017-03-06 21:24 UTC Viktor Szakats * package/mpkg_win_ci.sh * use minw32-make instead of win-make when doing msvc CI build It'll likely fail, untested. `win-make.exe` is planned to be dropped from the repository in favour of `gettools.sh`. * contrib/xhb/xhb.hbp * contrib/xhb/xhb.hbx + contrib/xhb/dirdrivc.c + contrib/xhb/dirdrive.prg + add xhb compatibility functions: hb_DiskReady( cDir ) --> lResult hb_DiskReadyW( cDir ) --> lResult hb_IsCDROM( cDir ) --> lResult hb_IsDiskette( cDir ) --> lResult hb_IsHardDisk( cDir ) --> lResult hb_IsRAMDisk( cDir ) --> lResult hb_IsRemoteDisk( cDir ) --> lResult Compared to xhb, these support Unicode, have no dir length limits, have provisions for portability and various internal cleanups. The core logic is based on hbct/DriveType() and hbnf/ft_FlopTst() functions. Build-tested only using win/mingw. 2017-03-06 08:39 UTC Viktor Szakats * package/mpkg_win.sh ! minor fix * contrib/hbmysql/hbmysql.hbx * contrib/hbmysql/mysql.c + add these functions: mysql_get_client_info() -> <cVersion> mysql_get_client_version() -> <nVersion> MYSQL_VERSION_ID() -> <nVersion> 2017-03-05 11:02 UTC Viktor Szakats * package/mpkg_win_dl_mxe.sh * add comments * README.md * add more desciption to `HB_BUILD_LIBPATH` * utils/hbmk2/hbmk2.prg ! readd a line incorrectly removed in f5faad1c9c34904b93101d15a5a634ac5c8daed8 * disable -Wl,--no-demangle option altigether 2017-03-05 05:41 UTC Viktor Szakats * contrib/hbfimage/hbfimage.hbc * contrib/hbfimage/hbfimage.hbp * remove tricks, it looks like this won't build using mingw 4.8 ``` /usr/lib/mxe/usr/i686-w64-mingw32.static/lib/libfreeimage.a(BitmapAccess.o): BitmapAccess.cpp:(.text+0x1c36): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned int&, unsigned int)' ``` Ref: https://travis-ci.org/vszakats/hb/jobs/207827409#L4596-L4601 ; Reason: mxe binaries are build/linked with mingw/gcc 5.4.0, while on Travis CI's Linux, gcc 4.8.2 is used which doesn't offer the necessary C++ 11 symbols. This can only be fixed by using newer gcc, or recompiling mxe packages with older one (or disabling the C++ 11 ABI at compile time). All in all it's a pain to use outdated Linux toolchains. Refs: https://stackoverflow.com/questions/33394934/converting-std-cxx11string-to-stdstring https://gcc.gnu.org/onlinedocs/gcc-5.2.0/libstdc++/manual/manual/using_dual_abi.html * package/mpkg_win_dl_mxe.sh ! recognize more version numbers * include/harbour.hbx * src/harbour.def * src/rtl/Makefile + src/rtl/savebufs.prg + add __XSaveSetCell( /* @ */ cSaveScreen, nPos, [<xChar>], [<nColor>], [<nAttr>] ) --> NIL It sets a cell inside a savescreen buffer, the setter counterpart of existing __XSaveGet*() functions. 2017-03-05 03:24 UTC Viktor Szakats * .travis.yml ! fix to install the correct mxe package for freetype * package/mpkg_win_dl_mxe.sh ! fix to not fail with packages with non-numeric version numbers * contrib/hbfimage/hbfimage.hbc ! retore previous way of speccing stdc++ to refix mac/mxe * contrib/hbfimage/hbfimage.hbp + enable verbose 2017-03-05 02:04 UTC Viktor Szakats * .travis.yml * manually install gd dependencies on mac * hbcairo.hbp * find mxe/msys2 cairo implib * hbfimage.hbc ! try moving stdc++ to the end of liblist for linux/gcc 4.8 * cleanups 2017-03-05 01:27 UTC Viktor Szakats * contrib/hbmysql/hbmysql.hbp * contrib/sddmy/sddmy.hbp ! find implib on mxe * package/mpkg_win_ci.sh * minor cleanup and fix typo for win builds ; NOTE: It's been a hectic day with multiple back-and-forths. To get a better view of the updates, check the unified diff using this cmd: git diff -w 48e4a33cc8139e70ce32c100791c39318a4edd15..563b3034c190b1edb1c35be33affe6ad0389366f 2017-03-05 00:49 UTC Viktor Szakats * contrib/hbfimage/hbfimage.hbp * stop installing/distributing msys2 freeimage .dll 2017-03-05 00:41 UTC Viktor Szakats * contrib/hbgd/hbgd.hbc ! add libiconv for win/static (mxe) * README.md * config/global.mk * settle with `HB_BUILD_LIBPATH` (replacing `HB_BUILD_*FLAGS_POST`) * package/mpkg_win_ci.sh * verbose off 2017-03-05 00:13 UTC Viktor Szakats * .travis.yml * package/mpkg_win_ci.sh + install C++ mingw cross-tools (for stdc++ in hbfimage.hbc. Also needed for gtqtc, but that's not enabled at this time) 2017-03-04 23:50 UTC Viktor Szakats * config/hbpost.hbm * package/mpkg_win_ci.sh ! try a different method to pass the mxe libpath _after_ the Harbour one 2017-03-04 23:14 UTC Viktor Szakats * contrib/hbfimage/hbfimage.hbc + add stdc++ on Windows in static mode * contrib/hbgd/hbgd.hbc + add fontconfig on Windows in static mode 2017-03-04 22:48 UTC Viktor Szakats * config/hbpost.hbm ! fix to use -ldflag+= / -dflag+= for HB_BUILD_LDFLAG_POST/HB_BUILD_DFLAG_POST to really make them come last * contrib/hbfimage/hbfimage.hbp ! try to configure it for static freeimage lib when HB_STATIC_FREEIMAGE is set * contrib/hbgd/hbgd.hbc * contrib/hbgd/hbgd.hbp ! try to configure it for static gd lib when HB_STATIC_GD is set * revert Windows lib name to bgd for shared mode * package/mpkg_win_ci.sh ! setup gd and freeimage for static linking when using mxe (it will still expected to fail at least on mac due to missing dependencies) 2017-03-04 21:27 UTC Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win.sh ! fix tee call * package/mpkg_win_ci.sh ! mysql headers are in /include root on mxe * verbose on again to check bz2 linking (gd and freeimage) * package/mpkg_win_dl_mxe.sh * some extra feedback 2017-03-04 20:08 UTC Viktor Szakats * bin/make.hb ! make sure hbpost.hbm is passed after .hbc dependencies This indents to fix make sure that HB_BUILD_*FLAG_POST options are truly passed after anything else. * contrib/hbmagic/hbmagic.hbc + set a libname on non-*nix systems too * config/global.mk + show HB_BUILD_*FLAG_POST if filled * package/mpkg_win_ci.sh * package/mpkg_win.sh + show BUILD*.txt content in the log too 2017-03-04 19:03 UTC Viktor Szakats * config/hbpost.hbm * README.md + add build config HB_BUILD_LDFLAG_POST/HB_BUILD_DFLAG_POST to pass linker options via `hbpost.hbm`. Intended to pass libpaths without disturbing default libpaths. E.g. in mxe. * package/mpkg_win_ci.sh ! fix to add mxe static libpath as well ! use HB_BUILD_DFLAG_POST instead of HB_USER_* to not override default libpaths with mxe one and make the linker find mxe libs instead of our own vendored builds (e.g. for bz2 lib) * use `unset` instead of `=''` to avoid empty results in printenv * package/mpkg_win.sh + sort printenv output * package/mpkg_win_dl_mxe.sh + display warning * contrib/hbgd/hbgd.hbc * change libname from bgd to gd on Windows. Note, this may break old GD Windows binary distros. [REVERTED] 2017-03-04 17:26 UTC Viktor Szakats * package/mpkg_win_ci.sh ! try adding libpath for mxe on mac/linux [OK-ish] * .travis.yml * cleanups and optimizations * package/mpkg_win_dl_mxe.sh + better feedback 2017-03-04 16:43 UTC Viktor Szakats * .travis.yml * package/mpkg_win_ci.sh + package/mpkg_win_dl_mxe.sh + download mxe binaries on mac too 2017-03-04 15:52 UTC Viktor Szakats * .travis.yml * package/mpkg_win_ci.sh ! fix to use static dependency for those mxe packages that are not available in shared flavor (freeimage, gd) 2017-03-04 15:06 UTC Viktor Szakats * .travis.yml * package/mpkg_win_ci.sh + enable mysql client dependency from mxe 2017-03-04 15:03 UTC Viktor Szakats * .travis.yml * package/mpkg_win_ci.sh * cleanups 2017-03-04 14:35 UTC Viktor Szakats * package/mpkg_win_ci.sh + show HB_WITH/HBMK_WITH envvars in build log * disable verbose * package/mpkg_win.sh * use printenv (was: set) 2017-03-04 14:09 UTC Viktor Szakats * package/mpkg_win_ci.sh ! fix mxe path 2017-03-04 13:38 UTC Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg ! teach `gcc -dumpversion` version detection this Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/gcc-4.8/+bug/1360404 * contrib/hbmagic/hbmagic.hbp - remove mxe detection for now. This won't work ATM because of the HB_BUILD_3RDEXT is set to 'no'. * package/mpkg_win_ci.sh * enable some trace lines + enable HB_WITH_LIBMAGIC with mxe 2017-03-04 12:50 UTC Viktor Szakats * .travis.yml + try installing Windows/mingw/shared dependencies on Linux via mxe: https://github.com/mxe/mxe [OK] * package/mpkg_win_ci.sh + try setting up dependencies via mxe, if available (on Linux) [OK] * contrib/hbmagic/hbmagic.hbp + try autodetecting mxe on Linux [REVERTED] 2017-03-04 11:27 UTC Viktor Szakats * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/hbmxml.hbp * URL updates 2017-03-03 15:19 UTC Viktor Szakats * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmlzo/3rd/minilzo/* * update to minilzo 2.10 2017-03-03 14:23 UTC Viktor Szakats * bin/make.hb + add custom (non-contrib) project store root to libpath, to automatically find referenced .hbc files without pathspec (by using `mylib.hbc` instead of e.g. `../mylib/mylib.hbc`). One more step to make custom project stores behave like Harbour contribs. * utils/hbmk2/hbmk2.prg * replace magic number with Len() 2017-03-03 10:15 UTC Viktor Szakats * include/hbpp.h * src/harbour.def * src/pp/ppcore.c + add internal API hb_pp_inBuffer2(). It's the same as existing hb_pp_inBuffer(), but it accepts an additional (optional) szFileName parameter, so the PP can track filename of source that is passed via memory buffer. It will appear in error message and in generated `#line` lines. Related commit: 2010-11-03 23:28 UTC+0100 Fixes: https://github.com/harbour/core/issues/140 * deprecate hb_pp_inBuffer() * src/compiler/hbmain.c * use hb_pp_inBuffer2() when PP-ing source received via hb_compileFromBuf(). The source filename in this case is "{SOURCE}". ; @druzus, I'd be grateful for your review. 2017-03-03 02:52 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to disable echo=/stop= .hbc command output in --hbinfo mode + add -vcsdir= option to override VCS directory. The default VCS directory is inherited from the location of the .hbp/.hbm file where the -vcshead= option was specified, or set to the current directory if it was used in the command-line. * change 'git' invocation to change current directory into 'vcsdir' before the call, instead of using --git-dir option. This way it's more natural, as Git will find the nearest repo root automatically, without having to manually set a precise 'vcsdir'. * bin/make.hb * disregard HB_BUILD_CONTRIBS when used from a non-contrib project root % prune Empty() calls * tests/regex.prg * tests/snake.prg * minor cleanups 2017-03-02 19:26 UTC Viktor Szakats * .travis.yml ! avoid post-build failure for 'prod' branch * tests/rdd/make_clp.bat * cleanup 2017-03-02 14:43 UTC Viktor Szakats * config/common/clang.mk * config/darwin/gcc.mk * config/linux/gcc.mk * config/hbpost.hbm + enable -D_FORTIFY_SOURCE=2 for all *nix clang, linux/gcc and darwin/gcc + enable -fstack-protector-strong option for linux/darwin on supported compiler versions (clang 3.5.0+, gcc 4.9+) * .travis.yml - remove custom options that are now enabled automatically * config/common/clang.mk * utils/hbmk2/hbmk2.prg + for *nix clang -debug builds use optimization level -O1 or -Og (clang 4.0+), instead of -O3 2017-03-02 00:59 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix C compiler version detection regression in 2017-02-28 12:57 UTC * contrib/hbnetio/utils/hbnetio/hbnetio.prg ! fix regression after 3fcdbfba16c1211ec26dd39058074ad01b669e0c * contrib/hbformat/utils/hbformat.hbp ! always build in shared mode on mac to workaround this sort of error: ``` $ hbformat test.prg dyld: Symbol not found: _HB_FUN_HBCLASS Referenced from: ~/hb/bin/darwin/clang/../../../lib/darwin/clang/libhbformat.dylib Expected in: flat namespace in ~/hb/bin/darwin/clang/../../../lib/darwin/clang/libhbformat.dylib Abort trap: 6 ``` 2017-03-01 10:28 UTC Viktor Szakats * package/mpkg_win_ci_refresh_deps.sh + add support for Travis CI + display build information + improve error messages 2017-02-28 12:57 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix C compiler version to use zero padded string value. It means that e.g. gcc 6.3 is now correctly returned as '0603' (was: 603). Numeric value would have broken for any single digit major version number as soon as reaching two digits. + add new "cCOMPVer" plugin variable with the zero padded string value * deprecate old "nCOMPVer" plugin variable that held the numeric C compiler value + document caveat regarding ${hb_comp_ver} macro where it returns '0' value on *nix systems 2017-02-28 12:24 UTC Viktor Szakats * package/mpkg_win_ci.sh ! fix to not display stderr output on `which` invocation (MSYS2 dumps the $PATH there in this case) ! fix regression where osslsigncode presence was not detected. On MSYS2 it needs to be done after setting up $PATH for the C compiler 2017-02-28 11:28 UTC Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg % use -dumpversion option when detecting version of gcc family of compilers 2017-02-27 23:06 UTC Viktor Szakats * package/upd_doc.sh * clear timezone before git commit 2017-02-27 22:33 UTC Viktor Szakats * include/hbapi.h * src/common/hbverdsp.c * src/harbour.def + add new function hb_verBuildInfoCB(). This is the same as existing hb_verBuildInfo(), except that it accepts a function pointer where the output is fed to. The callback function is expected to have the signature/behavior of existing hb_conOut{Std|Err}() functions. * deprecate hb_verBuildInfo() function * src/compiler/hbmain.c * src/vm/cmdarg.c * call hb_verBuildInfoCB() instead of hb_verBuildInfo() * src/nortl/nortl.c * src/compiler/hbmain.c * change hb_verBuildInfoCB() call to output `-build` content to stdout instead of stderr. (Except on MS-DOS where it will continue to use stderr, like the rest of outputs for Cl*pper compatibility.) * package/mpkg_win.sh ! do not redirect stderr when gathering info via `harbour -build` command anymore. This resolves the problem where unwanted wine errors are also caught in the output * include/hbcompdf.h ! whitespace 2017-02-27 19:44 UTC Viktor Szakats * .travis.yml % merge brew calls % make YML more compact - remove gcc-7, it's not available yet ! try another DISPLAY trick to avoid wine errormsg inside BUILD.txt 2017-02-27 19:26 UTC Viktor Szakats * .travis.yml ! try fix to common package groups + add gcc-7 test 2017-02-27 19:21 UTC Viktor Szakats * .travis.yml % try to further cleanup/optimize package installation and env setup for each build scenario 2017-02-27 19:10 UTC Viktor Szakats * .travis.yml % try optimizing Linux package installs * package/mpkg_win_ci.sh ! fix to disable code signing if osslsigncode tool is not available 2017-02-27 18:41 UTC Viktor Szakats * .travis.yml % certificate update didn't fix the error below, so revert it. ``` gpg: requesting key ... from hkps server pgp.mit.edu gpgkeys: HTTP fetch error 60: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none ``` ! try silencing $DISPLAY-related wine error * package/mpkg_win_ci.sh ! try a better solution for realpath issue * add terminal codepage debug lines * add jq to linux dependencies 2017-02-27 18:14 UTC Viktor Szakats * .travis.yml ! try installing/updating certificates ! install dos2unix on Linux % disable verbosity on Linux + deploy snapshot package on Linux too * package/mpkg_win_ci.sh + add list of required Linux packages * do not force any C compiler (revert prev update to force clang) * clear HB_CCSUFFIX before cross-builds ! try using -m realpath option when called with a non-existing file * package/upd_doc.sh ! never fail on commit or push (expecting it to fail if another CI session committed the changes first) 2017-02-27 17:07 UTC Viktor Szakats * .travis.yml + migrate to Ubuntu 14.04 (and gcc 6.2) + migrate to sudo VM for Linux cross-builds, otherwise wine cannot be installed at the current state of things + migrate to clang 3.9 on Linux + debug Linux cross-build ! install realpath on Linux * package/mpkg_win_ci.sh % always use clang for native builds (works for current Linux/macOS) % use HB_CI_THREAD for native builds (was: 2) * contrib/hbhttpd/core.prg * minor cleanup 2017-02-27 12:26 UTC Viktor Szakats * .travis.yml * try optimizing linux packages installs * contrib/hbcups/core2.c ! fix to prev 2017-02-27 12:15 UTC Viktor Szakats * contrib/hbcups/core2.c ! fix missing constants for old cups versions 2017-02-27 11:59 UTC Viktor Szakats * contrib/hbcups/core2.c ! fix version guards according to documentation ! fix to include http.h for HTTP_* constants in earlier cups versions + implement fallback code for pre-1.7.0 cups versions + default encryption mode upgraded to HTTP_ENCRYPTION_IF_REQUESTED (was: HTTP_ENCRYPTION_NEVER) * cleanups 2017-02-27 11:32 UTC Viktor Szakats * .travis.yml + run a full windows snapshot build on Linux, too 2017-02-27 11:17 UTC Viktor Szakats * contrib/hbcups/core2.c ! fi to not break build when built against older cups version * contrib/hbcups/core.c * contrib/hbcups/hbcups.hbx * contrib/hbcups/tests/test.prg + add hb_cups_version( @major, @minor, @patch ) -> nVersion * contrib/hbgd/gdwrp.c * contrib/hbhpdf/hbhpdf.h * contrib/sddoci/core.c * split long lines 2017-02-27 10:24 UTC Viktor Szakats * contrib/hbcups/hbcups.hbp * contrib/hbcups/hbcups.hbx + contrib/hbcups/core2.c + add cupsGetDefault2(), cupsGetDests2(), cupsPrintFile2() functions Merged from branch by Teo Fonrouge @tfonrouge: https://github.com/tfonrouge/harbour-vszakats/commit/8eef1fa1d30d445478a515f75b1c514b67e1f0a4 https://github.com/tfonrouge/harbour-vszakats/commit/6cbdccd2fc7207def53ea069cc331deac6382fb4 With minor updates applied. Build-tested only. API ref: https://www.cups.org/doc/api-cups.html * contrib/hbcups/hbcups.hbc * minor cleanup 2017-02-27 09:02 UTC Viktor Szakats * package/upd_doc.sh * remove debug 2017-02-27 01:43 UTC Viktor Szakats * bin/make.hb * minor * package/upd_doc.sh * debug diff 2017-02-27 01:07 UTC Viktor Szakats * package/upd_doc.sh ! fix credentials location * utils/hbmk2/hbmk2.prg ! fix to preserve EOL-style in -po= files when rebuilding them ! fix to keep -po= file sorted by source string * contrib/hbdoc/po/hbdoc.en.po * regenerate * doc/en/dbsdf.txt * minor cleanup just to trigger a doc build 2017-02-26 22:21 UTC Viktor Szakats * package/upd_doc.sh ! try fixing method to purge local repo content ! try hiding credentials from git error messages * doc/en/dbsdf.txt * minor cleanup just to trigger a doc build * bin/make.hb ! fix minor portability issue on non-*nix systems after today's update * .appveyor.yml * update token 2017-02-26 20:46 UTC Viktor Szakats * package/upd_doc.sh ! try to fix that the update process does delete no longer necessary doc files and adds any new ones * doc/en/dbsdf.txt * minor cleanup just to trigger a doc build 2017-02-26 17:53 UTC Viktor Szakats * contrib/hbcups/readme.txt -> contrib/hbcups/doc/en/core.txt + convert to HBDOC * .appveyor.yml * cleanups 2017-02-26 15:53 UTC Viktor Szakats * package/mpkg_win_ci_refresh_deps.sh * README.md * cleanups * nghttp2 1.20.0 + changes due to MSYS2 updates 2017-02-26 12:00 UTC Viktor Szakats * .appveyor.yml * try multiline release description * bin/make.hb * minor 2017-02-26 11:02 UTC Viktor Szakats * bin/make.hb + detect when run outside the core-contrib directory and show this on startup + show if it was invoked as part of the GNU Make core build * config/hbpost.hbm + install lib components to core addons directory so external project stores can be used just like if they were core contribs, using the same .hbp/.hbc files, when built via `make.hb` * package/RELNOTES.txt.in * cleanups * package/mpkg_win.sh * package/upd_doc.sh % use `grep -q` * README.md + link to MS docs for MSVC 2017 and newer command-line tool configuration (the page also documents older MSVC version, so likely the locally maintained examples may be removed in the future in favour of those) 2017-02-24 14:28 UTC Viktor Szakats * bin/make.hb * config/hbpost.hbm ! try to fix regression where automatic contrib install logic stopped working after relocating hbpre.hbm/hbpost.hbm from project store root to /config directory 2017-02-24 11:46 UTC Viktor Szakats * bin/make.hb * config/hbpost.hbm * contrib/hbhpdf/hbhpdf.hbp * rename _HB_CONTRIB_SUBDIR to _HB_PROJECT_SUBDIR to be more generic * contrib/hbgd/hbgd.hbp * contrib/hbhttpd/hbhttpd.hbp ! copy misc files under tests directory to the install target 2017-02-24 11:39 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.53.1 2017-02-24 01:48 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to let optional dependencies be manually disabled. Previously the optional flag was mistakenly ignored in this scenario. In practice hbicu-dependent libraries were affected (e.g. hbsqlit3) when built along the HB_BUILD_3RDEXT=no option (typically in cross-builds.) ! multiple fixes to the implementation of optional target implib name support in -depimplibs=/depimplibs= option committed in 2016-03-09 20:10 UTC+0100 7cf61eb2c10cca6822e31376fdcf29c51c3de805 2016-03-09 21:29 UTC+0100 ed16aeed7473e4a772d4d4afe4be698109962478 Specifically, when an optional target name was specified: - wrong implib name was passed to the -instfile logic with *nix hbmk2 builds (e.g. in hbssl), which failed copying on install. - default source .dll extension was incorrectly applied with *nix hbmk2 builds (e.g. in hbssl) - wrong implib name was used on `-clean` with *nix hbmk2 builds - it was only supported on gcc family compiler, now it's universal - few more non-critical issue * contrib/rddmisc/rddmisc.hbx ! fix wrong self-name in multiple macros and the ANNOUNCE 2017-02-23 14:15 UTC Viktor Szakats * config/global.mk * src/pp/hbpp.c * remove commit count info from generated include/_repover.txt It's not a reliable number for shallow copies, so it messes with reproducibility and it was not used anyway 2017-02-23 12:53 UTC Viktor Szakats * .travis.yml + add remaining mac dependencies * README.md * cleanup brew packages 2017-02-23 10:57 UTC Viktor Szakats * .travis.yml ! add osslsigncode package for mac->win cross-builds * README.md * document osslsigncode 2017-02-23 09:32 UTC Viktor Szakats * package/mpkg_win_ci.sh ! fix to recognize CI value with different casing in Travis CI * .travis.yml * remove a debug line * package/RELNOTES.txt.in * minor clarification 2017-02-23 02:22 UTC Viktor Szakats * config/global.mk + display envvar `MACOSX_DEPLOYMENT_TARGET` * README.md * reorder examples, mingw types plus minor cleanups * try making host/target notation clearer ! remove a wrong 'native build required' comment from of the MSVC examples * tests/parseini.prg * simplify code * package/mpkg_win.sh * whitespace after reindent 2017-02-22 03:13 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.53.0 * openssl hash changed because of the default MSYS2 manifest that got linked to openssl.exe 2017-02-22 00:37 UTC Viktor Szakats * .travis.yml + test deploy to github.com * quote cleanup * reindent with 2 spaces * .appveyor.yml * casing cleanup 2017-02-21 21:20 UTC Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh * package/mpkg_src.sh * reindent with industry standard 2 spaces * tweak quote chars to make buggy syntax highlighter happy (mcedit) 2017-02-21 19:18 UTC Viktor Szakats * package/mpkg_win_dl.sh % remove MSYS2/mingw default-manifest.o hack after proposed patch landed upstream fixing the issue in binutils: https://github.com/Alexpux/MINGW-packages/commit/0e79e62b72830f3161d7d8f80381a47c25bc95e1 Refs: https://github.com/Alexpux/MSYS2-packages/issues/454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880 2017-02-21 17:45 UTC Viktor Szakats * contrib/hbhttpd/tests/mkcert.sh * contrib/hbssl/tests/mkpem.sh * package/getsrc.sh.in * package/mpkg_ver.sh * package/mpkg_win_ci_refresh_deps.sh * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh * package/upd_doc.sh * reindent with industry standard 2 spaces 2017-02-21 17:07 UTC Viktor Szakats * package/mpkg_win_dl.sh + add commented line to install via future msvc package manager 2017-02-21 16:54 UTC Viktor Szakats * README.md + mention Windows Subsystem for Linux on Windows 10 Anniversary Update 2017-02-21 13:32 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add support for `--version` option in hbrun * .travis.yml * package/mpkg_win_ci.sh + execute hbrun as a simple post-build test * bin/make.hb * minor cleanup after prev 2017-02-21 12:35 UTC Viktor Szakats * bin/make.hb * config/hbpost.hbm * contrib/hbhpdf/hbhpdf.hbp * contrib/Makefile + rework existing "gnu make" build mode to be more generic. In this mode make.hb is started in the project store root and will build _all_ projects found under it. It can be be initiated by passing a '.' argument: `$ make.hb .` * rename "custom" mode to "hbmk2 pass-through" * further terminology cleanup attemps * config/hbpost.hbm ! fix some hardcoded relative paths that relied on the relative position of lib/bin/dyn target and project store root directories * package/upd_doc.sh * remove debug 2017-02-21 10:01 UTC Viktor Szakats * bin/make.hb + make it work in any 'project store' directory, not just the one named "contrib" + make terminology mostly "contrib"-agnostic + try finding Harbour source tree root based on hbmk2's (the one running the script itself) location. With this it's now possible to have project store directories anywhere on the disk, not just under the Harbour source root. It will behave the same way as the existing contrib dir, with all features available, like: - dependency detection and determining correct build order - automatically building any dependencies inside the same project store - automatic dynamic lib generation (if enabled) - installation to Harbour lib directory - Harbour default build settings applied - obeying to envvars: HB_BUILD_CONTRIB_DYN, HB_BUILD_CONTRIBS ! exit with error if Harbour source tree root could not be determined ; IOW after these changes, everyone can have her/his own custom, local "contrib" directory with a custom set of projects. ; A project store is a flat directory (no nesting), though each project can have a list of subprojects specified via a makesub.txt in its root (like in `hbformat` and `hbnetio`.) ; Highly EXPERIMENTAL and work-in-progress. * bin/make.hb * contrib/hbpost.hbm -> config/hbpost.hbm * contrib/hbpre.hbm -> config/hbpre.hbm * move common hbmk2 contrib project configuration into the Harbour source tree, so that it's now available for custom project stores as well. * package/upd_doc.sh * add debug line to inspect local repo modification details 2017-02-21 00:44 UTC Viktor Szakats * contrib/hbssl/ssl.c + add support for option `HB_OPENSSL_NO_APPLINK`. If defined, it will disable APPLINK support inside hbssl. There are just too many combinations in building/packaging/using OpenSSL with hbssl to give any general guideline as to when this option should be used or if it will solve any problem. Anyhow now it can be tried without touching the hbssl source code. This option has only any effect on Windows. More APPLINK-related babble/caveats/etc in the source code, TL;DR: It's not worth messing with, its importance is academic, it never worked till a fatal bug was fixed in version 1.0.2g last year, it's using a weird hack instead of offering an API to setup function pointers manually, and current hbssl solution is _convenient_, but not the recommended way, it'd best to disable stdio support altogether, but it's required by libcurl. TL;DR2: Either it's a huge mess, or I don't get it, or both. Refs: https://github.com/vszakats/hb/issues/272 https://github.com/vszakats/hb/issues/275 * bin/make.hb * minor output improvement 2017-02-20 23:39 UTC Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + add URLs where Apple clang versions can be ~matched with LLVM/clang versions 2017-02-20 21:39 UTC Viktor Szakats * package/mpkg_win_ci.sh * package/upd_doc.sh ! fix to not skip the doc generation/verification procedure on non-master branches and forks * bin/make.hb * cleanup 2017-02-20 16:30 UTC Viktor Szakats * contrib/make.hb -> bin/make.hb * contrib/Makefile * move make.hb to the bin directory, so it's easy to put in PATH together with the rest of the scripts/binaries of Harbour * README.md * update section "How to Do a Partial Build". It became more straightforward. This will do a single contrib build on *nix: $ cd contrib/<name> $ make.hb 2017-02-20 14:53 UTC Viktor Szakats * contrib/make.hb + automatically find source tree root, and longer rely on make.hb's own position inside the source tree. IOW, it now can be moved to any other directory and it should continue working * replace terminology 'contrib' with more generic 'project store' % remove unnecessary variables - remove the option to use 'make.hb <projectname>' when started from the project store root (contrib/) directory + display source tree root and project store root on start ; EXPERIMENTAL * README.md * update the way contrib projects can be rebuilt after above changes 2017-02-20 11:22 UTC Viktor Szakats * contrib/hbnetio/doc/es/readme.txt ! replace U+00A0 characters with spaces 2017-02-20 10:48 UTC Viktor Szakats * contrib/make.hb * internal cleanup * contrib/hbdoc/ngjson2hbdoc.hb * convert U+00A0 to U+0020 to make hbdoc loader happy after 2017-02-19 13:57 UTC * src/rtl/hblpphb.c * code formatting in comment 2017-02-19 21:20 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/crypto_scrypt.h * contrib/hbcrypto/3rd/scrypt/scrypt.diff ! fix another C99 issue. Thanks to Alex Strickland. Ref: https://github.com/vszakats/hb/issues/270#issuecomment-280947348 * contrib/hbdoc/hbdoc.prg * use hb_vf API * contrib/hbtpathy/telepath.prg * whitespace * contrib/make.hb * minor cleanups 2017-02-19 17:38 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/insecure_memzero.c * contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbcrypto/3rd/scrypt/sha256.c * contrib/hbcrypto/3rd/scrypt/sha256.h + contrib/hbcrypto/3rd/scrypt/_compat.h ! rework patch to make old MSVC versions (MSVC 2008) happy, fixing another instance of C99-ism. My last effort into this, from this point I'd like to kindly ask for patches to support this compiler. 2017-02-19 16:58 UTC Viktor Szakats * include/hbdefs.h ! fix to define HB_C99_* macros on non-supported systems Ref: https://github.com/vszakats/hb/issues/270#issuecomment-280931041 * package/getsrc.sh.in * minor 2017-02-19 14:18 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/insecure_memzero.c * contrib/hbcrypto/3rd/scrypt/insecure_memzero.h * contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbcrypto/3rd/scrypt/sha256.c ! avoid another C99 #include <stdint.h> ! replace 'inline' with _HB_INLINE_ and make sure to #include "hbdef.h" before it. Ref: https://github.com/vszakats/hb/issues/270#issuecomment-280918348 2017-02-19 13:57 UTC Viktor Szakats * src/rtl/hbdoc.prg + __hbdoc_FromSource()/__hbdoc_LoadDir(): will now add a warning if TAB (U+0009) or NON-BREAKING SPACE (U+00A0) is found. These characters are not accepted in HBDOC sources as they can cause unexpected and hard-to-detect issues along output generation. To proceed, these need to be replaced with normal spaces. * __hbdoc_LoadDir(): do not return a warning of the 'doc' directory didn't have any language subdir. This condition can be true for valid doc dirs, notably inside Harbour repo under contrib/hbrun. * contrib/hbdoc/hbdoc.prg + consider all HBDOC loading issues errors and exit with status 1 * rename a function * package/upd_doc.sh ! do not refresh doc repository if hbdoc returned a non-zero status This makes the CI builds useful to catch doc problems early. 2017-02-19 13:05 UTC Viktor Szakats * doc/en/datetime.txt ! fix indentation using 0xA0 (space-looking, but not space) characters in hb_Week() $EXAMPLES$ section * contrib/hbdoc/hbdoc.prg ! add missing #require preventing it from running as script 2017-02-19 11:03 UTC Viktor Szakats * ChangeLog.txt * doc/en/rdddb.txt * doc/en/string.txt * src/common/expropt2.c * 'NULL string' -> 'null string' for consistency with Cl*pper and most Harbour docs and not to confuse it with C/SQL NULL. "null string" is a zero length string in Cl*pperspeak. 2017-02-19 10:45 UTC Viktor Szakats * package/getsrc.sh.in * package/RELNOTES.txt.in * move information about source code downloading and customization to RELNOTES.txt. 2017-02-19 09:09 UTC Viktor Szakats * contrib/hbssl/hbssl.hbc ! fix to find openssl 1.1 libs on darwin (after 2017-02-16 18:40 UTC) * contrib/hbhttpd/hbhttpd.hbc * contrib/hbhttpd/tests/eshop.prg * cleanups 2017-02-19 09:01 UTC Viktor Szakats * contrib/hbhttpd/tests/mkcert.sh + make the self-signed test certificate also cover ipv4/ipv6 loopback addresses 2017-02-19 08:41 UTC Viktor Szakats * contrib/hbhttpd/tests/eshop.prg - let it run in cleartext/insecure mode if the certificate is missing * contrib/hbhttpd/tests/mkcert.sh * add comment 2017-02-18 16:05 UTC Viktor Szakats * contrib/hbhttpd/tests/eshop.prg * mkcert.sh won't run as .bat anymore, so remove this hint. * contrib/hbhttpd/tests/mkcert.sh * cleanups now that working as .bat is not a concern 2017-02-18 12:57 UTC Viktor Szakats * package/RELNOTES.txt.in * README.md ! text cleanups/fixes 2017-02-18 10:41 UTC Viktor Szakats * .editorconfig * contrib/hbexpat/tests/test.xml * contrib/hbmxml/tests/test.xml * cleanups 2017-02-17 17:39 UTC Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.diff * contrib/hbcrypto/3rd/ed25519/ed25519.hbp * contrib/hbcrypto/3rd/ed25519/fe.c * contrib/hbcrypto/3rd/ed25519/ge.c * contrib/hbcrypto/3rd/ed25519/precompd.h * update to the latest source revision 2017-02-17 17:28 UTC Viktor Szakats - contrib/hbcrypto/3rd/scrypt/config.h - contrib/hbcrypto/3rd/scrypt/README.txt + contrib/hbcrypto/3rd/scrypt/LICENSE.txt * contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbcrypto/3rd/scrypt/scrypt.hbp % further reduce and cleanup local patch 2017-02-17 17:15 UTC Viktor Szakats * package/getsrc.sh.in * package/mpkg_win_dl.sh * package/mpkg_win.sh * cleanups/generalization in comments/output 2017-02-17 15:49 UTC Viktor Szakats * package/upd_doc.sh * cleanup wording in comments/output 2017-02-17 14:54 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/crypto_scrypt-ref.c * contrib/hbcrypto/3rd/scrypt/crypto_scrypt.h * contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbcrypto/3rd/scrypt/sha256.c * contrib/hbcrypto/3rd/scrypt/sha256.h % reduce patch for easier maintenance 2017-02-17 12:52 UTC Viktor Szakats * include/hbdefs.h + add HB_C99_STATIC and HB_C99_RESTRICT type qualifiers currently enabled for gcc/clang family * contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbcrypto/3rd/scrypt/sha256.c % restore C99 static/restrict qualifiers on compilers that support it 2017-02-17 12:24 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/crypto_scrypt.h * cleanup * contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbcrypto/3rd/scrypt/sha256.c * contrib/hbcrypto/3rd/scrypt/sha256.h * contrib/hbcrypto/hbcrypto.hbp + make sha256.{c,h} compatible with C compilers not supporting C99 (untested though) Ref: https://github.com/vszakats/hb/issues/270#issuecomment-280623411 2017-02-17 12:15 UTC Viktor Szakats * contrib/hbcrypto/hbcrypto.hbp * require MSVC 2010 or upper. stdint.h shipped first with 2010. 2017-02-17 11:54 UTC Viktor Szakats * package/harbour.rb * update devel revision + depend on openssl 1.1 except for stable 3.0.0 2017-02-17 11:41 UTC Viktor Szakats * config/global.mk + recognize gcc 7.1.0 2017-02-17 11:33 UTC Viktor Szakats * contrib/hbcrypto/hbcrypto.hbp ! require MSVC 2012 or newer for hbcrypto. scrypt dependency needs C99 header stdint.h. Ref: https://github.com/vszakats/hb/issues/270#issuecomment-280623411 * contrib/3rd/sqlite3/sqlite3.hbp * contrib/hbpost.hbm * formatting 2017-02-16 18:40 UTC Viktor Szakats * .travis.yml + upgrade to openssl 1.1 on mac * contrib/hbssl/hbssl.hbm + recognize and use openssl 1.1 from Homebrew 2017-02-16 17:56 UTC Viktor Szakats * package/mpkg_win_ci.sh * openssl 1.1.0e - tests/checkssl.sh - moved to its own repository for now: https://github.com/vszakats/https-check 2017-02-16 10:12 UTC Viktor Szakats * package/upd_doc.sh ! exit with zero result (instead of 1) if credentials are missing 2017-02-16 02:16 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + consider ALERT()/HB_ALERT() CUI functions and automatically switch to "interactive"/"full-screen" GT when used in a script. [INCOMPATIBLE] + add ACHOICE()/__ATPROMPT()/__MENUTO() to the list of functions that will automatically switch to "interactive"/"full-screen" GT when used in a script. ! normalize some paths displayed in help output * contrib/rddads/tests/datad.prg * tests/altd.prg * tests/cls.prg % remove CLS commands now unnecessary 2017-02-15 22:21 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbcrypto/3rd/scrypt/sha256.c ! patch out C99 keywords to make it compile with MSVC 2015 and mingw 4.6.x Closes: https://github.com/vszakats/hb/issues/270 * tests/checkssl.hb -> tests/checkssl.sh + rewritten in bash * utils/hbmk2/hbmk2.prg + select CUI mode automatically if DBEDIT() call is used * minor cleanup 2017-02-15 15:14 UTC Viktor Szakats * contrib/hbpgsql/postgres.c ! fix guards that wrongly assumed that some API calls were introduced in PostgreSQL 9.1, while the correct version is 9.5 Closes: https://github.com/vszakats/hb/issues/267 2017-02-15 12:11 UTC Viktor Szakats * .travis.yml ! restore wine hack. wine-devel didn't resolve it. 2017-02-15 11:41 UTC Viktor Szakats * .travis.yml ! fix wine path after switching to wine-devel. 2017-02-15 10:57 UTC Viktor Szakats * .travis.yml % try removing wine hack after switching to wine-devel 2017-02-15 10:42 UTC Viktor Szakats * package/upd_doc.sh ! fix regex to not match `contrib/hbdoc/po/*.po`, which may be updated while building hbdoc 2017-02-15 03:18 UTC Viktor Szakats * package/upd_doc.sh * debug an issue * src/3rd/pcre2/Makefile * pcre 10.23 https://vcs.pcre.org/pcre2/code/trunk/ChangeLog?revision=666&view=markup 2017-02-15 02:45 UTC Viktor Szakats * .travis.yml * wine-staging -> wine-devel * contrib/hbmisc/tests/bubbleb.prg * cleanup example 2017-02-15 00:45 UTC Viktor Szakats * package/mpkg_win_ci.sh * wine-staging -> wine-devel After: https://github.com/caskroom/homebrew-cask/commit/9d8895fc3d50b2c7ede441e062e6ef3188e22e99 2017-02-14 22:43 UTC Viktor Szakats * package/mpkg_win.sh * package/upd_doc.sh * cleanups 2017-02-14 22:04 UTC Viktor Szakats * doc/en/dirdrive.txt ! whitespace fix * .travis.yml ! refix to list all suffixes for the given C compiler * package/mpkg_win.sh + find out the GITHUB_SLUG instead of hardcoding it * package/upd_doc.sh + include source repo commit URL in commit message 2017-02-14 21:05 UTC Viktor Szakats * .travis.yml ! fix to take HB_CCSUFFIX into account in non-cross builds when showing C compiler info ! shellcheck fixes 2017-02-14 19:32 UTC Viktor Szakats * .travis.yml ! detect location of C compiler binaries (instead of assuming their Linux location) + call `$CC -v` in non-cross builds ! try hack to avoid extreme timeout when using wine under macOS on Travis CI, along with this error msg: "err:process:__wine_kernel_init boot event wait timed out" Picked from here: https://github.com/fracting/msys2-scripts/blob/dbb2bbc9b6f91d8107e5498ac3d0d4e7da71c765/src/msys2-init#L23 "hack - wineboot without display, create wineprefix in a quick way, workaround Travis CI timeout (FIXME)" [UPDATE: There is now a slow one-time initialization, subsequent wine calls are fine.] 2017-02-14 17:26 UTC Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/_gentxt.prg * contrib/hbdoc/_genxml.prg * contrib/hbdoc/hbdoc.prg ! various line-ending related fixes when run under Windows ! directory separator related fixes when run under Windows ! magic string positions replaced with len() calls ! fix to not rely on cwd to find hbdoc_head.html + output is now always generated with LF EOLs * minor cleanups * package/upd_doc.sh ! rebuild docs also when hbdoc itself was updated 2017-02-14 15:13 UTC Viktor Szakats * doc/en/sayget.txt ! minor fix * package/getsrc.sh.in * package/upd_doc.sh ! fix tar command for Windows ! fix git push command % make hbrun more silent 2017-02-14 14:38 UTC Viktor Szakats * doc/en/rddord.txt ! minor fix * package/upd_doc.sh ! fix stupid typo in detecting doc changes 2017-02-14 13:52 UTC Viktor Szakats * doc/en/string.txt ! whitespace fix * .github/CONTRIBUTING.md * reference CC logo directly from CC mirror instead of referencing it via a double-hack 2017-02-14 13:28 UTC Viktor Szakats * contrib/hbdoc/hbdoc.prg ! fix wrong full path shown as 'Output directory' + package/upd_doc.sh * package/mpkg_win_ci.sh + add automation to regenerate the Harbour Reference Guide GitHub Pages repository if the documentation sources got updated * package/mpkg_win_ci.sh * update info on Wine installation for mac * package/mpkg_win.sh * cleanup * .travis.yml ! try to restore `brew update` to help finding wine-staging [SUCCESS] 2017-02-14 00:31 UTC Viktor Szakats * .travis.yml ! try another method to set Wine PATH on mac [SUCCESS] * contrib/xhb/decode.prg * tests/parseini.prg % use :__enumKey() instead of :Keys method when looping through hashes (it's faster, and cleaner too) * minor cleanups 2017-02-13 21:54 UTC Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_17_0.html 2017-02-13 20:28 UTC Viktor Szakats * contrib/hbdoc/hbdoc_head.html * docs/_includes/head_stat.html * update/streamline GA code https://developers.google.com/analytics/devguides/collection/analyticsjs/#alternative_async_tracking_snippet 2017-02-13 19:48 UTC Viktor Szakats * README.md * reference CC logo directly from CC mirror instead of referencing it via a double-hack 2017-02-13 18:19 UTC Viktor Szakats * .travis.yml + install wine-staging on mac + check wine presence properly 2017-02-13 15:22 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/crypto_scrypt-ref.c * contrib/hbcrypto/3rd/scrypt/crypto_scrypt.h * contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbcrypto/pbkdf2.c * contrib/hbcrypto/scrypt.c ! more fixes after reverting to original filenames in vendored scrypt 2017-02-13 13:24 UTC Viktor Szakats + contrib/hbcrypto/3rd/scrypt/sha256.h + add file missed from previous commit 2017-02-13 12:34 UTC Viktor Szakats * contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbcrypto/3rd/scrypt/scrypt.hbp * contrib/hbcrypto/3rd/scrypt/sha256.c + contrib/hbcrypto/3rd/scrypt/config.h + contrib/hbcrypto/3rd/scrypt/insecure_memzero.c + contrib/hbcrypto/3rd/scrypt/insecure_memzero.h * contrib/hbcrypto/3rd/scrypt/c_scrypt.h -> contrib/hbcrypto/3rd/scrypt/crypto_scrypt.h * contrib/hbcrypto/3rd/scrypt/c_scrypt.c -> contrib/hbcrypto/3rd/scrypt/crypto_scrypt-ref.c * update to scrypt 1.2.1 (from 1.1.6) * restore to use its own implementation of SHA256 and HMAC-SHA256 This makes patch smaller, final binaries somewhat smaller, but this appears to be a more polished SHA256 implementation than core one. WARNING: C build fallouts possible. * use original filenames * contrib/hbcrypto/hbcrypto.hbp * use original scrypt public header filename in dependency detection. This makes envvar HB_WITH_SCRYPT actually useful to point to non-vendored scrypt package. 2017-02-13 12:05 UTC Viktor Szakats * bin/3rdpatch.hb * remove enforcing 8+3 naming on vendored sources. This may break MS-DOS builds where original long source filenames get restored and also for new components. one solution is to use non-vendored builds of the affected components, where this problem should be solved. The upside is that the patches become simpler and vendored code won't as much diverge from originals and their forks/copies. It generally makes working with these vendored sources much less cumbersome. 2017-02-13 02:59 UTC Viktor Szakats * .travis.yml % refine installed brew packages depending on target ! do not run wine on mac * whitespace 2017-02-13 02:45 UTC Viktor Szakats * .travis.yml + enable mingw-w64 cross-builds on mac host 2017-02-13 02:44 UTC Viktor Szakats * .travis.yml * osx_image -> xcode8.2 2017-02-13 02:41 UTC Viktor Szakats * package/mpkg_win_ci.sh * README.md + use mingw-w64 from Homebrew (was: MacPorts) Ref: https://github.com/Homebrew/homebrew-core/commit/8c21ae13ef118f8df65916b7a712761234294277 2017-02-12 11:36 UTC Viktor Szakats * contrib/hbcurl/tests/ftp_uldl.prg + add example to retrieve file with timestamp ! update download URL to a new one that works ! remove public FTP example, because the server doesn't work anymore (it's good riddance anyway) * contrib/hbcurl/tests/email.prg * contrib/hbcurl/tests/ftp_uldl.prg ! download CA bundle on darwin 2017-02-12 01:00 UTC Viktor Szakats * contrib/hbcurl/easy.c ! also accept a logical value for the HB_CURLOPT_FILETIME option. It also means that calling this option without parameter like this: curl_easy_setopt( hbcurl, HB_CURLOPT_FILETIME ) Will from now on _enable_ this option by default to the value of 1, while previously it disabled it by defaulting to .F. [INCOMPATIBLE] 2017-02-09 15:57 UTC Viktor Szakats * bin/commit.hb % reduce number of exceptions * minor cleanups * ChangeLog.txt * URL updates 2017-02-08 19:18 UTC Viktor Szakats * config/global.mk * package/mpkg_win.sh * URL updates * tests/checkssl.hb * better user agent (still rejected by one of the URLs) ! handle URLs with ':' in them 2017-02-08 19:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! fixed clipboard selection with shift + left mouse button to not report mouse events during selection * include/hbdate.h * src/common/hbdate.c + added support for ISO 8601 week dates (YYYY-Www-D) in timestamp literals + added support for ISO 8601 ordinal dates (YYYY-DDD) in timestamp literals + added new C functions: HB_BOOL hb_dateDecWeek( long lJulian, int * piYear, int * piWeek, int * piDay ); long hb_dateEncWeek( int iYear, int iWeek, int iDay ); to decode/encode ISO 8601 week dates * src/rtl/dateshb.c + added new PRG function get week number and other parts ISO 8601 week date: hb_Week( <dDate>, [@<nYear>], [@<nDayOfWeek>] ) -> <nWeek> * include/harbour.hbx * src/harbour.def * updated for new functions 2017-02-08 17:44 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg % use UTF8 instead of UTF8EX, where the added features of UTF8EX are not being used anyway (i.e. in hb_setTermCP() call) * bin/commit.hb * add an exception 2017-02-08 00:04 UTC Viktor Szakats * package/mpkg_win.sh * whitespace style tweak 2017-02-07 23:48 UTC Viktor Szakats * contrib/hbhttpd/tests/mkcert.sh * contrib/hbssl/tests/mkpem.sh * sync os detection with rest of scripts * package/mpkg_win_ci_refresh_deps.sh * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh * whitespace style tweak * package/mpkg.hb * reflow 2017-02-07 23:10 UTC Viktor Szakats * contrib/hbcurl/hbcurl.hbm + add reference to https://github.com/curl/curl-for-win for mingw/mingw64 binaries * contrib/hbssl/hbssl.hbm * contrib/hbcurl/hbcurl.hbm * refine reference to curl-for-win to only appear for mingw/mingw64 builds 2017-02-07 22:55 UTC Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh ! fix typo in Linux platform detection 2017-02-07 09:04 UTC Viktor Szakats * contrib/hbssl/hbssl.hbm * update URL to point to the project page (which links to the download page for openssl specifically) * reorder homepage URLs * docs/.gitattributes % remove list of text file types and unused binary type * README.md ! fix reference to script * recommend mingw32-make over win-make for mingw 2017-02-06 19:41 UTC Viktor Szakats * gettools.sh * use HTTPS URL 2017-02-06 18:34 UTC Viktor Szakats * README.md ! wording fix + add link to Harbour Magazine Ref: https://groups.google.com/d/msg/harbour-users/CGbbe6H_RNE/UzAgBg0NCgAJ ; NOTE: Now that HTTPS became quite ubiquitious in recent years and sites without it are starting to get flagged as insecure by major browsers (Chrome/Firefox) when it involves user accounts, it'd be quite nice to bump the standard in Harbour related community site to make use of HTTPS. Let's Encrypt offers free certificates, it's enough to configure it. Some sites I have in mind: - pctoledo.com.br - clipper.borda.ru - hmgforum.com - hmgextended.com - *.vouch.info - and most popular commercial ones (fivewin, xharbour). Useful resources: - https://sucuri.net/guides/how-to-install-ssl-certificate - https://www.troyhunt.com/the-6-step-happy-path-to-https/ - https://letsencrypt.org/ - https://www.httpvshttps.com/ - https://istlsfastyet.com/ - https://arstechnica.com/information-technology/2017/01/firefox-chrome-start-calling-http-connections-insecure/ - https://certbot.eff.org/ - https://mozilla.github.io/server-side-tls/ssl-config-generator/ - https://www.ssllabs.com/ssltest/ Mixed-content tester/info: - https://developers.google.com/web/fundamentals/security/prevent-mixed-content/fixing-mixed-content#fixing_mixed_content - https://www.whynopadlock.com/ - https://ssl.webaware.net.au/testing/ 2017-02-06 18:26 UTC Viktor Szakats * .github/CONTRIBUTING.md * gettools.sh * package/mpkg_win.sh * package/RELNOTES.txt -> package/RELNOTES.txt.in * package/getsrc.sh -> package/getsrc.sh.in * minor cleanups 2017-02-06 14:29 UTC Viktor Szakats * bin/3rdpatch.hb * config/postinst.hb * contrib/hbdoc/hbdoc.prg * contrib/make.hb * tests/hbdoc.prg * utils/hbmk2/hbmk2.prg & minor optimizations 2017-02-06 14:22 UTC Viktor Szakats * src/rtl/*.prg * utils/hbmk2/hbmk2.prg * '!( x == y )' -> '! x == y', '!( x $ y )' -> '! x $ y' 2017-02-06 14:01 UTC Viktor Szakats * config/global.mk * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh * utils/hbmk2/hbmk2.prg * `-q` turns out to not be an universal quiet flag accross different git commands, so go back to using `--quiet` instead * contrib/*/tests/*.prg * contrib/*/*.prg * contrib/*/utils/*.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * '!( x == y )' -> '! x == y', '!( x $ y )' -> '! x $ y' 2017-02-06 13:39 UTC Viktor Szakats * config/global.mk ! try fixing a regression [SUCCESS] * tests/achoice.prg * tests/db_brows.prg * tests/debug.prg * tests/hbdoc.prg * tests/inherit.prg * tests/rto_get.prg * tests/rto_tb.prg * tests/stripem.prg * utils/hbtest/hbtest.prg * '!( x == y )' -> '! x == y', '!( x $ y )' -> '! x $ y' 2017-02-06 12:58 UTC Viktor Szakats * .gitattributes % drop list of all extensions, list exceptions only * bin/3rdpatch.hb * bin/commit.hb * config/lang.hb * config/postinst.hb * contrib/make.hb * package/mpkg.hb * tests/stripeol.hb * '!( x == y )' -> '! x == y', '!( x $ y )' -> '! x $ y' * bin/commit.hb % remove .gitattributes based logics * .gitignore % drop lines no longer needed * gettools.sh * still untested, but likely ok 2017-02-06 10:58 UTC Viktor Szakats * package/getsrc.sh * package/mpkg_win.sh + automatically unpack and merge Harbour source code into the Harbour directory tree of a binary/snapshot distro. This makes it possible to build or rebuild components (typically contribs) in local environment. Or even prepare the tree for cross-builds by doing a full native build on top. * contrib/hbssl/hbssl.hbm + add link to my OpenSSL builds that I use with Harbour. It's the same package that is bundled with the snapshot builds. * config/global.mk + show git origin and active branch % simplify git-related code and internal conditions * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh * utils/hbmk2/hbmk2.prg % simplify some git commands 2017-02-05 20:01 UTC Viktor Szakats * config/global.mk + show git revision when building a sub-component of Harbour * reword git revision display * include/hbdefs.h * include/hbexpra.c * include/hbsetup.h * include/vm.api * package/mpkg_win_dl.sh * package/mpkg_win.sh * remove comment decoration * add uname results links * comment/formatting tweaks 2017-02-04 12:47 UTC Viktor Szakats - getmake.sh * config/gettools.sh -> gettools.sh + merge gettools and getmake + autodetect OS (untested on OS/2, MS-DOS) + allow to pass OS as parameter: win, os2, dos - drop (maintenance heavy) hash checking for the win download + replace potentially cleartext download URL with a secure one * bin/commit.hb * config/global.mk * config/lang.hb * config/postinst.hb * package/mpkg.hb * copyright bumps 2017-02-04 04:33 UTC Viktor Szakats * tests/checkssl.hb * try reporting broken links * minor refinements * ChangeLog.txt * README.md * src/rdd/dbfntx/dbfntx1.c * utils/hbmk2/hbmk2.prg * URL updates 2017-02-03 19:16 UTC Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/hbexpat.hbp * ChangeLog.txt * src/rtl/base64d.c * URL updates /*.sourceforge.net/ -> https://*.sourceforge.io/ 2017-02-03 02:00 UTC Viktor Szakats * src/3rd/zlib/gzlib.c ! sync source with updated zlib.diff 2017-02-03 01:54 UTC Viktor Szakats * src/3rd/zlib/Makefile * src/3rd/zlib/zlib.diff % NO_VIZ macro not used by recent zlib code, stop defining it * define zlib macros to enable lseek64 on mingw, instead of patching zlib source code. Required since 1.2.9. Ref: https://github.com/madler/zlib/issues/95#issuecomment-270607985 2017-02-02 18:13 UTC Viktor Szakats * package/mpkg_win_ci.sh * shellcheck fixes * package/mpkg_win_dl.sh * add timeout for gpg keyserver access * package/mpkg_win.sh % delete an overfix 2017-02-02 16:47 UTC Viktor Szakats * README.md * bump Git version requirement to 2.2.0 (from 1.7), released in 2014 November. The recently added `--no-patch` git option require it. Ref: https://github.com/vszakats/hb/issues/266 2017-02-02 16:32 UTC Viktor Szakats * utils/hbspeed/hbspeed.prg * use GTCGI when built for Harbour. It fixes stdout when running under Wine (2.0 from https://dl.winehq.org/wine-builds/macosx/download.html) * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh + better defaults to make `package/mpkg_win_ci.sh` runnable from a desktop terminal 2017-02-02 15:59 UTC Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh - remove inactive code dealing with bundling upx 2017-02-02 15:56 UTC Viktor Szakats * package/mpkg_win.sh * cleanup the way hbmk2.exe is called on win hosts 2017-02-02 15:38 UTC Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win.sh - stop bundling .html manual with binary distros. Use the online docs: https://harbour.github.io/doc/ Or download them from this Git repository to use them locally: https://github.com/harbour/doc 2017-02-02 15:37 UTC Viktor Szakats * package/mpkg_win_ci.sh % further cleanups after prev 2017-02-02 15:28 UTC Viktor Szakats * package/mpkg_win.sh - stop bundling mingw libgcc/libwinpthread/mingw .dlls. Harbour binaries don't need them. If user apps need them, these should be supplied from a mingw distro by users. This was a feature with very high maintenance needs and after recent changes I can't afford to spend the extra day to fix it for every existing distro/platform/version of mingw. The last known version where this was working is: 2017-02-02 03:16 UTC 2017-02-02 14:18 UTC Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win.sh ! minor fixes (after prev) * config/postinst.hb ! fix misdetecting win platform as darwin (after prev) 2017-02-02 13:25 UTC Viktor Szakats * config/global.mk ! fix `_repover.txt` generation in cases the last commit contained renames or other items * package/mpkg_win.sh ! fix missing /manual directory subdirs in distro package ! attempt to fix regression causing mingw .dlls missing from distro package * config/postinst.hb * package/mpkg_win_ci.sh * README.md + add HB_BUILD_POSTRUN_HOST envvar to run custom post-build tasks native to the host system * modify HB_BUILD_POSTRUN to run in the target binary directory + use `wine` to run HB_BUILD_POSTRUN tasks if needed and possible ! fix to run `hbdoc` as a native tool, also make sure to build native version of `hbdoc` in native build phase * package/mpkg.hb * simplify text output 2017-02-02 03:41 UTC Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh + improve support for non-Windows hosts - where necessary use `gcp` instead of `cp` on darwin - use `wine` to invoke Windows executables - use platform native `hbmk2` to execute `mpkg.hb` script - improve logic to run `strip` command for target platform - find `libgcc` of target platform inside *nix builds of mingw-w64 (darwin/macports tested) - convert output of `harbour.exe -build` to LF EOLs when run under Wine - make minimal native Harbour build first if run on non-Windows - skip downloading/installing Windows specific components unless on Windows host - configure builds for cross-toolchain when run on non-Windows hosts + add support for darwin hosts (adding Linux support will be simpler) ! strip $HOME directory from BUILD.txt ! delete .7z before creating it, to avoid problems on repeated runs % do not download curl/openssl/etc packages if they are already there % do not `make clean` before the 64-bit builds TODO: double-check ! cleanup some HB_* envvars to avoid problems when run in non-CI environments (e.g. desktops) ; All this means that it is now possible to replicate a build similar to AppVeyor CI native Windows builds on a Mac (or on Linux), if the necessary tools are installed. 2017-02-02 03:16 UTC Viktor Szakats * package/harbour.spec ! remove reference to a file deleted long ago 2017-02-01 22:14 UTC Viktor Szakats * package/mpkg_win_dl.sh ! delete downloaded archives on exit + getmake.sh + add script to download win-make.exe from the internet needs curl, openssl and 7z * win-make.exe * update it using getmake.sh * config/dl_tools.sh -> config/gettools.sh * rename * README.md * simplify GNU Make section 2017-02-01 21:02 UTC Viktor Szakats * contrib/rdduser/rdduser.hbc -> contrib/rddmisc/rddmisc.hbc * contrib/rdduser/rdduser.hbx -> contrib/rddmisc/rddmisc.hbx * contrib/rdduser/rdduser.hbp -> contrib/rddmisc/rddmisc.hbp * rename experimental `rdduser` contrib to `rddmisc` - src/rdd/usrrdd/rdds/Makefile * config/bin.mk * package/harbour.spec * src/rdd/Makefile * utils/hbmk2/hbmk2.prg * src/rdd/usrrdd/rdds/arrayrdd.prg -> contrib/rddmisc/arrayrdd.prg * src/rdd/usrrdd/rdds/dbtcdx.prg -> contrib/rddmisc/dbtcdx.prg * src/rdd/usrrdd/rdds/fptcdx.prg -> contrib/rddmisc/fptcdx.prg * src/rdd/usrrdd/rdds/hscdx.prg -> contrib/rddmisc/hscdx.prg * src/rdd/usrrdd/rdds/logrdd.prg -> contrib/rddmisc/logrdd.prg * src/rdd/usrrdd/rdds/rlcdx.prg -> contrib/rddmisc/rlcdx.prg * src/rdd/usrrdd/rdds/smtcdx.prg -> contrib/rddmisc/smtcdx.prg * src/rdd/usrrdd/rdds/vfpcdx.prg -> contrib/rddmisc/vfpcdx.prg * move user RDDs from core to contrib. Historically this library was was automatically linked to every application. By making it a contrib, it now needs to be linked explicitly by adding `rddmisc.hbc` to the hbmk2 project or command-line. Please update it if you use any user RDDs: ARRAYRDD, DBTCDX, FPTCDX, HSCDX, LOGRDD, RLCDX, SMTCDX, VFPCDX This code can benefit more of being a contrib than core could have benefited it being in the core. IOW the downside is that we can no more use this lib from hbmk2 and other core tools, the upside is that rddmisc can now make use of other contribs or even can make use of 3rd party dependencies. Core also becomes lighter as a result, and all code buried in its 4th level subdirectory gets better visibility in the contrib directory. [INCOMPATIBLE] 2017-02-01 20:40 UTC Viktor Szakats * .gitattributes * contrib/sddsqlt3/tests/test.prg * contrib/sddsqlt3/tests/test.sq3 -> contrib/sddsqlt3/tests/test.sqlite3 + use standard file-extension 2017-02-01 20:31 UTC Viktor Szakats * .gitattributes * bin/commit.hb * package/harbour.spec * bin/harbour.ucf -> bin/hb-uncrustify.cfg + use standard file-extension 2017-02-01 20:23 UTC Viktor Szakats * .editorconfig * .gitattributes ! updates and fixes * .gitattributes ! resync with reality * contrib/hbwin/tests/oletst2.js * contrib/xhb/tests/test.xml * indentation 2017-02-01 02:37 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + rebase .dylib references in executables and dynlibs on darwin, if Harbour is not installed on a system / standard path. This should fix the case where Harbour is built using HB_BUILD_CONTRIB_DYN=yes and e.g. `hbrun` is being run via /usr/bin/env tool on El Capitan or latter, or if DYLD_[FALLBACK_]_LIBRARY_PATH was not set to Harbour's lib directory. The logic for the basic case is this: ```shell # To be run in `<harbour>/bin/darwin/clang/` for f in $(find . -name '*' -not -name '*.*' -type f -perm +111 -depth 1); do for l in $(otool -L "${f}" | grep -v '/' | awk -F' ' '{ print $1 }'); do install_name_tool -change "$l" "@executable_path/../../../lib/darwin/clang/${l}" "$f" done done ``` + rebase .dylib references when creating an .app bundle [Notice that the .app will cease to work if moved from its original location. An .app bundle for distribution should either not link to shared libraries or include them in the bundle as well when preparing it for distribution. That step must include manual .dylib rebasing as required.] + rebase .dylib references when -instpath= is used and the target is the Harbour lib directory ; All the above: EXPERIMENTAL ! fix darwin libtool errors when using either -map or -cpp options for dynamic libs % optimize script runner to load the script from disk just once [REVERTED] ! hbrun module loader to use LD_LIBRARY_PATH also on darwin * contrib/hbdoc/hbdoc.hbp * contrib/hbformat/utils/hbformat.hbp * contrib/hbrun/hbrun.hbp * cleanups 2017-01-31 17:48 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + dot prompt and scripts will now look for dynamic modules in Harbour's dynlib directory, then make a better effort to look them up in standard places. This should fix dynamic module loading in self-contained Harbour installations, even if not in PATH or system-specific dynlib paths. On *nix system installations, this wasn't tested and may need further fixes. 2017-01-31 15:07 UTC Viktor Szakats * contrib/hbrun/hbrun.hbp + link hbcrypto lib by default 2017-01-31 14:52 UTC Viktor Szakats * .github/CONTRIBUTING.md * .github/ISSUE_TEMPLATE.md * package/RELNOTES.txt * README.md * reflow text to have around 74-78 characters per line 2017-01-31 00:51 UTC Viktor Szakats + contrib/hbsms/DEPRECATED.txt + contrib/hbcomm/DEPRECATED.txt + contrib/hbtpathy/DEPRECATED.txt * add deprecation note for some experimental/redundant/stalled contribs. Use core serial API instead and something 3rd party for SMS sending. + contrib/xhb/WARNING.txt * add deprecation warning for xhb contrib * contrib/hbziparc/ziparc.prg ! fix whitespace in copyright header 2017-01-31 00:12 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg * hbshell_ScriptName(): normalize returned path 2017-01-29 13:39 UTC Viktor Szakats * package/mpkg_win.sh % optimize out an on-disk temp file 2017-01-29 03:16 UTC Viktor Szakats * ChangeLog.txt * README.md * URL updates 2017-01-29 02:42 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add -comprflag= option to pass custom options to the executable compressor 2017-01-29 00:28 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + use Wine to run the target when doing cross builds from a *nix system to a win target and -run option is specified. NOTE: Untested yet for GUI apps. + add macro ${hb_prefix} to return the root directory of Harbour. NOTE: When Harbour is installed into a system location on *nix system, the returned value remains _undefined_ until actual testing in such scenario and a decision what to return in such case. The primary intent is to help "portable", "self-contained" Harbour installations, where all required components reside under a common root. 2017-01-27 12:44 UTC Viktor Szakats * bin/3rdpatch.hb * config/global.mk * config/linux/sunpro.mk * config/sunos/sunpro.mk * contrib/gtwvw/doc/ChangeLog.txt * contrib/hbexpat/core.c * contrib/hbmisc/bbabble.c * contrib/hbsms/sms.prg * contrib/hbtip/thtml.ch * contrib/hbtip/thtml.prg * contrib/hbzebra/datamtrx.c * contrib/hbzebra/pdf417.c * contrib/hbzebra/qrcode.c * ChangeLog.txt * include/hbsetup.h * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile * utils/hbmk2/hbmk2.prg * URL updates * src/rtl/alert.prg * release my modifications to the public domain 2017-01-26 17:12 UTC Viktor Szakats * package/mpkg_win_ci.sh * openssl 1.1.0d 2017-01-25 17:21 UTC Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.19.0 2017-01-24 21:57 UTC Viktor Szakats * tests/parseini.ini * tests/parseini.prg * tests/parseins.ini * tests/regex.prg * tests/regex2.prg * tests/server.prg * cleanups 2017-01-23 15:58 UTC Viktor Szakats * bin/*.hb * config/*.hb * contrib/hbdoc/*.hb * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/make.hb * contrib/*/*.prg * contrib/*/tests/*.prg * doc/en/string.txt * doc/pp_prg.txt * package/mpkg.hb * src/debug/*.prg * src/rdd/*.prg * src/rdd/hbsix/sxcompat.prg * src/rtl/*.prg * tests/*.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg % HB_ISNULL( expr ) -> expr == "" the latter is faster, 1 byte shorter in pcode, faster to write and easier to read ; HB_ISNULL() was introduced as a faster version of hb_Blen( expr ) > 0 or a non-ambiguous version of Empty( expr ) for strings. It means that it was only used on strings throughout the codebase. * bin/commit.hb * cleanup a condition 2017-01-23 12:14 UTC Viktor Szakats * contrib/hbdoc/ng2json.hb * comment * contrib/hbhttpd/widgets.prg * whitespace + contrib/hbdoc/ngjson2hbdoc.hb + upload script to convert NG JSON to HBDOC (rather Cl5.3 and CT3 doc specific) 2017-01-21 11:20 UTC Viktor Szakats * package/mpkg_win_ci.sh ! fix zlib1.dll dependency regression in libcurl.dll 2017-01-20 12:28 UTC Viktor Szakats * ChangeLog.txt * src/3rd/hbpmcom/doc/com.txt * URL updates * contrib/hbdoc/hbdoc_head.html * docs/_includes/head_stat.html * enable beacon transport in GA code 2017-01-20 01:31 UTC Viktor Szakats * package/mpkg.hb * cleanup * contrib/hbexpat/hbexpat.hbp * docs/faq.html * package/harbour.rc * README.md * URL cleanups 2017-01-19 23:14 UTC Viktor Szakats * contrib/hbtip/tests/http_cli.prg * contrib/hbtip/tests/http_qry.prg * contrib/hbwin/tests/ole.prg * tests/checkssl.hb * avoid checkssl.hb hits 2017-01-19 22:43 UTC Viktor Szakats * contrib/gtwvg/tests/_activex.prg * contrib/hbhttpd/readme.txt * ChangeLog.txt * URL updates 2017-01-19 22:02 UTC Viktor Szakats * src/common/hbverdsp.c ! fix to not leave a space at the end of the "Build options:" line in `-build` output. * package/getsrc.sh * fold line 2017-01-19 20:07 UTC Viktor Szakats * package/mpkg_win.sh + include ./include/_repover.txt in the binary distro. This will help making native builds with _proper version information_ from sources downloaded as .zip archives. Otherwise proper version information is only available when building from a cloned git repo. 2017-01-19 19:15 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + update docs with {hb_ver_id_short} 2017-01-19 19:04 UTC Viktor Szakats * config/global.mk * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/xhb/xhbver.prg * include/hbapi.h * include/hbver.ch * package/mpkg_win.sh * package/RELNOTES.txt * src/common/hbver.c * src/harbour.def * src/main/harbour.c * src/pp/hbpp.c * src/rtl/version.c * src/vm/cmdarg.c * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * update functions/macros to access commit ID to return the _full_ commit ID from now on (instead of the short one): .prg: hb_Version( HB_VERSION_ID ) .c: hb_verCommitID() .c: HB_VER_COMMIT_ID hbmk2 macro: {hb_ver_id} Currently for Git, this is a 40 character long string (and SHA1 hash in hex encoding). [INCOMPATIBLE] Tool banners, legacy macros were updated to keep using the short IDs. + add new functions/macros to access the short commit ID: .prg: hb_Version( HB_VERSION_ID_SHORT ) .c: hb_verCommitIDShort() -> char * .c: HB_VER_COMMIT_ID_SHORT hbmk2 macro: {hb_ver_id_short} * hb_Version( HB_VERSION_URL_SOURCE ): change it to return an URL to the source tree instead of the latest commit for the given revision. 2017-01-19 02:20 UTC Viktor Szakats * contrib/gtwvg/paint.prg * contrib/gtwvg/progrbar.prg * contrib/gtwvg/wvgwing.c * contrib/hbwin/tests/ole_wmi.prg * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/wapi_winuser_1.c * contrib/hbwin/win_proxy.prg * contrib/hbwin/win_shell.c * ChangeLog.txt * package/harbour.rc * src/common/hbver.c * src/rtl/hbsocket.c * utils/hbmk2/hbmk2.prg % further cleanup/shorten MS URLs 2017-01-19 01:18 UTC Viktor Szakats * package/mpkg_win.sh + package/getsrc.sh + readd a script to download sources code matching the revision of the binary package. This time it's a shell script that still requires curl, but curl itself is not included anymore. 2017-01-18 17:34 UTC Viktor Szakats * config/dyn.mk * package/harbour.rc % exclude manifest from Harbour .dll as well 2017-01-18 15:24 UTC Viktor Szakats * package/harbour.rc % do not add manifest to .dlls. They seem to have no effect, and the correct way is to add one to the executable that loads the .dll. * utils/hbmk2/hbmk2.prg + define HBMK_DYNLIB macro in C/C++ sources regardless of Harbour version + define HBMK_DYNLIB macro in Windows Resource compiler as well 2017-01-18 14:53 UTC Viktor Szakats * contrib/gtwvg/paint.prg * contrib/gtwvg/progrbar.prg * contrib/gtwvg/wvgwing.c * contrib/hbwin/tests/ole_wmi.prg * contrib/hbwin/wapi_misc.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_proxy.prg * contrib/hbwin/win_shell.c * ChangeLog.txt * package/harbour.rc * README.md * src/common/hbver.c * src/rtl/hbsocket.c * make URLs language agnostic by removing `/en-us/` where supported * make URLs toolchain version agnostic (link to latest) by removing version markers (e.g. `(v=vs.85)`) from MS URLs 2017-01-18 01:03 UTC Viktor Szakats * .travis.yml * cross-build script cleanups * package/mpkg_src.sh * package/mpkg_win_ci_refresh_deps.sh * tests/checkssl.hb * clear GREP_OPTIONS envvar 2017-01-17 13:03 UTC Viktor Szakats * README.md * update platform status reflect that symbian/win9x are now deprecated, beos/vxworks/qnx/minix/cygwin experimental * .github/ISSUE_TEMPLATE.md * fold long line 2017-01-16 13:39 UTC Viktor Szakats * bin/.clang-format * contrib/gtwvw/doc/ChangeLog.txt * contrib/hbexpat/core.c * contrib/hbexpat/hbexpat.hbp * ChangeLog.txt * URL updates 2017-01-16 11:53 UTC Viktor Szakats * package/mpkg_win.sh ! fix broken reproducibility when core binaries were re-codesigned after removing internal timestamps but their external timestamp was not restored 2017-01-15 21:53 UTC Viktor Szakats * package/mpkg_win_dl.sh * non-MSYS2 mingw build update 2017-01-15 21:37 UTC Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/* * src/3rd/zlib/Makefile * src/3rd/zlib/zlib.dif * src/3rd/zlib/* * zlib 1.2.11 2017-01-13 19:10 UTC Viktor Szakats * package/mpkg_win_ci.sh * rebuild dependencies with MSYS2 mingw 2017-01-13 19:04 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming option CURLOPT_ABSTRACT_UNIX_SOCKET 2017-01-13 15:57 UTC Viktor Szakats * package/mpkg_win_dl.sh * one last update to non-MSYS2 mingw packages 2017-01-13 15:01 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + recognize upcoming C++17 gcc/mingw options 2017-01-13 13:16 UTC Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/* * update to pcre 8.40 https://vcs.pcre.org/pcre/code/trunk/NEWS?revision=1674&view=markup 2017-01-13 13:06 UTC Viktor Szakats * config/global.mk ! fix typo in mingw 6.3 autodetection 2017-01-13 13:01 UTC Viktor Szakats * package/harbour.svg ! update to the 2016 logo 2017-01-13 12:10 UTC Viktor Szakats * package/vszakats.p12.asc % remove some metadata from gpg encrypted blob 2017-01-12 23:00 UTC Viktor Szakats * package/mpkg_win_ci.sh * rebuild dependencies with mingw 6.3.0 2017-01-12 22:38 UTC Viktor Szakats * contrib/hbformat/hbfmtcls.prg ! fix warning in recently applied patch I suspect this patch may not be fully correct, if this (no-op) line could have slipped through. Please test. 2017-01-12 03:02 UTC Viktor Szakats * .gitattributes * bin/3rdpatch.hb * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif -> contrib/3rd/sqlite3/sqlite3.diff * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbbz2/3rd/bz2/bz2.dif -> contrib/hbbz2/3rd/bz2/bz2.diff * contrib/hbcrypto/3rd/ed25519/ed25519.hbp * contrib/hbcrypto/3rd/ed25519/ed25519.dif -> contrib/hbcrypto/3rd/ed25519/ed25519.diff * contrib/hbcrypto/3rd/scrypt/scrypt.hbp * contrib/hbcrypto/3rd/scrypt/scrypt.dif -> contrib/hbcrypto/3rd/scrypt/scrypt.diff * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/expat.dif -> contrib/hbexpat/3rd/expat/expat.diff * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif -> contrib/hbhpdf/3rd/libhpdf/libhpdf.diff * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hblzf/3rd/liblzf/liblzf.dif -> contrib/hblzf/3rd/liblzf/liblzf.diff * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/3rd/minixml/minixml.dif -> contrib/hbmxml/3rd/minixml/minixml.diff * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmzip/3rd/minizip/minizip.dif -> contrib/hbmzip/3rd/minizip/minizip.diff * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * contrib/hbxdiff/3rd/libxdiff/libxdiff.dif -> contrib/hbxdiff/3rd/libxdiff/libxdiff.diff * extras/dbu/README.md * extras/dbu/dbu52.dif -> extras/dbu/dbu52.diff * extras/dbu/dbu53.dif -> extras/dbu/dbu53.diff * extras/ps32/README.md * extras/ps32/ps32.dif -> extras/ps32/ps32.diff * extras/rl/README.md * extras/rl/rl.dif -> extras/rl/rl.diff * extras/superlib/README.md * extras/superlib/superlib.dif -> extras/superlib/superlib.diff * src/3rd/pcre/Makefile * src/3rd/pcre/pcre.dif -> src/3rd/pcre/pcre.diff * src/3rd/pcre2/Makefile * src/3rd/pcre2/pcre2.dif -> src/3rd/pcre2/pcre2.diff * src/3rd/png/Makefile * src/3rd/png/png.dif -> src/3rd/png/png.diff * src/3rd/zlib/Makefile * src/3rd/zlib/zlib.dif -> src/3rd/zlib/zlib.diff * replace extension `.dif` with the standard `.diff` This way certain tools have a better chance correctly identifying them as DIFF file (e.g. github.com) ; It also means that 3rdpatch now won't necessarily work on MS-DOS and patching instructions under /extras/ won't necessarily work there either. 2017-01-12 02:43 UTC Viktor Szakats * contrib/hbformat/hbfmtcls.prg * apply rest of hunks from patch by Maurizio la Cecilia: https://groups.google.com/d/msg/harbour-users/JhGZ246kTSI/VeQTuQHIEQAJ (with very minor formatting and dropped the update to hbformat.ini) * contrib/hbxpp/tthreadx.prg * `endsequence` -> `end sequence` to be consistent with rest of Harbour codebase 2017-01-12 02:34 UTC Viktor Szakats * contrib/hbformat/hbfmtcls.prg * apply some hunks of patch by Maurizio la Cecilia: https://groups.google.com/d/msg/harbour-users/JhGZ246kTSI/VeQTuQHIEQAJ Extend recognized Harbour command keywords. 2017-01-12 02:16 UTC Viktor Szakats - tests/cmdarg.c - tests/gtapi.c ! delete code that didn't work standalone for very long * doc/gtapi.txt * cleanups * tests/dyn.c ! silence a clang warning 2017-01-11 23:50 UTC Viktor Szakats * contrib/hbcurl/tests/email.prg * contrib/hbcurl/tests/ftp_uldl.prg ! enable CURLOPT_FAILONERROR with HTTP[S] protocols 2017-01-07 14:01 UTC Viktor Szakats * src/rtl/adir.prg * src/rtl/dircmd.prg ! ADIR(), __DIR(): fix to return/display date only instead of complete timestamp (for Cl*pper compatibility). Regression caused by switching these functions to use hb_vfDirectory() internally. 2017-01-06 22:01 UTC Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_16_2.html 2017-01-06 00:59 UTC Viktor Szakats * config/aix/libs.mk * config/beos/libs.mk * config/bsd/libs.mk * config/cygwin/libs.mk * config/darwin/libs.mk * config/hpux/libs.mk * config/linux/libs.mk * config/minix/libs.mk * config/qnx/libs.mk * config/sunos/libs.mk * utils/hbmk2/hbmk2.prg ! fix (non-locally hosted) pcre2 libname 2017-01-06 00:25 UTC Viktor Szakats * .travis.yml % remove option no longer necessary after 2016-06-29 14:59 UTC+0200 2017-01-05 19:43 UTC Viktor Szakats * src/harbour.def + export new zlib 1.2.9 functions (also fixes error when building hbhpdf dll) 2017-01-05 18:13 UTC Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * libpng 1.6.28 2017-01-05 16:41 UTC Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.18.1 2017-01-04 01:04 UTC Viktor Szakats * bin/3rdpatch.hb + make sure to keep original timestamps while copying and doctoring files. Generated .dif files now contain correct timestamps for original files. + always strip exec attribute from sources (libharu needs this) * contrib/hbbz2/3rd/bz2/bz2.dif * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/scrypt/scrypt.dif * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * contrib/hblzf/3rd/liblzf/liblzf.dif * contrib/hbmxml/3rd/minixml/minixml.dif * contrib/hbxdiff/3rd/libxdiff/libxdiff.dif * src/3rd/pcre/pcre.dif * src/3rd/pcre2/pcre2.dif * regenerate .difs 2017-01-04 00:24 UTC Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif * extras/rl/rl.dif * extras/superlib/superlib.dif * regenerate * extras/ps32/ps32.dif ! fix to apply cleanly to latest/references source code 2017-01-04 00:12 UTC Viktor Szakats * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmzip/3rd/minizip/minizip.dif * contrib/hbmzip/3rd/minizip/* * zlib 1.2.10 2017-01-03 22:43 UTC Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_16_1.html 2017-01-03 16:01 UTC Viktor Szakats * bin/3rdpatch.hb * do not leak local TZ in generated .dif files * src/3rd/png/png.dif * src/3rd/zlib/zlib.dif * regenerated * contrib/gtwvw/gtwvwd.c * whitespace 2017-01-03 09:18 UTC Viktor Szakats * src/3rd/zlib/Makefile * src/3rd/zlib/zlib.dif * src/3rd/zlib/* * zlib 1.2.10 2017-01-02 14:46 UTC Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_16_0.html 2017-01-01 21:11 UTC Viktor Szakats * package/harbour.rc * src/rtl/gtwvt/gtwvt.c * src/rtl/gtwvt/gtwvt.h + enable DPI-awareness for Harbour binaries * small first step towards a dynamic DPI-aware GTWVT. more info: https://blogs.windows.com/buildingapps/2016/10/24/high-dpi-scaling-improvements-for-desktop-applications-and-mixed-mode-dpi-scaling-in-the-windows-10-anniversary-update/ https://msdn.microsoft.com/library/dn469266 2017-01-01 19:09 UTC Viktor Szakats * src/3rd/zlib/Makefile ! minor fix to prev 2017-01-01 12:10 UTC Viktor Szakats * src/3rd/zlib/*.c * src/3rd/zlib/*.h * src/3rd/zlib/Makefile * src/3rd/zlib/README.txt * src/3rd/zlib/zlib.dif * zlib 1.2.9 2016-12-30 22:36 UTC Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.27 2016-12-29 11:22 UTC Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.18.0 * README.md * updates 2016-12-23 13:20 UTC Viktor Szakats * contrib/hbcurl/easy.c ! fix duplicate case value when built against libcurl 7.52.0 or upper 2016-12-23 12:50 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.52.1 2016-12-23 01:36 UTC Viktor Szakats * contrib/gtwvw/tests/readme.txt * contrib/hbfbird/hbfbird.hbp * contrib/hbgs/hbgs.hbp * contrib/sddfb/sddfb.hbp * URL updates * README.md * add missing keywords for GNU Make 2016-12-22 21:58 UTC Viktor Szakats * contrib/hbtpathy/readme.txt * doc/gmake.txt * docs/about.md * docs/contribs.md * docs/index.html * docs/thirdparty.md * README.md * cleanup wording along the lines of: https://www.gnu.org/philosophy/words-to-avoid.en.html 2016-12-22 01:11 UTC Viktor Szakats * .github/CONTRIBUTING.md + add link to this great article: "How To Ask Questions The Smart Way" by Eric S. Raymond http://www.catb.org/~esr/faqs/smart-questions.html * .github/ISSUE_TEMPLATE.md * minor tweak to discourage deleting all checklist boxes instead of ticking them. 2016-12-21 15:28 UTC Viktor Szakats * config/global.mk * recognize gcc 6.3 2016-12-21 11:13 UTC Viktor Szakats * package/mpkg_win_ci.sh * curl 7.52.0 2016-12-21 00:33 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming CURLOPT_PRE_PROXY libcurl option 2016-12-17 12:27 UTC Viktor Szakats * .travis.yml * remove unsupported package that now causes fatal failur * utils/hbmk2/hbmk2.prg * comment 2016-12-16 11:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmisc/dates.c ! fixed WOY() to return some reasonable results. I have no idea what author wanted to reach but now WOY() be default returns ISO 8601 week number and simple week number if 2nd parameter is .F. 2016-12-15 16:26 UTC Viktor Szakats * contrib/hbct/ctcrypt.c * contrib/xhb/hbcrypt.c + add warnings for custom, non-standard, unproven, possibly unssafe crypto 2016-12-15 12:51 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/harbour.def * src/rtl/dateshb.c + added new PRG functions which convert time difference to hours, minutes, seconds and milliseconds. Except milliseconds the results are floating point numbers with fractional part representing the rest of conversion: hb_NToHour( <nTimeDiff> ) => <nHours> hb_NToMin ( <nTimeDiff> ) => <nMinutes> hb_NToSec ( <nTimeDiff> ) => <nSeconds> hb_NToMSec( <nTimeDiff> ) => <nMilliseconds> + added new PRG functions which convert timestamp value to hours, minutes, seconds and milliseconds. Except milliseconds the results are floating point numbers with fractional part representing the rest of conversion: hb_TToHour( <tTimeStamp> ) => <nHours> hb_TToMin ( <tTimeStamp> ) => <nMinutes> hb_TToSec ( <tTimeStamp> ) => <nSeconds> hb_TToMSec( <tTimeStamp> ) => <nMilliseconds> * src/rtl/gtsln/gtsln.c ! fixed cleanup string sent to terminal to remove test UTF-8 character * src/rtl/gtsln/kbsln.c + added workaround for some broken Linux kernel which wrongly sets tty device as ready for reading * src/rtl/hbsocket.c * added comment * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c ! added missing tag root page restoring cleared after discarding buffers due to concurrent access to multitag indexes. Many thanks for Karsten Stucker for self contain example. * src/rdd/dbfntx/dbfntx1.c * discard buffers when next free page is changed even without touching version number - minor protection for potentially broken 3rd party NTX code or very old [x]Harbour NTX RDDs which do not increment version number on update. 2016-12-15 01:45 UTC Viktor Szakats * contrib/hbdoc/ng2json.hb * contrib/hbnf/tests/mouse1.prg * minor cleanups 2016-12-14 13:56 UTC Viktor Szakats + contrib/hbdoc/ng2json.hb + add script to convert binary .ng files to .json .ng parsing logic based on: Expert Guide - A Text Mode Norton Guide Reader Copyright (C) 1997-2015 David A Pearson https://github.com/davep/eg 2016-12-14 12:46 UTC Viktor Szakats * .gitattributes * bin/commit.hb * do not enforce MS-DOS compatible filenames in the Harbour repository anymore 2016-12-13 18:03 UTC Viktor Szakats * contrib/xhb/hbcrypt.c ! HB_DECRYPT()/nsx_xordecode(): fix another out-of-bounds buffer access. May result in incompatibility in cases where the random value read from `*( key - 1 )` was non-zero. This bug may have affected even HB_DECRYPT() calls where valid non-zero-length string was passed as cKey. % simplify previous patch * elmininate local variable * ChangeLog.txt + add more details to the HB_CRYPT()/HB_DECRYPT() bug. 2016-12-13 09:41 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + add hint to run code as script if hbshell_*() functions are referenced, but not found 2016-12-13 01:04 UTC Viktor Szakats * contrib/xhb/hbcrypt.c ! HB_CRYPT()/HB_DECRYPT(): fix 13 years old bug to avoid returning _non-deterministic_ result if the second parameter (cKey) is not passed or not a string. The key will now be a single zero byte in this case. Passing an empty string results in the same key. Notice however that encrypting without a key makes no sense and even the in-source comments suggest a key length of 6 characters minimum. ``` LOCAL a, b, c, d ? hb_StrToHex( a := hb_Crypt( "hello" ) ) ? hb_StrToHex( b := hb_Crypt( "hello", "" ) ) ? hb_StrToHex( c := hb_Crypt( "hello", Chr( 0 ) ) ) ? hb_StrToHex( d := hb_Crypt( "hello", "1" ) ) ? hb_Decrypt( a ) ? hb_Decrypt( b, "" ) ? hb_Decrypt( c, Chr( 0 ) ) ? hb_Decrypt( d, "1" ) ``` After this update these functions will behave predictably regardless of C compiler or runtime environment, but these results may differ from the faulty/random results previously returned when called with an invalid/missing cKey. I strongly suggest to avoid these custom crypto functions and use hb_blowfish*() in core instead. Or even better use AES128/AES256 (in non-ECB mode) if such functionality is accessible. ; To clarify: Above means that if cKey was omitted, or not a string, the internal buffer `scramble` remained uninitialized in function `nxs_make_scramble()` and this uninitialized buffer was then used througout the encryption/decryption process. Additionally in `nxs_xordecode()`/`nxs_xorcode()` there was several one out of bounds buffer access (e.g. `key[ 0 - 1 ]`), resulting in using arbitrary memory content. These simple tests could fail before the fix: hb_Decrypt( hb_Crypt( "hello" ) ) == "hello" hb_Decrypt( hb_Crypt( "hello", "" ), "" ) == "hello" * package/mpkg_win_dl.sh * update commented upx reference to version 3.92 2016-12-12 16:52 UTC Viktor Szakats * doc/en/inputall.txt + markup 2016-12-12 15:40 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg + hint using hbrun instead of hbmk2, if the latter is tried to be used to load extensions. (on some platforms like Windows, this is only possible with -shared executables and hbmk2 is always built -static while hbrun is built -shared.) 2016-12-12 10:18 UTC Viktor Szakats * contrib/hbhttpd/tests/eshop.prg * contrib/hbwin/tests/ole.prg * tests/diskspac.prg * minor cleanups and improvements 2016-12-12 06:45 UTC Viktor Szakats * contrib/hbwin/tests/ole.prg + CDO example: use SSL/TLS and port 465 + CDO example: add example for adding an attachment 2016-12-11 22:26 UTC Viktor Szakats * tests/altd.prg + add comment to clarify a noop argument value Ref: https://groups.google.com/d/msg/harbour-devel/pkcJ_53lxfU/0_ByMa_SDAAJ 2016-12-09 17:24 UTC Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix mistyped function name hint logic that it doesn't show a misleading additional hint about adding an .hbc (even if it was actually specified) + tweak mistyped function name hint logic to also display an error about an unrecognized function 2016-12-08 11:04 UTC Viktor Szakats * contrib/hbhpdf/tests/harupdf.prg * use console output instead of Alert() * contrib/hbwin/tests/simwce.prg ! fix/cleanup some Alert() calls * contrib/hbmysql/tsqlbrw.prg + use hb_StrFormat() * contrib/hbwin/tests/prn1.prg * cleanups * config/dl_tools.sh ! fix to remove zip files to avoid double work 2016-12-08 10:37 UTC Viktor Szakats + config/dl_tools.sh + add shell script to download, unpack and copy all required external binary tools required to build Harbour on MS-DOS and OS/2 platforms. It requires sh/bash and curl. (can be run on other OS if this is problematic on these platforms) - config/doscp.exe - config/dosecho.exe - config/dosmkdir.exe - config/dosrm.exe - config/os2cp.exe - config/os2mkdir.exe - config/os2rm.exe - dos-make.exe - os2-make.exe % remove 3rd party MS-DOS and OS/2 binaries hosted in Harbour repository * README.md * update to reflect the above 2016-12-08 00:13 UTC Viktor Szakats * .github/CONTRIBUTING.md * docs/faq.html * README.md * URL updates 2016-12-07 19:29 UTC Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for features of upcoming libcurl 7.52.0: HB_CURLOPT_PROXY_SSLCERT HB_CURLOPT_PROXY_SSLCERTTYPE HB_CURLOPT_PROXY_SSLKEY HB_CURLOPT_PROXY_SSLKEYTYPE HB_CURLOPT_PROXY_KEYPASSWD HB_CURLOPT_PROXY_SSLVERSION HB_CURLOPT_PROXY_CAINFO HB_CURLOPT_PROXY_CAPATH HB_CURLOPT_PROXY_CRLFILE HB_CURLOPT_PROXY_SSL_VERIFYHOST HB_CURLOPT_PROXY_SSL_VERIFYPEER HB_CURLOPT_PROXY_SSL_CIPHER_LIST HB_CURLOPT_PROXY_SSL_OPTIONS HB_CURLOPT_PROXY_PINNEDPUBLICKEY HB_CURLOPT_PROXY_TLSAUTH_PASSWORD HB_CURLOPT_PROXY_TLSAUTH_TYPE HB_CURLOPT_PROXY_TLSAUTH_USERNAME HB_CURLINFO_PROTOCOL HB_CURLINFO_SCHEME HB_CURLINFO_PROXY_SSL_VERIFYRESULT Ref: https://github.com/curl/curl/commit/cb4e2be7c6d42ca0780f8e0a747cecf9ba45f151 2016-12-07 11:56 UTC Viktor Szakats * contrib/hbwin/tests/prn2.prg + add test for win_PrintDataRaw() if no filename is specified * other cleanups and fixes 2016-12-05 23:30 UTC Viktor Szakats * bin/.clang-format + update to give better results with Harbour C sources * package/mpkg_src.sh * cleanups * .editorconfig * minor 2016-12-05 21:15 UTC Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh * package/mpkg_src.sh * package/mpkg_ver.sh * package/mpkg_win_dl.sh * formatting ! fix missing default path in `find` command 2016-12-05 21:06 UTC Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh ! do not fall back to `rpm` tool if `rpmbuild` is not available. Recent `rpm` versions don't support `rpmbuild` functionality requested by the `-ba` option. * package/mpkg_win.sh * delete commented logic 2016-12-05 18:39 UTC Viktor Szakats * bin/commit.hb + recognize entry headers regardless of timezone format * use 'UTC' instead of 'UTC+0000' in entry headers 2016-12-05 18:01 UTC+0000 Viktor Szakats * bin/commit.hb * always use UTC+0000 timestamp in ChangeLog entry headers 2016-12-05 16:02 UTC+0100 Viktor Szakats * .gitattributes % delete extensions no longer used after archiving /extras projects 2016-12-04 17:49 UTC+0100 Viktor Szakats * package/harbour.rc ! revert recent 2016-12-04 10:55 UTC+0100 Closes https://github.com/vszakats/hb/issues/258 2016-12-04 14:28 UTC+0100 Viktor Szakats * contrib/hbtip/tests/hbmk.hbm - contrib/hbtip/tests/email.hbp + always link hbssl to tests/examples * contrib/hbtip/client.prg % check :cProxyHost for HB_ISNULL() instead of Empty() to see if a proxy is enabled. (This results in minor incompatibilites if handling this variable directly, e.g. now its default value is an empty string instead of NIL and non-zero-length string filled with spaces will be considered a valid host). * contrib/hbtip/tests/http_cli.prg + display proxy URL, result and headers 2016-12-04 11:45 UTC+0100 Viktor Szakats * README.md * Borland C, Pelles C and XCC are now deprecated in this fork. Please upgrade to mingw or MSVC if you'd like to use this fork. * package/harbour.rc * document another Borland C (5.5) bug. Due a RC/PP bug, trash bytes will be generated in certain strings that are also used in the embedded manifest in this fork. Newer Windows versions will refuse to run executables with such corrupted strings in their manifest. Demo: $ brcc32 test.rc ```test.rc #define HB_MACRO2STRING( macro ) HB_MACRO2STRING_( macro ) #define HB_MACRO2STRING_( macro ) #macro #define HB_VER_MAJOR 3 #define HB_VER_MAJOR_ 3 STRINGTABLE { 1, "|" HB_MACRO2STRING( HB_VER_MAJOR ) "|" /* corrupted */ 2, "|" HB_MACRO2STRING( HB_VER_MAJOR_ ) "|" /* OK */ } ``` 2016-12-04 10:55 UTC+0100 Viktor Szakats * package/harbour.rc % cleanup .ico reference 2016-12-04 10:24 UTC+0100 Viktor Szakats * contrib/hbtip/client.prg ! fix regression in SMTPS STARTTLS connections (e.g. for @hotmail.com) after applying HTTPS proxying fix in 881b9684dd2a749c7b42f40da15cc4ce412445f0 * contrib/hbtip/WARNING.txt * ChangeLog.txt ! typos * bin/commit.hb + add WARNING.txt to casing exception list 2016-12-03 21:42 UTC+0100 Viktor Szakats * contrib/hbmac/trash.m * MAC_MOVETOTRASH(): deprecate pre-OS X 10.8 support with HB_LEGACY_LEVEL4 This avoids warnings for Cocoa API calls deprecated in Mac OS X 10.4. * contrib/hbmisc/hbmisc.hbx * contrib/hbmisc/spd.c - sql_sprintf(): deprecate this function with HB_LEGACY_LEVEL4 This function accepts format strings from .prg code and does forward those to C level via *printf() call. This is unsafe and non-trivial to fix without introducing a parser. Related gcc/clang warning: spd.c:87:49: warning: format string is not a string literal [-Wformat-nonliteral] s = hb_snprintf( cBuffer, ulMaxBuf, cParFrm, iIndWidth, iIndPrec, hb_itemGetPtr( pItmPar ) ); Harbour core function hb_StrFormat() was introduced since then, and this, along with new and old type/date/time conversion functions should cover the functionality of sql_sprintf() in a secure and standard way. Consider using them instead. 2016-12-03 21:06 UTC+0100 Viktor Szakats * src/codepage/uc16def.c + update for Unicode 9.0.0 based on this table, using tests/uc16_gen.prg: https://unicode.org/Public/9.0.0/ucd/UnicodeData.txt 2016-12-03 14:21 UTC+0100 Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerate 2016-12-03 13:21 UTC+0100 Viktor Szakats * config/globsh.mk * config/lang.hb * README.md * utils/hbmk2/hbmk2.prg * URL updates 2016-12-03 11:41 UTC+0100 Viktor Szakats * src/rtl/fslink.c + hb_FLink()/hb_FLinkSym() (and C level counterpart) now allows to creates symlinks on Windows without admin privileges. It requires latest OS build and also the feature to be enabled by an admin prior. See more: https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/ 2016-12-03 01:59 UTC+0100 Viktor Szakats * .github/CONTRIBUTING.md * contrib/hbdoc/hbdoc.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * package/harbour.rc * README.md * src/compiler/hbusage.c * src/pp/hbpp.c * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * utils/hbmk2/po/hbmk2.hu.po * utils/hbtest/hbtest.prg * bump copyright year 2016-12-03 01:49 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg % use macro instead of literal 2016-12-03 01:23 UTC+0100 Viktor Szakats * contrib/hbpost.hbm ! fix to create dynamic libraries under the `lib` directory on *nix systems It means that contribs that depend on other contribs (e.g. xhb) will now correctly link against the dynamic version of those dependencies. * contrib/make.hb % cleanup *nix codepath: _HB_DYNSUFF value is now left empty as it had no effect on selecting dynamic vs. static libs on *nix systems. 2016-12-02 20:04 UTC+0100 Viktor Szakats - extras/gfspell/* - extras/hbdroid/* - extras/hbusb/* - extras/hbvpdf/* - extras/hbxlsxml/* - extras/httpsrv/* - extras/rddado/* * package/mpkg_win.sh - remove unfinished, unmaintaned and/or broken packages from the /extras directory. You can find the last revision of them archived here: https://harbour.github.io/archive/gfspell.zip https://harbour.github.io/archive/hbdroid.zip https://harbour.github.io/archive/hbusb.zip https://harbour.github.io/archive/hbvpdf.zip https://harbour.github.io/archive/hbxlsxml.zip https://harbour.github.io/archive/httpsrv.zip https://harbour.github.io/archive/rddado.zip (Note these contain several maintenance updates compared to the latest version hosted as part of mainline 3.2 Harbour) Or as part of the last repository archive that still contained them: https://github.com/vszakats/hb/archive/8a2c00bf7ebc97eec902e121f1bd3586f4170812.zip 2016-12-02 17:37 UTC+0100 Viktor Szakats * package/mpkg_win.sh * exclude /extras/ library folders from snapshot distro that are unfinished, unmaintaned and/or broken. 2016-11-30 21:25 UTC+0100 Viktor Szakats * extras/templatc/hbtplc.hbc * extras/template/hbtpl.hbc * dll support tweaks * utils/hbmk2/hbmk2.prg + #define `HBMK_DYNLIB` for C sources when building a dynamic library It's the same as existing `HB_DYNLIB`, but non-Harbour sourcecode specific and properly namespaced. 2016-11-28 22:44 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_15_2.html 2016-11-28 22:36 UTC+0100 Viktor Szakats + extras/templatc/corec.c + extras/templatc/hbtplc.h + extras/templatc/hbtplc.hbc + extras/templatc/hbtplc.hbp + extras/templatc/README.md + extras/templatc/tests/hbmk.hbm + extras/templatc/tests/test.c + add pure C project template using hbmk2 as a build tool 2016-11-28 00:41 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + -nohblib option is now automatically enabled for projects that do not have .prg or object files specified as input. IOW pure C projects will now automatically exclude linking any Harbour related libs and other things. In (the unlikely) case this is unwanted, -nohblib- option can be used to restore previous behavior. 2016-11-27 18:53 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.17.0 2016-11-24 21:04 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * change .po generation logic to only do sorting for determinism when the -rebuildpo option is enabled (was: when the -minipo option). 2016-11-24 19:08 UTC+0100 Viktor Szakats * README.md * remove specific products along with their proprietary store links 2016-11-24 18:55 UTC+0100 Viktor Szakats * contrib/hbcurl/easy.c % minor optimization to prev commit 2016-11-24 15:03 UTC+0100 Viktor Szakats * contrib/hbcurl/easy.c * CURL_EASY_ESCAPE()/CURL_EASY_UNESCAPE() for correctness, check for zero length input string and return an empty string without calling the libcurl APIs in such case. In these libcurl APIs, zero length have the special meaning to call strlen() on the input pointer to determine buffer length. This is safe to do with Harbour string buffers as they are always terminated by a zero byte, but doing this anyways to make the code fully unambigous. Ref: https://curl.se/mail/lib-2016-10/0028.html * contrib/hbcurl/escold.c % convert deprecated CURL_ESCAPE()/CURL_UNESCAPE() to redirectors to CURL_EASY_ESCAPE()/CURL_EASY_UNESCAPE() copying the logic of their low-level libcurl counterparts. 2016-11-21 14:36 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css + add new "Search" button next to each entry. It adds the ability to lookup the function name in Harbour's repository (useful to see actual usage and other context), and also in Harbour's Google Groups, which is useful to find past discussions. + recognize some more keywords (false positive are possible and not tested this time) * tweak code section line height * contrib/hbdoc/hbdoc.prg * tweak -dump output filename 2016-11-21 02:55 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.css + smaller line height for tables to play well with drawing chars + smaller line height for code * contrib/hbdoc/hbdoc.prg * keyword weight updates * src/vm/hashfunc.c % variable/assigment scoping * extras/hbvpdf/core.prg * contrib/hbnf/mouse1.prg * README.md * cleanups 2016-11-19 19:34 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.ch + add upcoming HB_CURL_SSLVERSION_TLSv1_3 macro 2016-11-18 22:50 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * add some TODOs * docs/contribs.md * link to hbtip WARNING.txt * utils/hbmk2/hbmk2.prg % merge two IFs 2016-11-16 21:04 UTC+0100 Viktor Szakats * docs/contribs.md + contrib/hbtip/WARNING.txt + add deprecation warnings for hbtip library for any internet protocol related functionality. 2016-11-16 16:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/hbssl.h * contrib/hbssl/evppkey.c + added new C function void hb_EVP_PKEY_ret( EVP_PKEY * pkey ); * contrib/hbssl/hbssl.hbx * contrib/hbssl/pem.c + added new PRG functions: PEM_READ_PRIVATEKEY() PEM_READ_PUBKEY() * contrib/hbssl/ssl_sock.c ! added missing HB_SOCKET_ERR_TIMEOUT setting in hb_ssl_socketRead() ! fixed cleared to early SSL error code in hb_ssl_socketWrite() * contrib/hbssl/tests/inetssl.prg ! interrupt test program if server thread stops * load server certificates before listen socket is created * src/rdd/dbfnsx/dbfnsx1.c ! code cleanup to pacify warnings in new GCC versions * src/rtl/filesys.c ! check if child's fork() was executed successfully * src/rtl/hbproces.c ! use hb_fsCloseRaw() instead of close() in hb_fsProcessExec() to avoid lost handles when close() operation is interrupted by signal. ! repeat waitpid() calls interrupted by signal 2016-11-15 11:57 UTC+0100 Viktor Szakats * .appveyor.yml * include/hbsetup.h * package/mpkg_win_ci.sh * finalize name for next msvc version 2016-11-15 01:48 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg * extend list of weighted categories * package/mpkg_win_ci.sh * nghttpd 1.16.1 2016-11-14 02:21 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg ! fix to exclude dummy.c as implementation source code 2016-11-14 01:36 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg ! fix regression corrupting content when handling unclosed `_` markups ! fix to handle NOTES section same as DESCRIPTION + improve regexp matching various code-related words inside content (much of the recently added manual tags in core could now possibly be dropped, though it's better to rely on manual markups than such fragile and complex regexps) + improve finding referenced source files + try finding referenced headers inside hbct contrib for ct3 docs * move logo to upper/left corner % favour style `! x $ y` and `! x == y` over `!( x $ y )` and `!( x == y )` * doc/en/hbtoken.txt * doc/en/memo.txt * doc/en/rdddb.txt * doc/en/sayget.txt * use NOTES section ! misc minor fixes 2016-11-12 23:57 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * exclude default component from 'see also' link popup * contrib/hbdoc/hbdoc.css ! fix intermittent discolored menu border CSS artifact * doc/en/inputall.txt * doc/en/set.txt + add markups 2016-11-12 21:50 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg ! fix regression in URLs pointing to std.ch 2016-11-12 19:49 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg * contrib/hbdoc/hbdoc.hbp + link to the exact line in the source code where each function is implemented * doc/en/memvar.txt ! whitespace 2016-11-12 19:11 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg * doc/en/memvar.txt + introduce entry category 'statement' + do not link statements to std.ch 2016-11-12 18:37 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg * contrib/hbdoc/po/hbdoc.en.po * contrib/hbdoc/po/hbdoc.pt_BR.po + for function aliases it will now show the name of the original function and link directly to the target function's source code + enable linking to source code of Harbour implementation for functions documented in Cl*pper docs * src/rdd/Makefile * src/rdd/rddord.prg + src/rdd/rddordc.c * src/rdd/dbstruxu.prg -> src/rdd/dbstruxu.c % move function redirectors to C level. Faster, smaller and lets hbdoc autodetect the fact these are redirected 2016-11-12 15:16 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/po/hbdoc.en.po * contrib/hbdoc/po/hbdoc.pt_BR.po * add ability to link Cl*pper doc entries with Harbour source. (not enabled) 2016-11-12 12:12 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg * improve IDs for entries with `:` or `/` char in their NAMEs 2016-11-11 21:48 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg + add support for new ALIAS field to track shortnames of entries in cl53 docs. It fixes most broken 'see also' links. ! remove now unnecessary extra prefix for runtime error IDs 2016-11-11 18:37 UTC+0100 Viktor Szakats * contrib/hbmisc/doc/en/fileread.txt * contrib/hbnf/doc/en/diskfunc.txt * contrib/hbnf/doc/en/linked.txt * contrib/hbnf/doc/en/popadder.txt * doc/en/command.txt * doc/en/inputall.txt * doc/en/objfunc.txt * doc/en/set.txt * doc/en/terminal.txt ! fix typos in function references 2016-11-11 17:04 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg + prefix NAME of Runtime erros with 'RTE ' so they are gathered next to each other in the TOC and other places 2016-11-11 15:01 UTC+0100 Viktor Szakats * doc/en/math.txt * doc/en/set.txt * tag some constants where auto-detection didn't work well 2016-11-11 14:45 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg + new source file detection method. This one works 100% for existing code, both for contribs and core. It's no longer necessary to match the doc filename with the source filename to make detection work. + link core commands to std.ch as their source file + show the source file as a tooltip when hovering over the 'source code' button 2016-11-11 12:03 UTC+0100 Viktor Szakats * doc/en/file.txt * doc/en/hvm.txt * doc/en/string.txt + doc/en/dirdrive.txt + doc/en/proc.txt + doc/en/typefile.txt * move more docs to filenames that match their source code * package/mpkg_win_dl.sh * disable MSYS2 icu component for now. This results in worse test coverage but more practical snapshot binaries. Ref: https://github.com/vszakats/hb/issues/228 https://github.com/vszakats/hb/issues/254 2016-11-11 11:09 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * openssl 1.1.0c 2016-11-11 02:37 UTC+0100 Viktor Szakats * contrib/hbnf/hbnf.hbp * contrib/hbnf/hbnf.hbx + contrib/hbnf/onidle.prg + contrib/hbnf/doc/en/onidle.txt + add ft_OnIdle() function * contrib/hbdoc/_genhtml.prg + sort 'see also' items alphabetically * contrib/hbct/doc/en/pos2.txt * contrib/hbgd/doc/en/gdwrp.txt * contrib/hbmisc/doc/en/dates.txt * contrib/hbmisc/doc/en/fileread.txt * doc/en/command.txt * doc/en/hashfunc.txt * doc/en/tclass.txt ! fix broken 'see also' links 2016-11-10 23:04 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/po/hbdoc.en.po * contrib/hbdoc/po/hbdoc.pt_BR.po + show language in link tooltips where different from self 2016-11-10 22:08 UTC+0100 Viktor Szakats * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * contrib/hbct/doc/en/*.txt * contrib/hbgd/doc/en/gdwrp.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbmisc/doc/en/*.txt * contrib/hbnf/doc/en/*.txt * contrib/hbziparc/doc/en/ziparc.txt * doc/en/*.txt ! fix to never use `<>` tags for _return values_. This is how the larger portion of existing docs is formatted, including Cl*pper docs. It's not consistent with the rest of the docs, but it looks cleaner. 2016-11-10 21:46 UTC+0100 Viktor Szakats * contrib/gtwvw/doc/en/gtwvw.txt ! remove more non-ASCII chars * contrib/hbdoc/hbdoc.prg ! fix to not translate empty strings 2016-11-10 21:40 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/po/hbdoc.en.po * contrib/hbdoc/po/hbdoc.pt_BR.po ! fix minor regression in finding flag icons ! make a missed string translatable 2016-11-10 21:27 UTC+0100 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg + add ability to link to references accross languages. If an autolinked or 'see also' item cannot be found in native language, it will link to the English version, if that one exists ! fix title attribute for 'see also' links leading to other components 2016-11-10 20:19 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg + add popup for all 'see also' item which have alternate documentation available, e.g. both in harbour and original Cl*pper docs. 2016-11-10 19:11 UTC+0100 Viktor Szakats * doc/en/browse.txt * include/harbour.hbx * src/harbour.def * src/rdd/dbcmd.c + add FIELD() function as an alias to FIELDNAME() for Cl*pper compatibility 2016-11-10 19:00 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg ! skip converting entry self-references into links 2016-11-10 18:18 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg + add tooltip with the target component for non-self links * contrib/hbdoc/hbdoc.css ! fix font face of non-code entries in sidebar 2016-11-10 18:01 UTC+0100 Viktor Szakats * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * contrib/hbgd/doc/en/gdwrp.txt * contrib/hbmisc/doc/en/dates.txt * contrib/rddads/doc/en/adsfunc.txt * doc/en/ati.txt * doc/en/browse.txt * doc/en/inputall.txt * doc/en/string.txt * tag more variable names in text 2016-11-10 17:46 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/po/hbdoc.en.po * contrib/hbdoc/po/hbdoc.pt_BR.po * cleanup entry buttons: - use icons for top/index - drop 'title's fo source code and edit buttons - convert title itself to a permalink to self, drop separate permalink button 2016-11-10 17:02 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg + sync formatting of entry names in TOC with the one in entries + format entry names with PP directives as code ! tone down content substitutions in TOC entries. This fixes `--` operator converted to an mdash previously. * do not do link detection in NAME sections 2016-11-10 14:14 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg + replace 'see also' and autodetected reference resolution logic to work accross components and to first link to self, then to higher-level components. * exclude C functions from link resolution * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * tag all variable names ! fix non-ASCII characters 2016-11-10 12:20 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg * contrib/hbdoc/po/hbdoc.en.po + generalize the concept of "contrib" to "lib" + prepare to keep track of the "area" where a "lib" (component) came from 2016-11-10 11:17 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg ! fix generated anchors in certain places + add global coverage stats (currently at ~21%) + internally track doc items that are defined in multiple places (e.g. in hbct and clct3, or harbour-core and cl53) + convert NAME entries to "canonical" form by dropping any '*' (="obsolete") suffix markers + recognize '=' operators as such ! count _classes_ in the doc coverage value % minor optimizations * contrib/hbxpp/doc/en/binnumx.txt * doc/en/binnum.txt ! move doc entry to its proper component 2016-11-09 20:50 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg + improve IDs generated from $NAME$ content ! fix to not convert `--` operator to emdash in $NAME$ section - contrib/hbnf/doc/en/setkeys.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * doc/en/idle.txt * doc/en/math.txt * doc/en/set.txt * doc/en/subcodes.txt ! fix duplicate entries ! fix TEMPLATE name for C functions 2016-11-09 15:56 UTC+0100 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg % don't call git for every output document ! fix to not recognize `<>` as a tagged element * improve id generation logic 2016-11-09 15:11 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg * more cleanups 2016-11-09 12:35 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg * cleanups 2016-11-09 03:29 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg + remove unnecessary EOLs from certain sections % use Chr( 10 ) as EOL internally 2016-11-09 03:00 UTC+0100 Viktor Szakats * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * move copyright to a new entry * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css ! fix regression to wrap long, single-line SYNTAX sections * contrib/hbdoc/hbdoc.prg ! fix to silently ignore AUTHOR section * doc/en/string.txt ! fix missing section header after prev commit * src/rtl/hbdoc.prg ! fix NFDOC parse to return error instead of RTE in certain cases when a stray line is present in the input. 2016-11-09 02:21 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg ! count 'procedure' docs to functions for stats - doc/en/rdd.txt * contrib/hbxpp/doc/en/binnumx.txt * contrib/hbxpp/doc/en/dbcmdx.txt * doc/en/1stread.txt * doc/en/arrayshb.txt * doc/en/binnum.txt * doc/en/browse.txt * doc/en/command.txt * doc/en/datetime.txt * doc/en/dbdelim.txt * doc/en/dbsdf.txt * doc/en/dbstrux.txt * doc/en/dir.txt * doc/en/diskspac.txt * doc/en/errsys.txt * doc/en/evalhb.txt * doc/en/file.txt * doc/en/gx.txt * doc/en/hbinet.txt * doc/en/hvm.txt * doc/en/inputall.txt * doc/en/langall.txt * doc/en/math.txt * doc/en/memo.txt * doc/en/menu.txt * doc/en/misc.txt * doc/en/natmsg.txt * doc/en/objfunc.txt * doc/en/rdddb.txt * doc/en/rddmisc.txt * doc/en/rddord.txt * doc/en/readvar.txt * doc/en/set.txt * doc/en/string.txt * doc/en/tclass.txt * doc/en/terminal.txt * doc/en/tlabel.txt * doc/en/treport.txt * doc/en/var.txt + doc/en/ati.txt + doc/en/hbtoken.txt + doc/en/left.txt + doc/en/strtran.txt + doc/en/transfrm.txt * doc/en/hashes.txt -> doc/en/hashfunc.txt + move docs into filenames matching their source filenames (to enable 'source code' button for them) * move top copyrights into each separate NFDOC entry, under a new $AUTHOR$ section. This makes it much easier to juggle the entries and allows to process these files with scripts. 2016-11-09 00:13 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg + show coverage stats for each components (based on number of covered _functions_) * ID generation improvements * TOC sorting tweaks for Cl*pper doc + show number of entries found separately for languages * contrib/hbdoc/hbdoc.css * use full width for tables 2016-11-08 20:53 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg ! automatically close HTML tag for unclosed <table>s ! HTML 'id' generation improvements ! fix an unclosed tag when generating Cl*pper docs 2016-11-08 01:47 UTC+0100 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg * contrib/hbdoc/po/hbdoc.en.po * contrib/hbdoc/po/hbdoc.pt_BR.po + add ability to process Clipper documentation (converted to source from .ng, then converted to NFDOC using a custom-made script) + tweaks after processing Clipper documentation - drop autoconversion of '->' string to right arrow - support NOTES section - tone down backslash escaping - new category weights - recognize Clipper docs by their intrinsic names - lowercase filenames before linking to them - hide 'improve this doc' button for Clipper docs ; FIXME: duplicate entries for functions documented in both Harbour core and Clipper docs. [DONE] ; Docs here: https://harbour.github.io/doc/cl53.html https://harbour.github.io/doc/clct3.html * src/rtl/hbdoc.prg ! fix to not mistake a single '$' character in an entry as a wrong section header * contrib/hbct/ctmisc.prg * contrib/hbct/dummy.c * contrib/hbct/hbct.hbx + implement CPUTYPE() and PCTYPE() as compatibility stubs * contrib/hbct/doc/en/*.txt * contrib/hbnf/doc/en/*.txt * contrib/rddads/doc/en/adsfunc.txt * doc/en/arrayshb.txt * doc/en/hbinet.txt ! '->' -> '-->' 2016-11-07 19:30 UTC+0100 Viktor Szakats * contrib/hbdoc/po/hbdoc.pt_BR.po * updated from Transifex. Thanks SAMI for the updates. * contrib/hbct/doc/en/datetime.txt * contrib/hbct/doc/en/dattime2.txt * doc cleanups * config/lang.hb * utils/hbmk2/hbmk2.prg * code cleanups 2016-11-07 15:01 UTC+0100 Viktor Szakats * contrib/hbzebra/datamtrx.c * URL update 2016-11-07 14:30 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.css + adjust output for printing. It means that printing the pages from a browser will result in usable PDF output. (No need to implement it directly in hbdoc.) * contrib/hbdoc/hbdoc.css * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/po/hbdoc.en.po * internal cleanups 2016-11-06 14:04 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg ! fix to translate abbreviated content in doc processing phase 2016-11-06 13:45 UTC+0100 Viktor Szakats * config/lang.hb * contrib/hbdoc/hbdoc.hbp * contrib/hbdoc/po/hbdoc.pt_BR.po * add option to disable regeneration of .pot. The lang.hb regen logic only works for single-prg projects, and hbdoc does it's own .pot generation on each build. ! restore two more translations 2016-11-06 13:18 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/po/hbdoc.en.po * contrib/hbdoc/po/hbdoc.pt_BR.po + add 'Permalink' button for each entry + add icon representation for all entry buttons as tooltip ! restore some translations * contrib/hbct/doc/en/*.txt * contrib/hbnf/doc/en/*.txt + add tags 2016-11-06 00:41 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg * contrib/hbdoc/po/hbdoc.pt_BR.po * keep section name in sync with Cl*pper docs 2016-11-05 22:48 UTC+0100 Viktor Szakats * contrib/hbdoc/po/hbdoc.pt_BR.po + update translation (now 100%). Using Google Translate. It can be reviewed (and corrected) here: https://www.transifex.com/harbour/harbour/translate/#pt_BR/hbdoc/100409468?reviewed=no 2016-11-05 22:35 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.hbp * play well with config/lang.hb 2016-11-05 22:18 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.hbp * contrib/hbdoc/hbdoc.prg * contrib/hbdoc/hbdoc.en.po -> contrib/hbdoc/po/hbdoc.en.po * contrib/hbdoc/hbdoc.pt_BR.po -> contrib/hbdoc/po/hbdoc.pt_BR.po * move .po files under po subdir 2016-11-05 21:04 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.en.po * utils/hbmk2/hbmk2.prg + sort output .pot file when using -minipo option. This avoids unwanted, dummy .po updates caused by item order changing randomly on each build. 2016-11-05 20:55 UTC+0100 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.en.po * contrib/hbdoc/hbdoc.hbp ! fix page title ignoring output language % generate minimal hbdoc.en.po 2016-11-05 20:42 UTC+0100 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.hbp * contrib/hbdoc/hbdoc.prg + contrib/hbdoc/hbdoc.en.po + contrib/hbdoc/hbdoc.pt_BR.po + add support for translating internal strings for non-English outputs + add pt-BR translation for some simpler strings ! fix FILES section to display each entries in separate lines + add plural/singular support for FILES section name * contrib/rddads/doc/en/adsfunc.txt * doc/en/tbrowse.txt * cleanups 2016-11-05 17:04 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.css ! fix d-sy/pre left margin regression * contrib/hbct/doc/en/charlihb.txt * contrib/hbct/doc/en/charsort.txt * contrib/hbct/doc/en/strdiff.txt * contrib/hbct/doc/en/token1.txt * contrib/hbct/doc/en/trig.txt * doc/en/file.txt * add markups 2016-11-05 16:38 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * fix regression in SYNTAX section CSS * contrib/hbct/doc/en/ctstr.txt * contrib/hbct/doc/en/tab.txt * contrib/hbct/doc/en/token1.txt * contrib/hbct/doc/en/token2.txt * contrib/hbnf/doc/en/fttext.txt * contrib/hbnf/doc/en/putkey.txt * contrib/hbnf/doc/en/scancode.txt * contrib/hbnf/doc/en/tbwhile.txt * contrib/hbnf/doc/en/wda.txt * contrib/rddads/doc/en/adsfunc.txt * doc/en/command.txt * doc/en/compiler.txt * doc/en/file.txt * doc/en/hbflock.txt * doc/en/objfunc.txt * doc/en/rdddb.txt * doc/en/rddmisc.txt * doc/en/sayget.txt * doc/en/set.txt * doc/en/string.txt * add markups ! fixes 2016-11-05 14:06 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg + add syntax highlighing to embedded code sections, examples and tests (requires JavaScript) Since Harbour/xBase is almost nowhere supported unless contributing a parser, C rules are used, which give usable results for Harbour code. If you feel like contributing one for Harbour, here's the place to do it: https://github.com/PrismJS/prism/tree/gh-pages/components Parser rules for the Atom editor (for comparison): https://github.com/hernad/atom-language-harbour/blob/master/grammars/harbour.cson + avoid using generic plural '(s)' in section headers + add ability to specify plural and singular forms of section headers, currently used in 'tags' section where plural is clearly detectable * always use <code> tag inside <pre> for code content ! fix `__` character pair parsing regression * contrib/hbnf/doc/en/aredit.txt * contrib/hbnf/doc/en/menutonf.txt * doc/en/compiler.txt * doc/en/harbext.txt * doc/en/hvm.txt * doc/en/rdddb.txt * doc/en/tclass.txt * doc/en/var.txt * doc cleanups * src/debug/dbgtinp.prg * casing 2016-11-04 17:15 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_15_1.html 2016-11-04 12:22 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * fix tapping on the menu on mobile (iOS/Safari) + enable sticky page header on mobile as well * auto-keyword tweaks * add FIXME about ATM not Markdown compatible strong/em markup * contrib/hbnf/dhkey.h * contrib/hbnf/doc/en/*.txt * doc/en/rdddb.txt * doc/en/rddmisc.txt * doc/en/set.txt * doc cleanups, mostly markup 2016-11-04 01:30 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css 2016-11-03 18:10 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.css ! minor color transition fix * doc/en/objfunc.txt * doc/en/rdddb.txt * example code cleanup 2016-11-03 15:56 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg + attribution in footer * contrib/hbdoc/hbdoc.css * sidebar selection color * cleanups * contrib/hbnf/doc/en/ftattr.txt * doc/en/dbstrux.txt * doc/en/hashes.txt * doc/en/var.txt ! cleanups/fixes 2016-11-03 14:01 UTC+0100 Viktor Szakats - doc/en/hb_set.txt * doc/en/set.txt * doc/en/array.txt -> doc/en/arrayshb.txt * doc/en/eval.txt -> doc/en/evalhb.txt * doc/en/input.txt -> doc/en/inputall.txt * doc/en/lang.txt -> doc/en/langall.txt * doc/en/nation.txt -> doc/en/natmsg.txt * doc/en/setmode.txt -> doc/en/gx.txt * doc/en/tgetlist.txt -> doc/en/readvar.txt * rename more to match source filenames 2016-11-03 13:48 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css + automatically detect source code filename and link to it. Doc source filename must match the source filename (without path and extension) for this to work. * contrib/hbdoc/hbdoc.css * style tweak for inline code * contrib/hbct/doc/en/dattime2.txt * contrib/hbnf/doc/en/*.txt * doc/en/array.txt * doc/en/dbstrux.txt * cleanups * contrib/hbgd/doc/en/hbgd.txt -> contrib/hbgd/doc/en/gdwrp.txt * contrib/hbmisc/doc/en/dates2.txt -> contrib/hbmisc/doc/en/dates.txt * contrib/hbmisc/doc/en/ht_class.txt -> contrib/hbmisc/doc/en/fileread.txt * contrib/hbmisc/doc/en/ht_conv.txt -> contrib/hbmisc/doc/en/nconvert.txt * contrib/hbxpp/doc/en/browse.txt -> contrib/hbxpp/doc/en/dbcmdx.txt * contrib/hbziparc/doc/en/hbziparc.txt -> contrib/hbziparc/doc/en/ziparc.txt * contrib/rddads/doc/en/adsfuncs.txt -> contrib/rddads/doc/en/adsfunc.txt * contrib/hbmisc/doc/en/ht_str.txt -> contrib/hbmisc/doc/en/strfmt.txt * rename to match original source code filename, to allow detecting them. 2016-11-03 12:09 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg % internal cleanups * contrib/hbct/doc/en/*.txt * contrib/hbgd/doc/en/hbgd.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbmisc/doc/en/dates2.txt * contrib/hbmisc/doc/en/ht_class.txt * contrib/hbmisc/doc/en/ht_str.txt * contrib/hbnf/doc/en/kspeed.txt * contrib/hbziparc/doc/en/hbziparc.txt * contrib/rddads/doc/en/adsfuncs.txt * doc/en/file.txt * doc/en/garbage.txt * doc/en/hbinet.txt * doc/en/input.txt * doc/en/misc.txt * doc/en/nation.txt * cleanups status fields 2016-11-03 03:28 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg + recognize if a component exists in a non-English version and link to it directly instead of linking to the index (gtwvw) * contrib/hbdoc/hbdoc.prg * comment * doc/en/lang.txt * markup 2016-11-03 03:09 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg * restructured internals to correctly support multiple languages in a single pass ! fix time elapsed to show decimals 2016-11-03 01:59 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.prg + process every doc language by default. Allow to override via command-line option. 2016-11-03 01:57 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg ! keyword adjustment * contrib/hbdoc/hbdoc.css * minor sidebar cursor color tweak * contrib/hbct/doc/en/ctc.txt * contrib/hbct/doc/en/dattime2.txt * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/doc/en/exponent.txt * contrib/hbct/doc/en/misc1.txt * contrib/hbct/doc/en/num1.txt * contrib/hbct/doc/en/token1.txt * contrib/hbct/doc/en/trig.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbmisc/doc/en/dates2.txt * contrib/hbmisc/doc/en/ht_class.txt * contrib/hbziparc/doc/en/hbziparc.txt * markup improvements 2016-11-02 20:47 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg ! keyword adjustment * contrib/hbdoc/hbdoc.css ! fix sidebar sizing to be hack-free * contrib/hbmisc/doc/en/ht_class.txt * doc/en/array.txt * doc/en/datetime.txt * doc/en/dbdelim.txt * doc/en/hbinet.txt * doc/en/rdddb.txt * doc/en/sayget.txt * doc/en/tbrowse.txt * doc/en/terminal.txt * doc/en/tlabel.txt * doc/en/treport.txt * doc/en/var.txt * markup improvements 2016-11-02 17:34 UTC+0100 Viktor Szakats * contrib/hbmisc/doc/en/dates2.txt * contrib/hbmisc/doc/en/ht_class.txt * doc/en/dbstrux.txt * doc/en/input.txt * doc/en/lang.txt * doc/en/menu.txt * doc/en/objfunc.txt * doc/en/set.txt * doc/en/string.txt * doc/en/tbrowse.txt * doc/en/var.txt * table cleanups 2016-11-02 17:12 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg ! fix to not remove 'proc main' if it accepts parameters + find core header references from contrib docs, too % remove support for `</par>` marker, it's no longer needed. * contrib/hbmisc/doc/en/ht_class.txt * contrib/hbmisc/doc/en/ht_str.txt + markup improvements % remove/replace remaining `</par>` markers. It's enough to add an empty line to mark the start of a new paragraph. 2016-11-02 16:12 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * tweak margins, visuals and autodetect keywords * contrib/hbgt/doc/en/hbgt.txt * contrib/rddads/doc/en/adsfuncs.txt * doc/en/browse.txt * doc/en/compiler.txt * doc/en/garbage.txt * doc/en/harbext.txt * doc/en/input.txt * doc/en/macro.txt * doc/en/menu.txt * doc/en/nation.txt * doc/en/terminal.txt + markup improvements 2016-11-02 11:16 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg + sticky page header + independently scrollable sidebar/index + autodetect file references inside code sections (like examples) + recognize few more keywords + add `alt` attributes to recently added img tags + sort PLATFORM section values % use short component names in the manu * make index TOC text clearer * contrast/spacing tweaks for readability * rewrite old logic to not use recursive calls (+ fix to not include hbdoc error message in output documents) * contrib/hbgd/doc/en/hbgd.txt * contrib/hbnf/doc/en/blink.txt * contrib/hbnf/doc/en/menutonf.txt * contrib/hbnf/doc/en/netpv.txt * contrib/hbnf/doc/en/video1.txt * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * doc/en/binnum.txt * doc/en/command.txt * doc/en/dbstrux.txt * doc/en/file.txt * doc/en/hvm.txt * doc/en/macro.txt * doc/en/math.txt * doc/en/menu.txt * doc/en/objfunc.txt * doc/en/rddmisc.txt * doc/en/rddord.txt * doc/en/sayget.txt * doc/en/set.txt * doc/en/tclass.txt * doc/en/tlabel.txt * doc/en/treport.txt * doc/en/var.txt + add markups, other improvements 2016-11-02 11:05 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * curl 7.51.0 2016-10-31 16:33 UTC+0100 emazv72 (emanuele.zavallone gmail.com) * contrib/hbformat/hbfmtcls.prg * contrib/hbformat/utils/hbformat.ini + support additional indent keywords 2016-11-01 21:03 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.css ! fix mobile view after adding logo and language menu 2016-11-01 20:28 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css + docs/images/harbour-nofill.svg + add Harbour logo to header 2016-11-01 20:06 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg + add heuristics to remove PROCEDURE Main()/RETURN enclusure from EXAMPLE/TEST sections to fit more of the essence on the screen. ! dial down autodetection of 'BS' key * contrib/hbziparc/doc/en/hbziparc.txt * doc/en/hvm.txt * cleanups, markups 2016-11-01 18:51 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg % share hbdoc.css between languages 2016-11-01 18:47 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * refine URL for switching between languages 2016-11-01 18:27 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg + docs/images/flag-gb.svg + add support for language selection menu Current it's hbdoc user's responsibility to generate HTML output for each additional (currently: pt-br) language using: hbdoc -lang=pt-pr ! minor alignment regression after adjusting content width 2016-11-01 15:42 UTC+0100 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/hbdoc.prg * non-English output now goes into a subdir ! fix to copy CSS to selected language subdir ; Experimental Portuguese (Brazilian) docs uploaded here: https://harbour.github.io/doc/pt-br/ (it covers gtwvw at the moment) * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt + add markups 2016-11-01 14:14 UTC+0100 Viktor Szakats * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg * automatically remove base indentation of <fixes> and MD code fence blocks * round up content width, matching similar change on the main website * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * doc/en/tbrowse.txt * markups, fixes 2016-11-01 12:27 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg + improve autodetection of keyboard keys, repository filenames and symbols + link not just to headers but other file types as well * contrib/hbdoc/hbdoc.css ! add hack to fix code inside code tag * doc/en/1stread.txt * doc/en/array.txt * doc/en/browse.txt * doc/en/compiler.txt * doc/en/garbage.txt * doc/en/harbext.txt * doc/en/input.txt * doc/en/menu.txt * doc/en/set.txt * doc/en/terminal.txt ! various markup and content fixes/improvements 2016-11-01 03:33 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg ! fix autodetect feature for headers in certain cases + extend filename autodetect to detect other filetypes to format them accordingly + add autodetect feature for full uppercase words/identifiers + autodetect certain keyboard keys when enclosed inside <> in the doc source * do not do autodetect in the ONELINER section (it's not overly useful there) ! fix an issue when mixing <> and `` markups * contrib/hbnf/doc/en/blink.txt * contrib/hbnf/doc/en/dispc.txt * contrib/hbnf/doc/en/popadder.txt * doc/en/input.txt * doc/en/menu.txt * doc/en/objfunc.txt * doc/en/set.txt * doc/en/tgetlist.txt * syntax consistency * add markup ! fixes 2016-10-31 20:34 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg + implement SEEALSO links accross components (f.e DoY() in hbmisc) + autodetect function references inside doc text and convert them to links (also accross components) and display them as code + autodetect header file references and convert the to links to the GitHub repository matching the revision of the doc + convert `--` to emdash ! refine the way .T. and .F. are detected ! avoid wrap inside tables * utils/hbmk2/hbmk2.prg + `-sanitize` option will now also: - remove line-ending whitespaces - remove BOM - remove duplicate file-ending EOLs - add file-ending EOL if missing * contrib/hbmisc/doc/en/dates2.txt * contrib/hbmisc/doc/en/ht_conv.txt * contrib/hbnf/doc/en/vertmenu.txt * contrib/rddads/doc/en/readme.txt * doc/en/array.txt * doc/en/var.txt ! various minor doc fixes 2016-10-31 12:04 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg ! redo HTML for main index * improve presentation of SYNTAX segment, inline code and code sections * various minor CSS tweaks + add trick to display overflown text in TOC section (EXPERIMENTAL) * recognize Harbour boolean values and variable names delimited by `<>` to present them as code (EXPERIMENTAL). Can be removed once these are explicitly marked as code in the doc sources. * steer CSS for a future header pinned to the top (not yet enabled) * contrib/hbziparc/doc/en/hbziparc.txt * doc/en/command.txt * doc/en/compiler.txt * doc/en/dbstrux.txt * doc/en/idle.txt * doc/en/subcodes.txt ! assorted fixes 2016-10-30 11:30 UTC+0100 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg ! fix multiline content for SYNTAX section * TOC to use full-width selection bar + TOC tooltips + TOC visited links with alternate color ! fix tag order for index section headers ! fix HTML validation issue with index subsection headers * CSS cleanups * link hover and inline code styling + add CSS class for keyboard keys (not used yet) ! CSS page header fix for mobile screens * contrib/hbnf/doc/en/mouse1.txt * contrib/hbnf/doc/en/sleep.txt ! minor fixes 2016-10-29 21:43 UTC+0200 Viktor Szakats * contrib/hbdoc/hbdoc.css ! mobile fixes 2016-10-29 21:33 UTC+0200 Viktor Szakats * contrib/hbdoc/hbdoc.css ! fix menu positioning on mobile screens 2016-10-29 21:18 UTC+0200 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg ! fix HTML validation issues in generated index.html 2016-10-29 20:45 UTC+0200 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg + finalize menu + move index TOC to sidebar * CSS cleanups * header title is now a link to the main index 2016-10-29 17:03 UTC+0200 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css + add prototype for a menu to jump between components 2016-10-29 14:17 UTC+0200 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.css * contrib/hbdoc/hbdoc.prg + add per-component TOC ! fix slightly off ordering (old problem) ! fix line-ending whitespace in text output * doc/en/tbrowse.txt ! add missing $NAME$, remove duplicate $SYNTAX$ 2016-10-29 03:39 UTC+0200 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/_gentxt.prg * contrib/hbdoc/hbdoc.prg ! fixes to non-html outputs * other minor fixes and cleanups * package/mpkg_win.sh * remove debug traces ; From now on snapshot packages contain compiled documentation in HTML format inside the 'manual' directory. 2016-10-29 03:08 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh ! try setting output directory for hbdoc * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg * use hb_StrFormat() + show error if saving files fail 2016-10-29 02:14 UTC+0200 Viktor Szakats * package/mpkg_win.sh * trace * contrib/gtwvw/doc/en/gtwvw.txt * contrib/hbct/doc/en/finan.txt * contrib/hbct/doc/en/token2.txt * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbxpp/doc/en/binnumx.txt * doc/en/binnum.txt * doc/en/file.txt * doc/en/lang.txt * doc/en/terminal.txt * fixes/cleanups 2016-10-29 01:07 UTC+0200 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * build the complete output path - do not bother setting timestamp for the dir itself * package/mpkg_win.sh * fail silently if manual was not built for whatever reason (e.g. hbdoc not built). Always create the 'manual' directory though to not disturb the archiver with a missing directory. % minor shell script cleanup * package/mpkg_win_ci.sh ! delete duplicate debug settings 2016-10-28 22:56 UTC+0200 Viktor Szakats * contrib/hbdoc/hbdoc.prg * cleanups ! convert passed directories to OS-native format * package/mpkg_win.sh + include generated html documentation in binary package under the 'manual' directory 2016-10-28 19:05 UTC+0200 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg + add support for optional reproducible output (requires Harbour 3.4) * package/mpkg_win_ci.sh + enable reproducible hbdoc output + try setting output directory 2016-10-28 18:25 UTC+0200 Viktor Szakats * contrib/hbdoc/_genbase.prg * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/_gentxt.prg * contrib/hbdoc/_genxml.prg * contrib/hbdoc/hbdoc.prg * rename 'entry' variable, now a hash 2016-10-28 18:16 UTC+0200 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/_gentxt.prg * contrib/hbdoc/_genxml.prg * contrib/hbdoc/hbdoc.prg % simplify by replacing a class/object with a simple hash 2016-10-28 15:31 UTC+0200 Viktor Szakats * contrib/hbdoc/_genhtml.prg * contrib/hbdoc/hbdoc.prg + add option to control verbosity + add option to control output directory + autodetect project root as input directory + update/fix help screen + cleanup stdout output * package/mpkg_win_ci.sh * set verbosity * contrib/hbnf/doc/en/cint86.txt * contrib/hbnf/doc/en/menutonf.txt * contrib/hbnf/doc/en/popadder.txt * contrib/hbnf/doc/en/sqzn.txt * doc/en/tbrowse.txt ! fix errors detected by hbdoc 2016-10-28 14:11 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.css -> contrib/hbdoc/hbdoc.css * extras/hbdoc/_genbase.prg -> contrib/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg -> contrib/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg -> contrib/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg -> contrib/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.hbp -> contrib/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg -> contrib/hbdoc/hbdoc.prg * move hbdoc to contirb area * enable -kmo optimization also for script mode * adapt build file for contrib env * package/mpkg_win_ci.sh + enable building hbdoc + run hbdoc after the build 2016-10-28 12:32 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * remove 3.2 compatibility guard * extras/hbdoc/hbdoc.css ! fix header for mobile screen size * extras/hbdoc/hbdoc.prg * generalize a value in help output * include/hbver.ch * update copyright year 2016-10-28 03:55 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.prg ! fix forming edit links after prev commit 2016-10-28 03:40 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.prg + show progress indicator + set exec flag and add shebang to easily run as script + use core doc API to display NFDOC templates (using '-h templates' option) * code cleanups % remove dead code 2016-10-28 02:06 UTC+0200 Viktor Szakats * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css * extras/hbdoc/hbdoc.prg + narrower layout for better text readability * code cleanups * CSS cleanups * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * doc cleanups 2016-10-27 19:26 UTC+0200 Viktor Szakats * contrib/rddads/doc/en/readme.txt * doc/en/terminal.txt * docs/contribs.md * URL updates * extras/hbdoc/hbdoc.prg * disable debug JSON generation 2016-10-27 18:40 UTC+0200 Viktor Szakats * doc/en/1stread.txt * extras/hbdoc/_genhtml.prg + markup parsing tweaks + recognize '<http..>' and not require <URL:...> style anymore 2016-10-27 18:22 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.prg ! keeping stripping empty lines for tables though 2016-10-27 18:17 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.prg ! fix handling Markdown code-fence ! fix to drop empty lines in preformatted sections * contrib/rddads/doc/en/readme.txt * format output * contrib/rddads/ads1.c * use #if 0 2016-10-27 14:57 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.prg % build category/component tree for easier indexing and better overview (not used at the moment) 2016-10-27 14:36 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg % make html output the default, so it's now enough to run hbdoc without any option to get a meaningful output 2016-10-27 14:28 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css + add 'go to top' and 'go to index' buttons for each entry ! fix 'see also' link casing after a recent regression * extras/hbdoc/hbdoc.prg * remove all TODOs (either implement or not relevant anymore) % remove per-category output % remove 'include-doc-source' option, linking to online source instead through the edit button % replace one remaining set of arrays and AScan() with hashes 2016-10-27 12:14 UTC+0200 Viktor Szakats * doc/en/subcodes.txt ! fix function name * extras/hbdoc/_genhtml.prg % smaller HTML output for single line content 2016-10-27 03:59 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.prg * minor text tweaks 2016-10-27 03:02 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css * CSS visual tweaks 2016-10-27 02:17 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css * extras/hbdoc/hbdoc.prg + generate TOC to the single-file index (done, but not enabled for the category level) + add 'Improve this doc' edit button to each entry + generate anchors for all categories and subcategories + display running time * anchor ID generation tweaks ; the non-single output modes might be broken, though in practice it'd be better to dynamically filter for specific tags then generate multiple pre-grouped versions of the doc, so these may be removed in a subsequent update. * extras/hbdoc/hbdoc.prg * contrib/hbtpathy/telepath.prg * contrib/xhb/xdbmodst.prg * src/rtl/treport.prg ! fix typos * doc/en/1stread.txt * contrib/hbct/doc/en/color.txt * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/doc/en/justify.txt * contrib/hbct/doc/en/screen1.txt * contrib/hbct/doc/en/video.txt * contrib/hbgd/doc/en/hbgd.txt * contrib/hbmisc/doc/en/ht_class.txt * category (and some other minor) cleanups 2016-10-26 17:18 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg ! fix wrongly generated reference * extras/hbdoc/hbdoc.prg + modified 'single' output to create single HTML for each component (core + each contrib) 2016-10-26 17:03 UTC+0200 Viktor Szakats * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.css * extras/hbdoc/hbdoc.prg + generate index for single file output + rework generated index HTML to be readable, CSS-friendly, linkable by adding anchors, grouped by category/subcategory * minor internal cleanups * contrib/rddads/doc/en/adsfuncs.txt * doc/en/idle.txt ! fixes/cleanups 2016-10-26 14:19 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg % use SWITCH 2016-10-26 12:43 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.css * spacing adjustments 2016-10-26 12:34 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css + improve readability by paragraphs spacing in DESCRIPTION sections 2016-10-26 12:20 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css * extras/hbdoc/hbdoc.prg + improve divs in section content for better control via CSS + improve readability of tables with borders and header hightlights * contrib/rddads/doc/en/adsfuncs.txt * doc/en/input.txt * doc/en/rdddb.txt * doc/en/sayget.txt * doc/en/set.txt * doc/en/setmode.txt * doc/en/string.txt + mark tables without a header or with double height header 2016-10-26 03:21 UTC+0200 Viktor Szakats * contrib/rddads/doc/en/adsfuncs.txt ! typo in closing tag * extras/hbdoc/hbdoc.prg * cleanups 2016-10-26 02:47 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.css * extras/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg * further code cleanups * change default output to single-file + add support for the old <table>/<fixed> tags in html output until they are converted to something better + add support for <b>/<b>, <URL:url>, Markdown `inline code`, _emphasis_, *bold*, character escaping \*, line separators ===/---, and fenced code using triple backticks. Very limited and not with standard compliance or completeness in mind, just to be able to use some basic formatting. ; TODO: Markdown URL and lists, then replace all <b>,<URL>,<fixed> markup with Markdown equivalents in docs * doc/en/1stread.txt * doc/en/hashes.txt * doc/en/rddord.txt ! fix a typo * use backtick * replace code copyright with reference to COPYING.txt (=LICENSE.txt) 2016-10-25 16:08 UTC+0200 Viktor Szakats * contrib/sddoci/tests/test1.prg * contrib/sddodbc/tests/test1.prg * contrib/sddodbc/tests/test2.prg * contrib/sddsqlt3/tests/test.prg ! fix to #include `dbinfo.ch` after commit 2016-08-10 20:12 UTC+0300 Mindaugas Kavaliauskas to find necessary constant migrated from local header * extras/hbdoc/_genhtml.prg % simplify 2016-10-25 15:05 UTC+0200 Viktor Szakats * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg % assemble output in memory and write to disk in a single call 2016-10-25 14:51 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.prg * more code cleanups 2016-10-25 14:30 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.prg * code cleanups 2016-10-25 14:09 UTC+0200 Viktor Szakats * .github/ISSUE_TEMPLATE.md * wording cleanups 2016-10-25 13:19 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.prg % replace self-modifying class and macro expansion with regular hashes 2016-10-25 12:35 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.prg % replace more internal array with hashes 2016-10-25 11:47 UTC+0200 Viktor Szakats - extras/hbdoc/hbdoc.ch * extras/hbdoc/hbdoc.prg % integrate external header 2016-10-25 10:41 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * libssh2 1.8.0 2016-10-25 03:47 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.16.0 2016-10-25 02:48 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.prg % replace arrays with hashes % internal cleanups % switch to simpler method for sort weighting + merge category/subcategory values into tag list. It means they will be now be included in the output % cleanup/fix/simplify value expansions for 'compliance', 'status' and 'platform' fields * doc/en/1stread.txt * doc/en/array.txt * doc/en/dir.txt * doc/en/diskspac.txt * doc/en/menu.txt * doc/en/setmode.txt * doc/en/terminal.txt ! eliminate/fix various rare/unnecessary/invalid field values ! move some embedded docs from hbdoc into their respective doc sources 2016-10-24 22:26 UTC+0200 Viktor Szakats * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.prg + better localization support * restore ASCII output + HTML header tweaks 2016-10-24 18:35 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css + include Git revision the doc is based on, link to the relevant source tree version. 2016-10-24 17:58 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.prg + add support for one file per component output via -output-component command-line option % cleanup the way output engines are handles internally + add support for 'TAGS' entry to replace/extend the rigid and ambiguous CATEGORY/SUBCATEGORY-based categorization. It is meant to be a comma-separated list of freeform tags, possibly with a set of standard common tags, with the freedom to use anything else deemed useful by component/doc authors. * doc/en/1stread.txt * doc/en/compiler.txt * doc/en/harbext.txt * doc/en/macro.txt ! cleanups 2016-10-24 16:12 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css + add footer showing the build date of the doc * extras/hbdoc/hbdoc.hbp * extras/hbdoc/hbdoc.prg - extras/hbdoc/_tmplate.prg * merge a class to main source 2016-10-24 15:44 UTC+0200 Viktor Szakats * src/rtl/hbdoc.prg ! fix filling '_LANG' property with the correct value * switch to use LF instead of CRLF in the field contents * extras/hbdoc/_genhtml.prg * extras/hbdoc/_tmplate.prg * extras/hbdoc/hbdoc.prg + load HBX file contents and lookup each referenced symbol. Emit warning in verbose mode, if docs refers to non-existing one. (this replaces slow and broken logic based on hbextern.ch) + use core hbdoc API to load the documentation instead of locally rolled logic * always show those content problems that are considered fatal and the input doc to be skipped + filter docs to English language by default + add ability to choose language using a command-line option ! fix faulty validation logic that resulted in erronously skipping certain entries + identify docs' 'component' property automatically ! fix to not eat empty lines from examples * extras/hbdoc/hbdoc.css * more CSS tweaks for readability - contrib/hbmisc/doc/en/ht_file.txt * contrib/gtwvw/doc/en/gtwvw.txt * contrib/gtwvw/doc/pt_BR/gtwvw.txt * contrib/hbct/doc/en/dattime2.txt * contrib/hbgd/doc/en/hbgd.txt * contrib/hbmisc/doc/en/dates2.txt ! various fixes after detecting them using updated hbdoc 2016-10-24 03:36 UTC+0200 Viktor Szakats * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_tmplate.prg * extras/hbdoc/hbdoc.prg ! fix RTE when trying to create output by category % delete dummy "HTML2" output mode 2016-10-24 02:40 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.prg * improve HTML5 output ! fix to not break words (e.g. URLs) when outputting HTML % use shorter class names ! fix invalid element ID generated * extras/hbdoc/hbdoc.css * style tweaks 2016-10-24 00:23 UTC+0200 Viktor Szakats * contrib/hbct/doc/en/atnum.txt * contrib/hbct/doc/en/charsort.txt * contrib/hbct/doc/en/color.txt * contrib/hbct/doc/en/ctmath.txt * contrib/hbct/doc/en/ctstr.txt * contrib/hbct/doc/en/dattime2.txt * contrib/hbct/doc/en/dattime3.txt * contrib/hbct/doc/en/tab.txt * contrib/hbct/doc/en/video.txt * contrib/hbct/hbct.hbx ! fix various casing issues and old typos * extras/hbdoc/hbdoc.css * improve 'a' style 2016-10-23 23:09 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg ! fix wrapping in "see also" section 2016-10-23 16:39 UTC+0200 Viktor Szakats * contrib/hbct/doc/en/*.txt * contrib/hbgt/doc/en/hbgt.txt * contrib/hbnf/doc/en/*.txt * doc/en/objfunc.txt * extras/hbdoc/_genhtml.prg ! fix to always delimit "see also" items with comma (",") 2016-10-23 16:10 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css + improve readability using CSS + mark more text as code automatically + improve clarity of HTML5 output + convert "see also" items to links (this works correctly only in single file output mode) * contrib/hbgt/doc/en/hbgt.txt ! casing 2016-10-23 13:15 UTC+0200 Viktor Szakats * contrib/rddads/doc/en/adsfuncs.txt * doc/en/1stread.txt * doc/en/input.txt * cleanups and fixes * extras/hbdoc/hbdoc.css * make documentation more readable * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.prg * drop MS-DOS compatibility * convert more ASCII chars to better Unicode equivalents % HTML tag optimization 2016-10-22 10:33 UTC+0200 Viktor Szakats * include/hbinit.h ! fix missing line after merge. Regression from bde5c0c6a942276b44221b22ebf94b6d1b3ec182 * src/rtl/gtchrmap.c ! do not compile on all platforms. Regression from 8045f3a4b1605b9bd2a3ed2552c845b8ddd72d5e 2016-10-21 13:23 UTC+0200 Viktor Szakats * contrib/hbwin/tests/service.prg + rework to show short help when run from the command-line * change install/uninstall command-line options for clarity * .github/CONTRIBUTING.md * wording 2016-10-21 07:47 UTC+0200 Viktor Szakats * tests/dynwin.prg * tests/parseini.prg * minor cleanups 2016-10-20 04:33 UTC+0200 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.26 2016-10-19 01:38 UTC+0200 Viktor Szakats + tests/hbdocjson.hb + add HBDOC <-> JSON two-way converter (is uses core hbdoc APIs) `hbrun tests/hbdocjson.hb doc/en/binnum.txt` creates `doc/en/binnum.json` `hbrun tests/hbdocjson.hb doc/en/binnum.json` recreates `doc/en/binnum.txt` ; The .json doc is very easy to process or convert to any other interim format or to a final render. 2016-10-19 01:24 UTC+0200 Viktor Szakats * contrib/hbgt/doc/en/hbgt.txt * doc cleanup 2016-10-19 01:24 UTC+0200 Viktor Szakats + contrib/hbxpp/doc/en/binnumx.txt + contrib/hbxpp/doc/en/browse.txt * sync more docs with 3.4 fork * contrib/hbgt/doc/en/hbgt.txt * sync some updates from 3.4 fork 2016-10-18 19:16 UTC+0200 Viktor Szakats - contrib/hbct/doc/en/*.txt * contrib/hbct/doc/en/*.txt * contrib/hbmisc/doc/en/*.txt * contrib/hbnf/doc/en/*.txt * contrib/hbziparc/doc/en/*.txt * contrib/rddads/doc/en/*.txt * doc/en/*.txt * sync with fixes/updates from 3.4 fork 2016-10-16 19:59 UTC+0200 Viktor Szakats * contrib/gtqtc/gtqtc.hbp ! fix selecting c++ dialect * utils/hbmk2/hbmk2.prg + add support for clang++ on *nix systems + add support for c++ dialect selection for clang 2016-10-16 19:28 UTC+0200 Viktor Szakats * contrib/gtqtc/gtqtc.hbp ! fix to build againt qt 5.7.0 and upper 2016-10-16 18:16 UTC+0200 Viktor Szakats * package/RELNOTES.txt ! fix numbering. Thanks Qatan. Ref: https://github.com/vszakats/hb/issues/239 2016-10-14 20:55 UTC+0200 Viktor Szakats * README.md * update MS C compiler links 2016-10-14 15:42 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_15_0.html 2016-10-12 17:38 UTC+0200 Viktor Szakats * package/mpkg_win_dl.sh * README.md * update upx links 2016-10-12 15:01 UTC+0200 Viktor Szakats * contrib/gtqtc/hbmk2_qtgt.hb * make line splitting hbformat friendly * formatting 2016-10-11 00:14 UTC+0200 Viktor Szakats * package/harbour.rb * sync with https://github.com/Homebrew/homebrew-core/pull/5666 * contrib/hbunix/uidgid.c * ChangeLog.txt * url updates 2016-10-06 21:00 UTC+0200 Viktor Szakats * extras/template/hbtpl.hbc * add missing .hbc extension * README.md * fixes to disclaimer text 2016-10-05 14:35 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg + use hb_noop() ! update a comment * ChangeLog.txt ! fix hb_noop() example in 2016-10-04 16:44 UTC+0200 entry (must use '==' operator) 2016-10-05 12:48 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbhttpd/hbhttpd.hbx + add hooks and extensions to allow WebSocket support be built upon hbhttpd. One such library is: https://github.com/foldiii/websocket This patch will add: - class UHttpdConnection() - method UHttpd:IsStopped() - hConfig parameter "SocketReuse", logical, default: .F. - hConfig parameter "RequestFilter", evalitem, default: noop {| <oUHttpdConnection>, <cRequest> | ... } -> <cResponse | NIL> modify: - UParse() 3rd parameter to expect an evalitem (codeblock) instead of a hConfig hash. [INCOMPATIBLE] fix: - missed bTrace parameter when calling UParse() from ProcessRequest() This patch was a joint effort with István Földi @foldii (code) and I (integration). Closes https://github.com/vszakats/hb/pull/238 2016-10-04 16:44 UTC+0200 Viktor Szakats * include/harbour.hbx * src/harbour.def * src/rtl/Makefile + src/rtl/noop.prg + add function hb_noop() It will return a value that can be Eval()-uated and that always return NIL. It is useful to replace explicit `{|| NIL }` values in the code with the bonus that it can be checked against the empty value as follows: ``` hb_default( @bMyBlock, hb_noop() ) ... IF !( bMyBlock == hb_noop() ) par1 := ... Eval( bMyBlock, par1 ) ENDIF ``` hb_noop() may possibly be compile-time optimized for even better results, or just rewritten in C. This has an advantage over using NIL as an empty value because the variable can be strictly typed to HB_ISEVALITEM(). * src/rtl/hbdef.c * hb_default(), hb_defaultValue() behavior changed to regard codeblocks and symbols equivalent. These two types are interchangable in practice. The only typical roadblock for interchangability is that often (for historical reasons) HB_ISBLOCK() is used to check for a valid value. A better practice is to use HB_ISEVALITEM(). [INCOMPATIBLE] * src/vm/macro.c ! whitespace 2016-10-04 16:22 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/hbwin/hbwin.ch + WIN_SERVICE_CONTROL_SHUTDOWN define added * contrib/hbwin/win_svc_1.c + implemented capability to have custom service control handler. win_serviceStart() optional parameter added: win_serviceStart( cName, bEntryFunc | sEntryFunc [, bControlFunc | sControlFunc ] ) The minimal control function implementation is: PROCEDURE SvcControl( nControl ) IF nControl == WIN_SERVICE_CONTROL_STOP .OR. ; nControl == WIN_SERVICE_CONTROL_SHUTDOWN win_serviceSetStatus( WIN_SERVICE_STOP_PENDING ) ENDIF RETURN If control function parameter is passed, service state will not be set to running by default. This allows to abort service on startup. If service is started, service main function should set running status by calling win_serviceSetStatus( WIN_SERVICE_RUNNING ) 2016-10-03 00:06 UTC+0200 Viktor Szakats * contrib/hbhttpd/tests/mkcert.sh * contrib/hbhttpd/tests/eshop.prg * contrib/hbssl/tests/mkpem.sh * contrib/hbssl/tests/crypt.prg * contrib/hbssl/tests/pem.prg * simplify .pem filenames 2016-10-02 23:20 UTC+0400 Phil Krylov (phil a t newstar.rinet.ru) * config/global.mk ! Fix cross-compiler detection when only HB_CCPREFIX is passed from environment. 2016-09-30 22:21 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg ! another unicode fix 2016-09-29 19:45 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh * remove 7-zip as dependency (all involved code was commented out already) 2016-09-29 19:42 UTC+0200 Viktor Szakats * package/mpkg_win_dl.sh * update 7-zip 2016-09-28 19:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/hbssl.h * contrib/hbssl/ssl_sock.c * contrib/hbssl/ssl_inet.c + added new 'PHB_ITEM pSSL' parameter to hb_sockexNewSSL() and hb_ssl_socketNew() C functions - it allows to bind harbour item with SSL pointer which should not be released before connection is closed. In new OpenSSL version such tricks can be replaced by SSL_up_ref() This modification also fixes possible GPF trap when SSL filter socket was created dynamically from C code without SSL pointer item on HVM stack in 2nd parameter and removes old hack which saved internally 2nd HVM stack parameter. + allow to pass SSL_CTX instead of SSL in "ssl", "ctx" or "key" items of hash array used to initialize SSL socket filter. Using SSL_CTX allows to use the same hash array to set SSL socket filter for different connections + allow to use codeblocks or function pointers as "ssl", "ctx" or "key" items of hash array used to initialize SSL socket filter * contrib/hbssl/hbssl.h * contrib/hbssl/sslctx.c + added new C function: SSL_CTX * hb_SSL_CTX_itemGet( PHB_ITEM pItem ) * contrib/hbssl/ssl_sock.c * src/rtl/hbcom.c * src/rtl/hbsocket.c ! fixed timeout checking in select()/poll() * src/rtl/hbsockhb.c ! fixed possible GPF trap when socket filter refuse to create new socket wrapper ; [vszakats] already present in 3.4 * include/hbinit.h * in GCC C++ builds for startup code use GCC constructor function attribute instead of static variable initialization to avoid warnings in new GCC versions ; [vszakats] already present in 3.4 (but only enabled for gcc 5.x and above) * src/rtl/hbntos.c ! fixed missing '-' in result of negative integer numbers - thanks to Luigi Ferraris * src/common/hbstr.c + added code to round integer part when the size of number is greater then double precision (~16 digits). 2016-09-28 11:34 UTC+0200 Viktor Szakats * .appveyor.yml % /docs updates to not trigger a rebuild * bin/commit.hb * ignore .appveyor.yml 2016-09-28 01:21 UTC+0200 Viktor Szakats + docs/.gitattributes + docs/.gitignore + docs/_config.yml + docs/*.md + docs/*.html + docs/favicon.ico + docs/_data/*.yml + docs/_data/README.md + docs/_includes/*.html + docs/_layouts/*.html + docs/_samples/*.html + docs/_samples/html.png + docs/css/styles.css + docs/images/3rd_*.svg + docs/images/flag-*.svg + docs/images/harbour-full.svg + docs/images/harbour.svg + add Harbour website source code 2016-09-27 11:59 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg ! fix typo in trace message 2016-09-27 11:54 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg * extras/httpsrv/uhttpd.prg ! fix four Len() vs. hb_BLen() unicode bugs 2016-09-26 20:28 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.15.0 2016-09-26 14:03 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * openssl 1.1.0b * extras/hbdoc/_genhtml.prg * README.md * minor updates 2016-09-23 01:19 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add upcoming libcurl 7.51.0 option HB_CURLOPT_KEEP_SENDING_ON_ERROR 2016-09-22 16:14 UTC+0200 emazv72 (emanuele.zavallone gmail.com) * config/global.mk + recognize gcc 6.2.0 2016-09-22 15:55 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * openssl 1.1.0a 2016-09-23 11:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * removed unnecessary casting after recent modification * src/3rd/jpeg/Makefile * src/3rd/jpeg/jconfig.h ! moved definitions which interacts with 3rd party code using libjpeg header files to jconfig.h 2016-09-23 09:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp ! fixed C++ casting in MS-Windows builds 2016-09-22 15:47 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapi.h * include/hbvmpub.h * removed casting C style casting from commonly used macros * contrib/gtqtc/gtqtc1.cpp * use C++ casting instead of C casting * contrib/rddads/ads1.c * contrib/rddads/adsx.c * contrib/rddsql/sqlmix.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/dbsql.c * src/rdd/workarea.c * cleaned HB_IT_* usage * contrib/rddads/ads1.c ! fixed typo in low-level code of ordDescend() / DBOI_ISDESC, now ordDescend() should work with ADS* RDDs just like with native RDDs * contrib/hbfoxpro/relfunc.c ! fixed typo in Between() function - thanks to Petr Chornyj * src/rtl/gtwvt/gtwvt.c ! added workaround for keyboard drivers which sets CTRL key modifier flag when only ALTGR is pressed - thanks to Maurizio la Cecilia 2016-09-20 17:38 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * doc/xhb-diff.txt + added information about support for strong typed variables in [x]Harbour * updated information about typed object items ! typos * include/hbclass.ch * updated information about initialization of typed object items * include/hbatomic.h * do not force OSSpinLock usage in OSX builds * include/hbapifs.h * src/rtl/filesys.c + added new C function hb_fsCloseRaw() - it works like hb_fsClose() but does not change hb_fsError() * src/rtl/filebuf.c * changed the condition in hb_fileLoadData() used to detect file descriptors without full support for file seek - now it's possible to use [hb_]MemoRead() to read /proc/* files in Linux * src/rtl/filesys.c ! detach printer process to not leave zombie processes after printing in programs which do not catch SIGCHLD signal in *nixes builds * src/rtl/filesys.c * src/rtl/hbproces.c * use hb_fsCloseRaw() instead of hb_fsClose() to safe original error code * src/rtl/hbsocket.c ! fixed OpenWatcom Linux builds + added HB_WINSOCK_USE_OLDFUNC macro which disables new WinSock functions in MS-Windows builds * src/rtl/gtxwc/gtxwc.c ! fixed recursive mutex lock ! added some missing locks + added support for X11 XLockDisplay()/XUnlockDisplay() in default builds when MT HVM is used. X11 locks can be disabled by HB_XWC_XLOCK_OFF macro - it may be necessary on some old platforms which do not support them. ! disabled resize step when font size is changed to reduce possible problem with reduced number of columns and rows by this operation. Please remember that X Server/Window Manager may still ignore suggested window size and force their own dimensions so application has to be ready to accept final screen size set by server/WM. * contrib/hbnf/shadow.c ! use 8 instead of 7 as default color attribute in FT_Shadow() function 2016-09-20 02:31 UTC+0200 Viktor Szakats * extras/hbdoc/_genhtml.prg ! fix two linter problems in generated html 2016-09-19 18:51 UTC+0200 Viktor Szakats * contrib/hbgd/tests/cgi.prg * extras/hbdoc/_genhtml.prg * extras/httpsrv/home/counter.html * extras/httpsrv/home/js/ajax.js * tests/guestbk.html * html5 cleanups 2016-09-19 18:03 UTC+0200 Viktor Szakats * bin/commit.hb * contrib/hbhttpd/tests/files/main.css * contrib/hbhttpd/tests/tpl/_main.html * contrib/hbhttpd/tests/tpl/app/account/edit.html * contrib/hbhttpd/tests/tpl/app/account.html * contrib/hbhttpd/tests/tpl/app/login.html * contrib/hbhttpd/tests/tpl/app/logout.html * contrib/hbhttpd/tests/tpl/app/register.html * extras/hbdoc/_genhtml.prg * extras/hbdoc/hbdoc.css * extras/httpsrv/home/counter.html * extras/httpsrv/home/css/base.css * extras/httpsrv/home/index.html * extras/httpsrv/home/postsample.html * extras/httpsrv/home/testajax.html * extras/httpsrv/home/testxmldb.html * html5/css cleanups 2016-09-14 14:48 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * curl 7.50.3 2016-09-14 14:24 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbm * contrib/hbcurl/date.c * contrib/hbcurl/easy.c * contrib/hbcurl/escold.c * contrib/hbcurl/global.c * contrib/hbcurl/ver.c * use safe (but more redundant) way to #define a configuration option * contrib/hbsqlit3/core.c * suppress warning after recent function deprecation 2016-09-13 00:57 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_14_2.html 2016-09-11 22:59 UTC+0200 Viktor Szakats * ChangeLog.txt * README.md * URL updates 2016-09-11 22:22 UTC+0200 Viktor Szakats * contrib/hbgd/tests/counter.prg * contrib/hbwin/wapi_secur32.c * ChangeLog.txt * extras/hbxlsxml/hbxlsxml.hbc * extras/ps32/README.md * README.md * src/rtl/arc4.c * src/rtl/base64d.c * src/rtl/gtwin/gtwin.c * cleanup web.archive.org URLs 2016-09-11 14:01 UTC+0200 Viktor Szakats * extras/superlib/README.md * update URL 2016-09-10 17:09 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.14.1 2016-09-09 16:14 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * refresh 3rd party binary hashes after mingw update 2016-09-09 10:06 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbc * contrib/hbssl/hbssl.hbc ! fix HB_STATIC_OPENSSL, HB_STATIC_CURL envvars to be ignored unless targeting Windows. Other platforms either don't support it or don't require it. 2016-09-08 18:15 UTC+0200 Viktor Szakats * README.md * fix the description of the snapshot build for win 2016-09-08 17:49 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.hbp ! fix missing openssl .dlls since upgrading them to 1.1.0 2016-09-08 09:25 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.ch * prepare for upcoming rename of a constant in upstream 2016-09-08 02:39 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * explicit install of jq dependency oniguruma is no longer needed after correcting the formula upstream 2016-09-07 18:46 UTC+0200 Viktor Szakats * contrib/hbfimage/tests/fsg.jpg * contrib/hbfimage/tests/sample1.jpg * contrib/hbgd/tests/imgs_in/conv_tst.jpg * contrib/hbgd/tests/imgs_in/gdlogo.png * contrib/hbhpdf/tests/files/rgb.jpg * contrib/hbsqlit3/tests/test.jpg * extras/hbvpdf/tests/files/color.jpg * ImageOptim 2016-09-07 10:23 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * curl 7.50.2 2016-09-05 23:06 UTC+0200 Viktor Szakats * .gitattributes * package/mpkg_win_ci.sh - package/vszakats.p12.gpg + package/vszakats.p12.asc * prefer text format for code signing key 2016-09-05 18:58 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * rebuilt openssl 64-bit with one extra, constant-time/optimized asm option 2016-09-05 18:55 UTC+0200 Viktor Szakats * contrib/hbpgsql/postgres.c * use the same method to convert from int 1/0 to HB_TRUE/HB_FALSE in every applicable wrapper 2016-09-05 10:43 UTC+0200 Viktor Szakats * contrib/hbpgsql/hbpgsql.hbx * contrib/hbpgsql/postgres.c * contrib/hbpgsql/postgres.ch + add most new wrappers from this repository of Petr Chornyj: https://github.com/petr-ch/hbpgsql9 Version guards have been added and "params" functions reworked to accept hashes instead of two arrays. Other minor corrections to fit into the contrib env. + add PQsslAttribute() * some existing functions were modified to make the parameter check (and fail if wrong) even if the underlying API is not available, instead of silently returning a default value. ; all of the above was build-tested only and some features require at least postresgql 8, 9 or 9.1 2016-09-03 16:10 UTC+0200 Viktor Szakats * .gitattributes * contrib/hbhttpd/core.prg * contrib/hbhttpd/tests/tpl/_main.tpl -> contrib/hbhttpd/tests/tpl/_main.html * contrib/hbhttpd/tests/tpl/app/account/edit.tpl -> contrib/hbhttpd/tests/tpl/app/account/edit.html * contrib/hbhttpd/tests/tpl/app/account.tpl -> contrib/hbhttpd/tests/tpl/app/account.html * contrib/hbhttpd/tests/tpl/app/cart.tpl -> contrib/hbhttpd/tests/tpl/app/cart.html * contrib/hbhttpd/tests/tpl/app/login.tpl -> contrib/hbhttpd/tests/tpl/app/login.html * contrib/hbhttpd/tests/tpl/app/logout.tpl -> contrib/hbhttpd/tests/tpl/app/logout.html * contrib/hbhttpd/tests/tpl/app/main.tpl -> contrib/hbhttpd/tests/tpl/app/main.html * contrib/hbhttpd/tests/tpl/app/register.tpl -> contrib/hbhttpd/tests/tpl/app/register.html * contrib/hbhttpd/tests/tpl/app/shopping.tpl -> contrib/hbhttpd/tests/tpl/app/shopping.html * use standard extension instead of custom (`.tpl`) one for html templates. 2016-09-03 15:58 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * '-fno-unwind-tables' didn't make a difference in case of mingw 32-bit, so remove it 2016-09-03 15:56 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh - remove self-extracting script, including notepad invocation to display RELNOTES.txt * package/mpkg.hb * package/mpkg_win.sh - because notepad.exe is no longer used, the logic dealing with converting LF EOLs to MS-DOS (CRLF) ones could also be dropped, removing a remaining prod/master branch difference 2016-09-03 15:12 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh % extend previous option with another one 2016-09-03 15:02 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh % try reducing .eh_frame size when building 32-bit mingw target * README.md * wording 2016-09-02 01:58 UTC+0200 Viktor Szakats * contrib/hbpgsql/hbpgsql.hbx * contrib/hbpgsql/postgres.c + add PQlibVersion() -> <nVersion> (returns 0 for pre-9.1 postresql versions) Ref: https://github.com/harbour/core/pull/127/ by @VerchenkoAG 2016-09-01 10:55 UTC+0200 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.25 2016-09-01 02:02 UTC+0200 Viktor Szakats * doc/todo.txt * use 'static/gradual' instead of "strong" to describe type system Ref: https://gist.github.com/garybernhardt/122909856b570c5c457a6cd674795a9c 2016-09-01 01:00 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * rebuild after fixing typo in libssh2 patch 2016-08-30 20:28 UTC+0200 Viktor Szakats * contrib/hbsqlit3/core.c * contrib/hbsqlit3/hbsqlit3.hbx * deprecate SQLITE3_TRACE() and SQLITE3_PROFILE() * add TODO to implement wrapper logic for replacement function 2016-08-30 20:11 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.hbx * contrib/hbssl/rand.c + add RAND_POLL() + update following deprecated functions to build against openssl 1.1.0 * deprecate RAND_EVENT(), replace with: RAND_POLL(); result := RAND_STATUS() * deprecate RAND_SCREEN(), replace with: RAND_POLL() 2016-08-30 19:49 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh ! apply bugfix patch to openssl https://github.com/openssl/openssl/pull/1520 2016-08-30 19:23 UTC+0200 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/evpciph.c * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.hbx * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c + made it compile against openssl 1.1.0 stable * deprecate SSL_STATE() in favour of SSL_GET_STATE() 2016-08-30 16:35 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * openssl 1.1.0 2016-08-30 00:39 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * remove hack no longer necessary after fix in MSYS2 2016-08-30 00:27 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.14.0 2016-08-23 18:09 UTC+0200 Viktor Szakats * contrib/xhb/tests/xml1.prg + add test line for clone 2016-08-23 15:30 UTC+0200 Viktor Szakats * contrib/xhb/txml.prg ! fix missed var update in 2016-08-22 20:18 UTC+0200 Closes https://github.com/vszakats/hb/issues/230 2016-08-22 23:29 UTC+0200 Viktor Szakats * package/harbour.rb ! fix brew audit warning 2016-08-22 20:18 UTC+0200 Viktor Szakats * contrib/xhb/hbxml.c * contrib/xhb/txml.prg ! Turns out the 'aAttribute' node variable holds a hash value, not an array one as its name suggests. Fix mxml_node_clone() and update some variable names to reflect that. Report/fix suggestion: https://groups.google.com/d/msg/comp.lang.xharbour/U2JJoBvikvU/pRJ7GvlEBQAJ (build tested only) 2016-08-19 13:17 UTC+0200 Viktor Szakats * contrib/hbcrypto/tests/pbkdf2.prg * contrib/hbcrypto/tests/scrypt.prg * update/add finalized RFC for test vectors 2016-08-19 02:26 UTC+0200 Viktor Szakats - utils/hbmk2/examples/xbgtk.hbc - delete obsolete and hacky example 2016-08-19 01:04 UTC+0200 Viktor Szakats * src/vm/set.c ! use append mode when opening _devices_ on win/dos systems as a follow-up on 828425b1def3116eccaf8432bcf1bcd96c42637b, which did the same for [HB_]ISPRINTER(). This is equivalent to manually adding the ADDITIVE keyword to `SET PRINTER TO <device>`. Playing it safe and only enabling this on win/dos systems, even though the same patch was enabled for all systems in [HB_]ISPRINTER and it didn't seem to cause any harm. Note, this is possibly not stricly Cl*pper compatible, but I couldn't make any tests with it. Nor could I make any test regarding this Harbour modification due to lack of the required environment, so please report any results. The problem being fixed is failure to output due to an error opening the target device (e.g. LPT1), when the device has been associated with a queue (possibly when there is no physical LPT1 port present), and when using Windows 7 or upper. MS-DOS application running under these systems are likely affected as well (not tested first hand). Possibly related: https://groups.google.com/forum/#!msg/harbour-users/nPg40CFpLFQ/9w3GgP9ufyMJ 2016-08-18 18:36 UTC+0200 Viktor Szakats * README.md % remove Symbian build example - the platform is defunct 2016-08-17 16:58 UTC+0200 Viktor Szakats * contrib/xhb/hbcompat.ch ! fix typo in commit a7e3f2ac2d0b9313594ae92732c383945616422a Closes https://github.com/vszakats/hb/issues/229 2016-08-14 20:31 UTC+0200 Viktor Szakats * package/mpkg_win.sh * use jq to create a JSON * doc/en/memo.txt ! fix wrong information. Thanks to José Quintas Ref: https://groups.google.com/forum/#!topic/harbour-devel/dcLHY_RwrdI 2016-08-12 14:06 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh ! add workaround for jq packaging issue in MSYS2 2016-08-12 12:39 UTC+0200 Viktor Szakats * package/mpkg_win_ci_refresh_deps.sh * package/mpkg_win.sh + use jq to parse JSON instead of regex hacks 2016-08-12 00:51 UTC+0200 Viktor Szakats * ChangeLog.txt ! cleanups and a minor correction 2016-08-12 00:40 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_14_1.html 2016-08-11 12:12 UTC+0200 Viktor Szakats - contrib/hbtinymt/3rd/tinymt/LICENSE.txt - contrib/hbtinymt/3rd/tinymt/tinymt.dif - contrib/hbtinymt/3rd/tinymt/tinymt.hbc - contrib/hbtinymt/3rd/tinymt/tinymt.hbp - contrib/hbtinymt/3rd/tinymt/tinymt32.c - contrib/hbtinymt/3rd/tinymt/tinymt32.h - contrib/hbtinymt/3rd/tinymt/tinymt64.c - contrib/hbtinymt/3rd/tinymt/tinymt64.h - contrib/hbtinymt/core32.c - contrib/hbtinymt/core64.c - contrib/hbtinymt/hbtinymt.hbc - contrib/hbtinymt/hbtinymt.hbp - contrib/hbtinymt/hbtinymt.hbx - contrib/hbtinymt/tests/hbmk.hbm - contrib/hbtinymt/tests/test32.prg - contrib/hbtinymt/tests/test64.prg - delete hbtinymt. Originally taken from xhb, this is rather just a good excercise and "fun" project, but since it involves vendored code and heavy local patches to maintain, with no known users or even a single feedback, it's likely better to just delete it. Harbour core contains an arc4 PRNG built-in. If you need this anyway, just pick the latest directory tree above and keep rolling it locally. 2016-08-11 11:35 UTC+0200 Viktor Szakats - src/3rd/jpeg/*.c - src/3rd/jpeg/*.h - src/3rd/jpeg/jpeg.dif - src/3rd/jpeg/Makefile - src/3rd/jpeg/README.txt - delete vendored copy of libjpeg. It was unused with no plans to integrate it, very large, and a maintenance burden. Keep it local if you need it for some 3rd party code and there is no good non-vendored solution to replace it (on Windows in particular, or possibly on MS-DOS). 2016-08-11 10:35 UTC+0200 Viktor Szakats * config/win/msvc.mk + enable -sdl for msvc * src/3rd/pcre/Makefile * src/3rd/zlib/Makefile * disable -sdl for these two vendored source packages (this will spit out a warning for each file) * contrib/hbpost.hbm ! remove non-portable sign tool option, that is now the default anyway * utils/hbmk2/hbmk2.prg * convert key filename to OS-native format 2016-08-11 00:57 UTC+0200 Viktor Szakats * src/3rd/Makefile % prevent libjpeg to build as part of the Harbour core * config/win/msvc.mk * package/harbour.spec * README.md * remove libjpeg references ; vendored libjpeg was added to Harbour core in 2010-01-26 20:33 UTC+0100. It hasn't been used by any Harbour core or contrib component since then, nor there is anything that say that it would ever be. Haven't seen any sign of this component being used by 3rd party libs, not has it been any reference, feedback or discussion regarding it. Yet it takes an effort to maintain it here and takes precious built-time. If someone needs this as a custom built component, I suggest converting the current Makefile into an .hbp (or any other preferred build system) and roll it locally. For non-Windows platforms this was never an issue, and even on the Windows platform, all known 3rd party components come with its own jpeg support anyway. ; TODO: remove src/3rd/jpeg directory [DONE] 2016-08-10 21:20 UTC+0200 Viktor Szakats * package/mpkg_win.sh ! fix regression after 2016-08-10 13:31 UTC+0200 * package/RELNOTES.txt ! fix double slash after 2016-08-10 13:31 UTC+0200 2016-08-10 19:52 UTC+0200 Viktor Szakats * contrib/hbwin/win_os.prg + win_osNetRegOk(): implement logic for Windows 7 (or equivalent) to disable oplocks, as described in this message by MS via Randy: https://groups.google.com/forum/#!msg/harbour-users/RyjXKmlQqWw/QOYwIPS5BQAJ [UNTESTED] * src/rtl/version.c * src/harbour.def + add HB_OSISWIN7() Harbour level API * include/hbapi.h * src/common/hbver.c * src/harbour.def + add hb_iswin7() C level API * ChangeLog.txt ! remove whitespace at EOL after merge 2016-08-10 19:34 UTC+0200 Viktor Szakats * contrib/rddads/ads1.c ! remove whitespace at EOL after last merge * use sizeof() instead of PP constant to get buffer size (in last merge) * include/dbinfo.ch * fix merge error 2016-08-10 20:12 UTC+0300 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt) * contrib/rddads/ads.ch + 64bit server type constants included * include/dbinfo.ch * contrib/rddsql/hbrddsql.h * contrib/rddsql/rddsql.hbc - contrib/rddsql/hbrddsql.ch * definitions of SQL related RDDI_*, DBI_* constants moved from RDDSQL to core code * include/dbinfo.ch * contrib/rddsql/sqlbase.c * RDDI_NEWID renamed to more informative RDDI_INSERTID * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/rddads/rddads.h + RDDI_CONNECT, RDDI_DISCONNECT implemented. RDDINFO() can be used instead of RDD specific AdsConnect*() calls + other SQL related RDDINFO(), DBINFO() capabilities implemented + DBUSEAREA() accepts prefixes "SQL:" and "TABLE:" to indicate if given table name should be treated as SQL query or table file name. If these prefixes are omitted, function parameter is treated as table file name except in case it begins with "SELECT " (compatibility). 2016-08-10 17:59 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * move some pacman calls to the 'dl' script 2016-08-10 13:50 UTC+0200 Viktor Szakats * src/Makefile ! adjust lib dependencies for MT builds. `pp` must be finished before starting to build `compiler` after the previous commit (2016-08-10 13:31 UTC+0200), because it expects `hbverbld.h` to have been generated, which is done by `pp`. 2016-08-10 13:31 UTC+0200 Viktor Szakats * config/global.mk + include origin repository URL in _repover.txt * src/pp/hbpp.c + process repository URL in _repover and burn it into hbverbld.h * config/lang2po.hb + pick repository URL from hb_Version() * package/mpkg_win.sh * package/RELNOTES.txt + query repository URL instead of hardwiring it * src/compiler/hbusage.c * src/rtl/version.c + get repository URL from hbverbld.h instead of hardwiring it * doc/howtovcs.txt ! switch to secure protocol in git clone example 2016-08-10 10:50 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.hbm * define `CURL_NO_OLDIES` to disable obsolete libcurl stuff * contrib/hbcurl/easy.c ! remove a reference to obsolete symbol to compile with `CURL_NO_OLDIES` enabled * src/rtl/arc4.c * src/rtl/arc4.h * remove leading underscore from macro names to avoid warning `-Wreserved-id-macro` (there is a _lot_ more like this) 2016-08-08 17:05 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_14.html 2016-08-08 15:56 UTC+0200 Viktor Szakats * package/mpkg_win.sh * leave EOLs in Unix style for 'prod' builds 2016-08-08 15:01 UTC+0200 Viktor Szakats - src/3rd/tiff/*.c - src/3rd/tiff/*.h - src/3rd/tiff/LICENSE.txt - src/3rd/tiff/Makefile - src/3rd/tiff/tiff.dif * src/3rd/Makefile * package/harbour.spec * package/mpkg_win_ci.sh * README.md - delete vendored copy of libtiff. It's an extra pain to update because of the lack of official releases, so this copy misses multiple security patches at any given time. Also, I remember two feedback altogether for this component, one "thumbs up" type and one accusation of why is this included. 2016-08-08 13:40 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win.sh ! fix the way curl.exe is excluded from the final package 2016-08-08 13:23 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh % do not bundle upx.exe with the Harbour package. Besides being another maintenance burden, due to some MSYS2/Cygwin decisions, binutils bugs and upx properties, by default, MSYS2-built binaries may not always be UPX-ed. The resolution is stalled for now and will probably take some years to get sorted out. Refs: https://github.com/Alexpux/MSYS2-packages/issues/454 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880 Anyhow, UPX-ing binaries have some drawbacks because the image cannot be mmap-ed and/or loaded on demand and/or shared between processes. It also mangles the content so it doesn't help transparency. So, unless the binary is executed through the local network from a network share (or distributed as-is), it's not very useful. Get latest version via MSYS2 pacman -S upx or from: https://github.com/upx/upx/releases/download/v3.91/upx391w.zip 2016-08-08 12:55 UTC+0200 Viktor Szakats - package/getsrc.hb * package/mpkg_win.sh % include source archive URL inside ./BUILD.txt instead of using getsrc.hb to show it. 2016-08-08 12:39 UTC+0200 Viktor Szakats - package/getmingw.hb * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh % remove getmingw.hb, please use MSYS2 instead to install mingw in 32-bit and/or 64-bit flavours. MSYS2 also offers a multitude of useful tools, with a simple way to update them all. The daily/snapshot builds have been using MSYS2 mingw for a while now. See pointers in packages/RELNOTES.txt about installation. Also note you don't need to use MSYS2's POSIX shell to use either mingw or other tools. You can even run pacman directly from the Windows command-prompt. % do not bundle 7za.exe and curl.exe with the snapshot builds anymore. These were there to support getmingw.hb. 2016-08-08 12:31 UTC+0200 Viktor Szakats * package/getsrc.hb * do not download the source package, just show the correct source archive URL. 2016-08-08 12:18 UTC+0200 Viktor Szakats * package/RELNOTES.txt * update instructions to use MSYS2. The getmingw.hb method is now deprecated and will be removed to ease on the dependency maintenance tasks inside the Harbour repository. 2016-08-08 12:09 UTC+0200 Viktor Szakats * package/RELNOTES.txt * sync it with recent changes to default distro 2016-08-07 23:11 UTC+0200 Viktor Szakats * package/mpkg_win.sh ! fix 'touch' tool argument list to be portable 2016-08-04 15:00 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win_ci.sh * README.md * rename "daily" builds to "snapshot" builds to conform with standard terminology 2016-08-04 14:55 UTC+0200 Viktor Szakats * config/win/mingw.mk * sync exe signing procedure with the .dll one for easier maintenance and uniform log output 2016-08-04 11:28 UTC+0200 Viktor Szakats * config/win/mingw.mk ! fix to not use an intermediate filename when linking a harbour.dll to be signed afterwards. The intermediate name was stuck inside the implib, causing obvious problems later. Closes https://github.com/vszakats/hb/issues/227 2016-08-04 11:15 UTC+0200 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.24 2016-08-04 01:52 UTC+0200 Viktor Szakats * package/mpkg_win_dl.sh * hide secondary uids when doing gpg verify (to somewhat protect these identities) 2016-08-03 12:00 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * curl 7.50.1 2016-08-03 01:35 UTC+0200 Viktor Szakats * contrib/hbhttpd/tests/eshop.prg * contrib/hbhttpd/tests/mkcert.sh * contrib/hbssl/tests/mkpem.sh * renames and script cleanups 2016-08-02 23:24 UTC+0200 Viktor Szakats - contrib/hbcrypto/aes256.c * contrib/hbcrypto/hbcrypto.hbp * contrib/hbcrypto/hbcrypto.hbx - contrib/hbcrypto/tests/aes256.prg - delete AES ECB encryption which is rather dangerous than useful for tasks this would typically be used for in Harbour apps 2016-08-01 18:35 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win_ci.sh + install mc before anything else, so it's available right away when logging from remote * config/global.mk * make an effort to force English language output from tools (on *nix-y systems/tools) * contrib/hbcurl/hbcurl.hbm * enable CURL_STRICTER to avoid bugs like 2016-07-21 17:14 UTC+0200 after libcurl project reverted it being the default in https://github.com/curl/curl/commit/d6604524ad24daf4581efbe0020da058d2b3af84 * utils/hbmk2/hbmk2.prg * comment 2016-07-31 23:48 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + select sha256 digest for RFC 3161 timestamps with signtool 2016-07-30 11:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + allow to disable timestamping on code signing by passing empty argument to `-signts:` + enable SHA256 signatures when using signtool and osslsigncode This is a messy matter and ultimately a subjective decision, but I decided that supporting signatures for older XP systems is not a priority and can avoid dealing with the complications of using multiple signatures to make these systems happy. So SHA256 it is, except for e.g. posign, that doesn't support it. * src/pp/Makefile * add TODO 2016-07-30 00:21 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * daily builds are now 64-bit hosted. Meaning the default bin/*.exe executables are now 64-bit ones. 2016-07-29 21:10 UTC+0200 Viktor Szakats * src/3rd/pcre2/Makefile * pcre2 10.22 2016-07-29 18:20 UTC+0200 Viktor Szakats * contrib/hbpost.hbm + include Harbour default resource+manifest in contrib dlls 2016-07-29 17:34 UTC+0200 Viktor Szakats * src/dynlib/2nd/Makefile * src/dynlib/Makefile * src/main/Makefile * utils/hbi18n/Makefile * utils/hbmk2/Makefile * utils/hbspeed/Makefile * utils/hbtest/Makefile + src/dynlib/2nd/harbour.rc + src/dynlib/harbour.rc + src/main/harbour.rc + utils/hbi18n/harbour.rc + utils/hbmk2/harbour.rc + utils/hbspeed/harbour.rc + utils/hbtest/harbour.rc * (re)add local stub to refer to global harbour.rc. This time using the same source filename in all subcomponent. ! fixes a regression from 2016-02-19 20:53 UTC+0100, where resources were recompiled on every build pass. ! fixes failure to compile the resource for harbour*.dll. Hopefully. Closes https://github.com/vszakats/hb/issues/226 * config/dyn.mk * revert previous change, that is no longer necessary 2016-07-29 14:37 UTC+0200 Viktor Szakats * contrib/hbcurl/tests/email.prg * contrib/hbtip/tests/email.prg * update hostnames * extras/dbu/README.md * extras/ps32/README.md * extras/rl/README.md * extras/superlib/README.md * minor cleanup 2016-07-29 14:21 UTC+0200 Viktor Szakats * config/dyn.mk * src/dynlib/2nd/Makefile * src/dynlib/Makefile + include Harbour default resource (including manifest) in harbour*.dll 2016-07-29 12:39 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c % reduce code required to support hashes in HB_CURLOPT_HTTPPOST_CONTENT + add support for hash parameters in HB_CURLOPT_HTTPPOST * contrib/hbssl/tests/mkpem.sh * use secure method to set permission for private files * contrib/hbhttpd/tests/mkcert.sh % country code is not required 2016-07-29 11:29 UTC+0200 Viktor Szakats * package/mpkg_win.sh % cleaned the way timestamp stripping and re-signing is done for core executables. 2016-07-29 03:57 UTC+0200 Viktor Szakats * package/mpkg_win.sh * refix to find osslsigncode ! fix to first remove code signatures (using osslsigncode), then strip timestamps for determinism and then readd signatures. Removing signatures after timestamp removal results in osslsigncode detecting a corrupt .exe and crashing. To avoid all this ugly mess, the real solution would be if binutils got its `-Wl,--no-insert-timestamp` option fixed. 2016-07-29 02:30 UTC+0200 Viktor Szakats * package/mpkg_win.sh ! fix to find osslsigncode [REVERT] ! cleanup rm/mv 2016-07-29 01:35 UTC+0200 Viktor Szakats * package/mpkg_win.sh ! try fixing the loop rebuilding code signatures 2016-07-29 00:55 UTC+0200 Viktor Szakats * config/win/mingw.mk + add support for code signing using `osslsigncode` tool ; NOTE: Code signature appended to executables will -if for nothing else, due to the included signed-timestamp- inherently render those files non-deterministic. Anyhow, determinism was already broken by using MSYS2 _and_ updating it to the freshest version of components before the build. ; UPDATE: osslsigncode uses openssl to create the signature and openssl will unconditionally include and sign the local timestamp along the payload. It means that a timestamp will be included even if we opt not to use a timestamp server. signtool.exe will only include one if a timestamp server is specified. Sadly, signtool.exe (as of Windows Kit 10), only supports weaker crypto in .p12/.pfx files, and it's only available/works on Windows machines. * package/mpkg_win.sh + rebuild code signatures for binaries created by the GNU Make process. This is necessary because the post-processing to make them deterministic modifies the exe and breaks the original signatures. * appveyor.yml * package/vsz_01_code.p12.gpg -> package/vszakats.p12.gpg * update code signing key * package/mpkg_win_ci.sh * clear HB_CODESIGN_KEY if decryption didn't take place or didn't succeed * remove debug lines * .travis.yml + try to install osslsigncode (for cross-builds) * .gitattributes - package/vsz_01_ca.crt % remove root CA 2016-07-28 23:04 UTC+0200 Viktor Szakats * config/aix/gcc.mk * config/common/watcom.mk * config/cygwin/gcc.mk * config/darwin/icc.mk * config/dir.mk * config/dirsh.mk * config/dos/djgpp.mk * config/dos/watcom.mk * config/hpux/gcc.mk * config/instsh.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/watcom.mk * config/os2/watcom.mk * config/vxworks/diab.mk * config/vxworks/gcc.mk * config/wce/mingwarm.mk * config/wce/msvcarm.mk * config/wce/poccarm.mk * config/win/bcc.mk * config/win/icc.mk * config/win/mingw.mk * config/win/msvc.mk * config/win/pocc.mk * config/win/watcom.mk * config/win/xcc.mk ! grammar in comment 2016-07-28 21:01 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * delete debug * package/vsz_01_ca.crt * package/vsz_01_code.p12.gpg * update 2016-07-28 19:32 UTC+0200 Viktor Szakats * appveyor.yml * contrib/hbpost.hbm * package/mpkg_win_ci.sh + decrypt code signing key + try enabling code signing for contribs * package/mpkg_win.sh ! fix potential potential info leakage 2016-07-28 18:49 UTC+0200 Viktor Szakats * .gitattributes * appveyor.yml + package/vsz_01_ca.crt + package/vsz_01_code.p12.gpg + add self-signed root certificate, code signing keys, necessary encrypted passphrases * package/mpkg_win_ci.sh + enable osslsigncode (and jq), add test calls 2016-07-28 18:12 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg + do not accept SSLv2 and SSLv3 connections anymore * contrib/hbssl/hbssl.ch + add constants HB_SSL_OP_NO_TLSv1_2 and HB_SSL_OP_NO_TLSv1_1 * contrib/hbhttpd/tests/mkcert.sh * contrib/hbssl/tests/mkpem.sh + dump private key + set private key dump attributes to 600 2016-07-28 03:10 UTC+0200 Viktor Szakats * contrib/hbhttpd/tests/mkcert.sh * merge two openssl commands into one * dump created files in human-readable form * contrib/hbhttpd/tests/mkcert.sh * contrib/hbssl/tests/mkpem.sh * `chmod 600` the private keys * package/mpkg_win_ci.sh * document pacman command to install jq and osslsigncode 2016-07-27 17:23 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp + link hbtip 2016-07-27 17:17 UTC+0200 Viktor Szakats * contrib/hbtip/url.prg * add port to URL skeleton in comment + contrib/hbtip/tests/url.prg + add minimal test for TURL() class 2016-07-27 02:02 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * rename variables to prepare for more hash support 2016-07-27 01:57 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c + add support for hashes as HB_CURLOPT_HTTPPOST_CONTENT parameter ``` curl_easy_setopt( curl, HB_CURLOPT_HTTPPOST_CONTENT, { ; "key1" => "value1", ; "key2" => "value2", ; "key3" => "value3" } ) ``` 2016-07-26 23:32 UTC+0200 Viktor Szakats * contrib/hbwin/win_proxy.prg ! win_ProxyDetect(): do not leak the full URL to the Windows API functions and potentially to a proxy autoconfig logic. Just the protocol and host will be submitted instead. Ref: https://arstechnica.com/security/2016/07/new-attack-that-cripples-https-crypto-works-on-macs-windows-and-linux/ 2016-07-26 21:35 UTC+0200 Viktor Szakats * contrib/xhb/xhbctbit.c * address the warning one more time 2016-07-26 20:34 UTC+0200 Viktor Szakats * contrib/hbexpat/hbexpat.hbc * contrib/hbexpat/hbexpat.hbp * contrib/hblzf/hblzf.hbc * contrib/hblzf/hblzf.hbp * contrib/hbodbc/hbodbc.hbc * contrib/hbodbc/hbodbc.hbp * contrib/hbsqlit3/hbsqlit3.hbc * contrib/sddodbc/sddodbc.hbc * contrib/sddodbc/sddodbc.hbp * contrib/sddsqlt3/sddsqlt3.hbc + detect dependencies provided by Homebrew, so those will be used instead of the vendored copies (or at all) if installed * switch to use the Homebrew flavor of the ODBC library (unixODBC) instead of the default one installed as part of macOS (iODBC), on darwin. * contrib/hbhpdf/hbhpdf.hbc * contrib/hbicu/hbicu.hbc * contrib/hbmzip/hbmzip.hbc * contrib/hbxdiff/hbxdiff.hbc ! fix to find Homebrew libraries on darwin * contrib/hblzf/core.c ! do not refer to an internal lzf header 2016-07-26 10:37 UTC+0200 Viktor Szakats * contrib/xhb/xhbctbit.c * use ULONG_MAX 2016-07-26 09:43 UTC+0200 Viktor Szakats * contrib/xhb/xhbctbit.c * continue attempt to silence the gcc 6.1 warning 2016-07-26 08:42 UTC+0200 Viktor Szakats * contrib/xhb/xhbctbit.c * various code cleanups ! fix 'warning: left shift of negative value [-Wshift-negative-value]' with gcc 6.1 2016-07-26 01:02 UTC+0200 Viktor Szakats * contrib/hbssl/bio.c ! BIO_SET() better fallback on OpenSSL 1.1.0+, when enabled 2016-07-26 00:30 UTC+0200 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/hbssl.hbx * BIO_SET() deprecated with HB_LEGACY_LEVEL5 and converted to a dummy function when built against OpenSSL 1.1.0, where its low-level counterpart no longer exists. Ref: https://github.com/openssl/openssl/commit/9d7bfb14dd22c372d6583c20583cbf9aea4cc033 * contrib/hbssl/pem.c * use HB_UNCONST() to silence discarding a `const`. OpenSSL will only read the value to feed it as a passphrase, so this is safe to do and upstream won't convert this to a const because it's also used to pass custom data for generic callbacks. * utils/hbtest/make_clp.bat % save some more bytes 2016-07-25 23:25 UTC+0200 Viktor Szakats * tests/rdd/make_clp.bat * utils/hbtest/make_clp.bat % reduce size (and fix regressions in the rdd one) 2016-07-24 17:48 UTC+0200 Viktor Szakats * .github/CONTRIBUTING.md * add note to not enable multi-threaded build when creating build output for debugging purposes 2016-07-24 17:41 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_winuser_1.c ! WAPI_GETSCROLLINFO() fix parameter order in hb_storclen() call to actually return data ! WAPI_GETSCROLLINFO() fix to return data structure instead of garbage in 3rd parameter ! WAPI_GETSCROLLBARINFO() fix to return data structure instead of garbage in 3rd parameter, fix NULL pointer dereference, memory corruption. (it's a disabled function) * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/wce_simc.c * contrib/hbwin/win_bmp.c * contrib/hbwin/win_com.c * sizeof() cleanups * contrib/hbwin/win_prn1.c * variable scope * cleanup in deprecated code 2016-07-23 00:49 UTC+0200 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile * move LIBNAME to the top to sync with other Makefiles 2016-07-23 00:38 UTC+0200 Viktor Szakats * contrib/hbhpdf/hbhpdf.hbc + add ability to override the default libharu library name. See details in comment. * package/mpkg_win_ci.sh ! typo in commented pacman comment 2016-07-22 18:09 UTC+0200 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/hpdf.h * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * contrib/hbhpdf/annot.c * contrib/hbhpdf/hbhpdf.hbx ! delete wrapper for 2.2.0+ function HPDF_Page_CreateTextMarkupAnnot(). This function is not exported by the upstream sources, so it's only availably in our vendored copy due to Harbour's local patch which makes the libharu function an exported one. After this patch, hbhpdf can utilize libharu built from its original, unpatched source code 2016-07-22 16:55 UTC+0200 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbc * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * sync libharu lib name with other systems `liblibhpdf` -> `libhpdf` 2016-07-22 11:26 UTC+0200 Viktor Szakats * contrib/hbmysql/hbmysql.hbp * contrib/sddmy/sddmy.hbp ! fix typo in MSYS2 .dll name 2016-07-22 04:22 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh ! fix HB_WITH_MYSQL * contrib/hbmysql/hbmysql.hbc * contrib/hbmysql/hbmysql.hbp * contrib/sddmy/sddmy.hbc * contrib/sddmy/sddmy.hbp + find MSYS2 implib * sync implib name on Windows with libname on other platforms 2016-07-22 03:58 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * configure HB_WITH_MYSQL 2016-07-22 03:21 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * disable some packages in 'prod' builds 2016-07-22 03:10 UTC+0200 Viktor Szakats * contrib/hbbz2/hbbz2.hbp * contrib/hbbz2io/hbbz2io.hbp * contrib/hbcairo/hbcairo.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbexpat/hbexpat.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbgd/hbgd.hbp * contrib/hbgs/hbgs.hbp * contrib/hbgzio/hbgzio.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbicu/hbicu.hbc * contrib/hbicu/hbicu.hbp * contrib/hbmlzo/hbmlzo.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbssl/hbssl.hbm * contrib/sddmy/sddmy.hbp * contrib/sddpg/sddpg.hbp * contrib/sddsqlt3/sddsqlt3.hbp + add MSYS2 package names * fix some problems along the way * package/mpkg_win_ci.sh + install mariadbclient from MSYS2 * document some more vendored MSYS2 dependencies * utils/hbmk2/hbmk2.prg * use 'msys2' instead of 'pacman' to refer to the MSYS2 package manager. Package names may different compared to ArchLinux and they all have a 'compiler-cpuarch-' prefix on MSYS2, which is not generalized yet in hbmk2. 2016-07-21 17:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to let `HBMK_WITH_*`/`HB_WITH_*` `local` and `strict:` values and `HB_BUILD_3RDEXT=no` override pkgconfig-based dependency detection. This started to cause some vendored dependencies being detected under MSYS2 after fixing `pacman` detection. * contrib/hbcurl/easy.c ! CURL_EASY_DUPLICATE() fix bad bug shown as a warning * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * README.md - do not create SFX .exe daily builds anymore. These were still flagged as malware by one of the VirusTotal engines (a very outdated and defunkt one), plus recent versions of 7za no longer can manipulate the file unless the .exe extension is removed first. Same is true when handling the file with other tools. [UPDATE 2016-07-27: it didn't help with the remaining VirusTotal false positive from "VBA32"] * remove a README section referencing to a no longer existing batch file * instruct the build system to use the vendored libexpat and minizip sources since apparently the MSYS2 ones were found after local changes (which might be useful in the future when dropping the vendoried copies, thus avoiding yet another petty maintenance task.) * hbicu is now enabled in 'prod' builds * nghttp2 1.13.0 * contrib/hbwin/win_bmp.c % variable scope 2016-07-21 12:52 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * curl 7.50.0 2016-07-21 01:59 UTC+0200 Viktor Szakats * contrib/hbgs/core.c * tweak Ghostscript API callconv on Windows 32-bit to link with MSYS2 provided implibs * config/detplat.mk * win/pacman detection didn't work, deleted * contrib/hbgs/hbgs.hbp * revert prev mod to suppress msg * package/mpkg_win_ci.sh * set HB_WITH_GS_BIN for version detection * contrib/hbfimage/hbfimage.hbp ! fix two bugs in .dll copying * contrib/hbpgsql/hbpgsql.hbc * contrib/hbpgsql/hbpgsql.hbp * contrib/sddpg/sddpg.hbc * contrib/sddpg/sddpg.hbp * sync dependency lib name on Windows with other platforms 2016-07-21 00:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix bad typo in latest update 2016-07-21 00:34 UTC+0200 Viktor Szakats - contrib/hbblat/blatcls.prg - contrib/hbblat/blatwrp.c - contrib/hbblat/hbblat.ch - contrib/hbblat/hbblat.hbc - contrib/hbblat/hbblat.hbp - contrib/hbblat/hbblat.hbx - contrib/hbblat/tests/blatcmd.prg - contrib/hbblat/tests/f_listtx.txt - contrib/hbblat/tests/f_ps.txt - contrib/hbblat/tests/f_sampl1.txt - contrib/hbblat/tests/f_sample.txt - contrib/hbblat/tests/f_subjct.txt - contrib/hbblat/tests/hbmk.hbm - contrib/hbblat/tests/test.prg - delete hbblat. It's dependency has stalled and fallen behind other options (e.g. it doesn't support SMTPS). It's also a Windows-only contrib. Use hbcurl combined with tip_MailAssemble() instead or continue to maintain this contrib locally. 2016-07-21 00:27 UTC+0200 Viktor Szakats - contrib/gtalleg/fixedth.sfc - contrib/gtalleg/gtalleg.hbc - contrib/gtalleg/gtalleg.hbm - contrib/gtalleg/gtalleg.hbp - contrib/gtalleg/gtalleg.hbx - contrib/gtalleg/gtallegd.c - contrib/gtalleg/gtallegs.hbp - contrib/gtalleg/ssf.c - contrib/gtalleg/ssf.h - contrib/gtalleg/tests/hbmk.hbm - contrib/gtalleg/tests/test.prg * .travis.yml * debian/control * doc/xhb-diff.txt * package/harbour.rb * package/harbour.spec * package/mpkg_rpm.sh - delete contrib gtalleg. It's unmaintained and requires older version (4.x) of Allegro lib, which is by now largely superceded by 5.x in most distros. 2016-07-21 00:21 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh ! fix HB_WITH_CAIRO location for MSYS2 * remove allegro for MSYS2, gtalleg requires 4.x, every system offers 5.x now 2016-07-21 00:14 UTC+0200 Viktor Szakats * config/global.mk ! fix typo in warning message after a recent update * config/detplat.mk * config/global.mk * utils/hbmk2/hbmk2.prg * try fixing `pacman` detection both under the GNU Make system and hbmk2 * contrib/hbgs/hbgs.hbp * suppress a warning when `pacman` is available * contrib/hbfimage/hbfimage.hbp * contrib/hbgs/hbgs.hbp * use -depimplibd= to set the implib name 2016-07-20 23:40 UTC+0200 Viktor Szakats * contrib/hbgs/hbgs.hbp * find MSYS2 implib * package/mpkg_win_ci.sh * set HB_WITH_* locations for newly enabled dependencies 2016-07-20 22:57 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh + install some more contrib dependencies in default builds 2016-07-20 22:55 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win_ci.sh * move package install pacman commands to the CI script % do not install unnecessary packages when doing 'prod' builds 2016-07-20 15:10 UTC+0200 Viktor Szakats * config/global.mk * silence an 'install'-related warning when used in pure 'clean' cycle 2016-07-20 14:55 UTC+0200 Viktor Szakats * appveyor.yml * try using 4 build threads * config/global.mk * allow to use separate 'clean' and 'install' build passes when using HB_BUILD_PKG=yes. A warning will be shown to make these two separate steps manually. * package/mpkg_win_ci.sh * separate 'clean' and 'install' make steps in the hope this fixes multi-thread builds 2016-07-20 14:51 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win_ci.sh * package/mpkg_win.sh * rename 'lto' builds to 'prod' - disable LTO for 'prod' builds. They are broken with mingw 6.1.0. 2016-07-20 01:16 UTC+0200 Viktor Szakats * src/vm/hvm.c ! add missing stub for hb_vmLockForce() in ST builds of the VM * package/mpkg_win_dl.sh * make the default mingw the MSYS2 one again, as it also has been updated to 6.1.0 (LTO crash in hbmk2 happens with this mingw build, too) 2016-07-19 18:27 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win_ci.sh + enable multi-thread builds for AppVeyor CI, after machines were upgraded to multi-code Ref: https://www.appveyor.com/updates/2016/07/16 2016-07-19 17:01 UTC+0200 Viktor Szakats * contrib/xhb/hbserv.c * src/rtl/errint.c ! suppress gcc warning only if it's supported by the gcc version 2016-07-18 23:44 UTC+0200 Viktor Szakats * appveyor.yml * configure fontconfig to omit the font-cache update, allowing to save several minutes of CI time Ref: https://github.com/Alexpux/MINGW-packages/commit/fdea2f97bef6a728c2df6ec287fff2b032f6d25f + reenable `gd` MSYS2 package now that fontconfig doesn't wastes time 2016-07-18 20:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/hbssl.hbx * contrib/hbssl/pem.c * contrib/hbssl/x509.c + added new prg functions: PEM_READ_X509(), PEM_READ_X509_AUX() and X509_get_PubKey() * src/debug/dbgmenu.prg ! fixed wrong method name :ToggleBreakPoint() -> BreakPointToggle() Thanks to Viktor. * src/rtl/gtwin/gtwin.c * hardcoded some LEFT_ALT + <key> to return K_ALT_* value instead of national characters, i.e. in EL keyboard layout. Please test it. I cannot check it in my MS-Windows version. 2016-07-16 11:45 UTC+0200 Viktor Szakats * utils/hbtest/hbtest.hbp * utils/hbtest/make_clp.bat * utils/hbtest/Makefile * utils/hbtest/rt_miscc.c -> utils/hbtest/hbtestc.c * Rename C source 2016-07-16 11:43 UTC+0200 Viktor Szakats - utils/hbtest/rt_main.h * utils/hbtest/rt_miscc.c * Merge header into the single source its used by 2016-07-15 18:37 UTC+0200 Viktor Szakats * contrib/hbfimage/hbfiint.h * Remove declaration for deleted internal API 2016-07-15 18:32 UTC+0200 Viktor Szakats * contrib/hbfimage/core.c * contrib/hbfimage/win.c ! Make sure to never pass a NULL object pointers to FreeImage API (an RTE will be generated instead) * Eliminate temp parameter variables * contrib/hbfimage/tests/test.prg ! Fix warnings * contrib/hbgd/gdwrp.c * Comment cleanup * Uncrustified * appveyor.yml * Remove gd from the list of MSYS2 packages installed (Fontconfig takes 5 minutes to run after install.) 2016-07-15 15:01 UTC+0200 Viktor Szakats * contrib/hbgd/hbgd.hbp ! Fix finding implibs under MSYS2 * contrib/sddpg/sddpg.hbp * Find implibs under MSYS2 2016-07-15 14:29 UTC+0200 Viktor Szakats * contrib/hbgd/hbgd.hbp * contrib/hbpgsql/hbpgsql.hbp ! Fix to find implibs under MSYS2 2016-07-15 04:10 UTC+0200 Viktor Szakats * contrib/hbpgsql/hbpgsql.hbp ! Fix typo in dependency configuration. Regression from 8a2fd4c0656db6ba898451741e38850e84b8a0a3 * package/mpkg_win_ci.sh * Cleanup MSYS2 dependency setup 2016-07-15 03:18 UTC+0200 Viktor Szakats * appveyor.yml + Install some dependencies for experiment * package/mpkg_win_ci.sh + Try building against MSYS2 dependencies * contrib/hbfimage/hbfimage.hbp + Try experimental support for MSYS2 freeimage package 2016-07-15 01:10 UTC+0200 Viktor Szakats * contrib/hbgd/gdwrp.c ! Make sure to never pass a NULL image object to GD API * Eliminate temp parameter variables 2016-07-14 23:43 UTC+0200 Viktor Szakats * contrib/hbct/blank.c * Avoid memset() call with zero length * contrib/hbgd/gdwrp.c ! Fix potential null pointer dereferences turned up as warnings TODO: Fix a lot more potential ones not shown as warnings [DONE] 2016-07-14 22:11 UTC+0200 Viktor Szakats * contrib/hbct/atadjust.c * src/compiler/hbdead.c * Avoid memset() calls with zero length. These cause various warnings with gcc 6.1.1 in LTO mode on Linux: https://travis-ci.org/vszakats/hb/jobs/144798968 ``` hbdead.o (symbol from plugin): warning: memset used with constant zero length parameter; this could be due to transposed parameters ``` ``` In function ‘memset’, inlined from ‘hb_p_default’ at ../../../hbdead.c:114:4: /usr/include/x86_64-linux-gnu/bits/string3.h:82:7: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters ``` * include/hbsetup.h + Add `HB_GCC_VER` constans to return the GCC version (e.g. 6.1 -> 601) + Add `HB_GCC_HAS_OPTIMIZE` macro to return whether `#pragma GCC optimize` is supported * src/common/hbprintf.c * Disable LTO for mingw 6.1.0 64-bit. LTO caused hb_snprintf() to crash when called inside hbpp.exe, when invoked with any parameter, e.g. `hbpp -w` or as part of the GNU Make process: https://ci.appveyor.com/project/vszakats/hb/build/3.4.1539#L3871 * contrib/xhb/hbserv.c * src/rtl/errint.c ! Indent * .travis.yml * Make a line more generic 2016-07-14 10:41 UTC+0200 Viktor Szakats * config/wce/mingwarm.mk * config/win/mingw.mk * config/win/tcc.mk * utils/hbmk2/hbmk2.prg ! Pass `-g` option to linker as well, otherwise debug information appears to be excluded from executables. (win/tcc untested) * src/common/hbffind.c * Revert adding HB_EXPORT to function definitions added in 8c97b6c5143807776b961798710d808cb8624817 They didn't fix the `-Wlto-type-mismatch` warnings It also happens on Linux: https://travis-ci.org/vszakats/hb/jobs/144798968 * include/hbapifs.h * Sync var names used in declaration with the definition as an experiment. It didn't fix the `-Wlto-type-mismatch` warning 2016-07-13 23:55 UTC+0200 Viktor Szakats * package/harbour.rc % 'supportedOS' descriptions converted to resource comments so they won't occupy space in the final binaries + add server flavor version next to each 'supportedOS' value + reference Application Manifest MSDN page, that also lists valid 'supportedOS' values 2016-07-13 21:35 UTC+0200 Viktor Szakats * tests/usrrdd/exhsx.prg * tests/usrrdd/exlog.prg * formatting 2016-07-13 20:25 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * rebuilt dependencies with mingw 6.1.0 2016-07-13 18:24 UTC+0200 Viktor Szakats * contrib/make.hb ! filter out any .hbc reference that falls outside the contrib directory tree. This can only happen at the moment for `<hbroot>/package/harbour.hbc` (the build config file dealing with adding the default Windows resources), where the automatic dependency detection looked for a `<hbroot>/package/harbour.hbp` project, which didn't exist, resulting in a warning each time when building the contribs. 2016-07-13 17:52 UTC+0200 Viktor Szakats * .travis.yml * Travis CI: switch to gcc 6 on Linux 2016-07-13 16:39 UTC+0200 Viktor Szakats * contrib/hbmemio/memio.c * Silence a potential null pointer dereference warning (it's likely harmless and is a result on hb_errInternal() not marked as non-returning) * contrib/hbexpat/core.c * contrib/hbexpat/hbexpat.hbx * Deprecated XML_PARSERFREE() with HB_LEGACY_LEVEL5. It's converted to a no-op when enabled ! Fix a large number of potential null pointer dereferences. This could have happened if XML_PARSERFREE() was called to free the internal parser object then the expat object being used afterwards. * contrib/hbexpat/tests/test.prg * contrib/hbexpat/tests/tohash.prg * Output to stdout 2016-07-13 15:59 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! '-Wno-empty-translation-unit' is a clang-only option 2016-07-13 15:51 UTC+0200 Viktor Szakats * include/hbfloat.h ! Revert previous fix 59f2234c0fd20875c5997d48789d4ce7dd680311 2016-07-13 15:26 UTC+0200 Viktor Szakats * package/getmingw.hb * double-check with some simple heuristics if the downloaded content isn't by any chance a webpage and throw a _download error_ if it is. sf.net is frequently down and returning a standard webpage (with result code 200) in such case, making curl falsely believe the download was a success. 2016-07-13 15:12 UTC+0200 Viktor Szakats * include/hbfloat.h ! fix missing parenthesis resulting in a comparison with constant zero. Caught by 6.1.0 warning: ``` include/hbfloat.h:137:55: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare] ( isinf( d ) < 0 ? _HB_NUM_NINF : \ ^ ``` [WRONG FIX - REVERTED] 2016-07-13 15:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * sync mingw default warning settings with gcc 2016-07-13 14:29 UTC+0200 Viktor Szakats * config/win/mingw.mk % remove a 6.1.0 specific warning enabled by -Wall by default * config/linux/gcc.mk * sync 6.1.0 warnings with mingw * utils/hbmk2/hbmk2.prg + sync extra 6.1.0+ gcc warnings with the GNU Make system 2016-07-13 14:16 UTC+0200 Viktor Szakats * include/hbsetup.h + Add HB_GCC_HAS_DIAG macro to indicate whether our gcc version supports '#pragma GCC diagnostic' * src/rtl/errint.c * contrib/xhb/hbserv.c * Disable null dereference warning for the code that is actually meant to force a null dereference 2016-07-13 13:20 UTC+0200 Viktor Szakats * src/rdd/workarea.c * src/vm/hvm.c * src/vm/classes.c * src/vm/memvars.c * src/vm/thread.c * silence/fix some more potential null dereference warnings 2016-07-13 10:40 UTC+0200 Viktor Szakats * src/vm/memvars.c * replace two warning fixes from bdf5927421f89f7cfc6c6bce66c18fbb2893e267 with possibly cleaner ones. 2016-07-12 23:33 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win_dl.sh * make the external mingw distro the default now that it has released 6.1.0 * rename tag markers, readd 'mingwmsys' and keep 'mingwext' * src/vm/classes.c * src/vm/itemapi.c * src/vm/memvars.c ! fix some potential NULL dereferences appearing as gcc 6.1.0 warnings * minor comment/indentation cleanups 2016-07-12 21:16 UTC+0200 Viktor Szakats * appveyor.yml * try an optimization option * src/rtl/hbsockhb.c ! try fixing a gcc 6.1 warning: https://ci.appveyor.com/project/vszakats/hb/build/3.4.1507#L1511 ``` hbsockhb.c: In function 'hb_socketItemPut': hbsockhb.c:622:16: warning: null pointer dereference [-Wnull-dereference] return pSock->pFilter->Close( pSock, fClose ); ~~~~~^~~~~~~~~ ``` Lots more of these in `vm` and a few in `rdd` and `common`. 2016-07-12 17:55 UTC+0200 Viktor Szakats * package/getmingw.hb * package/mpkg_win_dl.sh * upgrade to mingw 6.1.0 2016-07-12 14:54 UTC+0200 Viktor Szakats * .github/ISSUE_TEMPLATE.md * utils/hbtest/Makefile * minor cleanups 2016-07-12 10:24 UTC+0200 Viktor Szakats * utils/hbtest/hbtest.prg * utils/hbtest/rt_misc.prg * ChangeLog.txt * cleanups to previous changes 2016-07-12 10:09 UTC+0200 Viktor Szakats * tests/rdd/make_clp.bat * utils/hbtest/make_clp.bat % shrink them more 2016-07-12 03:24 UTC+0200 Viktor Szakats - tests/rdd/make_c52.bat * tests/rdd/make_c53.bat -> tests/rdd/make_clp.bat % consolidate and shorten build scripts 2016-07-12 03:02 UTC+0200 Viktor Szakats * utils/hbtest/Makefile ! fix to enable C functions when building with GNU Make 2016-07-12 02:44 UTC+0200 Viktor Szakats * utils/hbtest/Makefile * utils/hbtest/hbtest.hbp * utils/hbtest/hbtest.prg * utils/hbtest/rt_array.prg * utils/hbtest/rt_class.prg * utils/hbtest/rt_date.prg * utils/hbtest/rt_file.prg * utils/hbtest/rt_hvm.prg * utils/hbtest/rt_hvma.prg * utils/hbtest/rt_math.prg * utils/hbtest/rt_misc.prg * utils/hbtest/rt_mt.prg * utils/hbtest/rt_str.prg * utils/hbtest/rt_stra.prg * utils/hbtest/rt_tran2.prg * utils/hbtest/rt_trans.prg - utils/hbtest/rt_init.ch - utils/hbtest/rt_main.ch - utils/hbtest/rt_vars.ch + Add ability to run as hbrun script (without the C functions of course) + Rearrange sources so that only hbtest.prg needs to be compiled, which in turn pull every dependent .prg. This also allowed to drop all external .ch files. ! Fix duplicate function name when build under Cl*pper ! Avoid '#if 0' to build under Cl*pper * utils/hbtest/make_c5x.bat -> utils/hbtest/make_clp.bat - utils/hbtest/make_xpp.bat * Consolidate and shorten build scripts for Cl*pper and Xbase++ (only Cl*pper was tested) 2016-07-11 14:24 UTC+0200 Viktor Szakats + .github/ISSUE_TEMPLATE.md + add Issue template 2016-07-11 13:55 UTC+0200 Viktor Szakats * config/postinst.hb * doc/howtovcs.txt * README.md * CONTRIBUTING.md -> .github/CONTRIBUTING.md * move doc under the .github directory 2016-07-09 18:21 UTC+0200 Viktor Szakats * src/rtl/gtcgi/gtcgi.c ! Fix codepage translation when outputting to Windows console when VM CP was not UTF-8 ! Fix to not stop printing at zero byte to Windows console ; Both issues were regressions after the previous commit 2016-07-09 15:59 UTC+0200 Viktor Szakats * src/rtl/gtcgi/gtcgi.c + Reimplement support to write Unicode characters to the Windows console, this time without touching the console CP and using the WriteConsole() API instead. 2016-07-09 15:40 UTC+0200 Viktor Szakats * src/rtl/errapi.c * src/rtl/filesys.c % replace if/else with switch/case * include/hbwinuni.h * src/rtl/hbrunfun.c * src/rtl/run.c * formatting 2016-07-08 20:32 UTC+0200 Viktor Szakats * src/rtl/gtcgi/gtcgi.c * revert the feature attempting to add UTF-8 console output support on Windows. Apparently the method to switch the console CP to UTF-8 is fragile on some systems and/or in certain use-cases/configurations. (I couldn't reprocuce any of those locally unfortunately.) So, back to cutting-edge 8-bit MS-DOS output for now in hbmk2/hbrun and any other GTCGI apps on Windows. The proper solution seems to be to use WriteConsoleW() if the output handle goes to the console (this shall be detected) and keep current logic otherwise (when redirected to pipe or file). Ref: https://bugs.python.org/issue1602 2016-07-08 20:14 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c ! fix URL after Microsoft though it to be a great idea to completely remove michkap's blog from their site. Removing a vast resource that helped to develop for their major platform: genius! Ref: https://sortingitoutv2.wordpress.com/2014/04/03/hello-world-once-again/ Ref: https://web.archive.org/web/blogs.msdn.com/b/michkap/ Ref: http://archives.miloush.net/michkap/archive/index.html 2016-07-08 16:52 UTC+0200 Viktor Szakats * src/rtl/gtcgi/gtcgi.c ! Attempt to restore original console CP on GT suspend and set it back to UTF-8 on GT resume. This may resolve console output issues with external apps launched via __RUN() or HB_RUN(). Won't affect hb_processRun() though, as it doesn't appear to be calling GT suspend/resume. Untested. 2016-07-07 13:44 UTC+0200 Viktor Szakats * contrib/hbssl/ssl_sock.c * add reference to open OpenSSL bug for SOCKET pointer/handle truncation on Windows 64-bit. 2016-07-06 23:06 UTC+0200 Viktor Szakats * src/rtl/inkey.c ! HB_KEYNEW(): fix regression in ac6b5136940bdcaebccd2a4e8dc37f8de9718043 (causing infinite loop and other misbehaviors in Browse() function) + tests/keynew.prg + add basic regression test for hb_keyNew() 2016-07-05 18:48 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.hbm * add bcc implib option. Might help in some cases, might not in others. (Unsupported and untested.) 2016-07-05 18:15 UTC+0200 Viktor Szakats * src/debug/debugger.prg ! Fix regression in 076ac71f6eca952464745f92ede413aa149afcca resulting in source files not found in 'PATH' when 'HB_DBG_PATH' envvar was empty. * Internal cleanups and optimizations to the way source paths are handled. ! Fix to use core filename manipulation function instead of locally rolled, buggy logic. + use hb_StrFormat() in UI strings to make them translatable 2016-07-04 19:01 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * generalize and clean the hack added in previous commit 2016-07-04 19:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c ! use HB_MIN() macro instead of non-standard min() function ! use casting to double instead of float which may strip significant bits from 32bit numbers * include/hbapicdp.h + added hb_cdpGetID() macro * formatting * src/rtl/hbjson.c * modified codepage parameter behavior in JSON encode/decode functions. Now they can be used for codepage translation. * src/rtl/gtwvt/gtwvt.c * ignore national characters when WM_SYSCHAR message is generated. It should resolve the problem with Greek keyboard layout reported by Pete anyhow it's possible that it may create new problems with some other keyboard layouts so please report them if any. 2016-07-04 15:03 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * add terrible hack to force GTCGI (and thus use default terminal colors for hbmk2 output), on systems having HARBOUR envvar to alter default GTTRM behavior. See more in source comment. 2016-07-04 10:39 UTC+0200 Viktor Szakats * package/mpkg_win.sh % replace sed with POSIX parameter substitution to trim ending dirsep 2016-07-03 12:07 UTC+0200 Viktor Szakats * package/mpkg_win_ci_refresh_deps.sh * package/mpkg_win.sh * add jq alternative for extracting json info (commented) * ChangeLog.txt * minor cleanups 2016-07-01 22:20 UTC+0200 Viktor Szakats * contrib/hbmlzo/core.c ! fix a missed unit to KiB 2016-07-01 22:07 UTC+0200 Viktor Szakats * contrib/gtwvw/doc/en/gtwvw.txt * contrib/hbamf/amfenc.c * contrib/hbnf/doc/en/mouse1.txt * contrib/hbxpp/doc/en/binnumx.txt * ChangeLog.txt * doc/en/binnum.txt * doc/oldnews.txt * include/hbapi.h * src/common/hbmem.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rtl/filesys.c * src/rtl/gtos2/gtos2.c * src/vm/garbage.c * utils/hbtest/rt_str.prg * 16[ ]bit[s] -> 16-bit * 32[ ]bit[s] -> 32-bit * 64[ ]bit[s] -> 64-bit * minor cleanups 2016-07-01 21:41 UTC+0200 Viktor Szakats * config/globsh.mk * contrib/hbct/doc/en/strdiff.txt * contrib/hbtip/ftpcli.prg * contrib/hbwin/tests/ole_wmi.prg * contrib/hbwin/wapi_winuser_dlg.c * contrib/rddads/ads1.c * ChangeLog.txt * CONTRIBUTING.md * doc/oldnews.txt * doc/xhb-diff.txt * include/dbinfo.ch * include/hbpcode.h * include/hbrddnsx.h * src/rdd/hbsix/sxcompr.c * src/rtl/diskspac.c * src/rtl/filesys.c * src/rtl/hblpphb.c * src/rtl/memofile.c * src/vm/memvars.c * src/vm/set.c * tests/largefil.prg * tests/longdev.prg ! cleanup KiB/MiB/GiB/TiB vs KB/MB/GB/TB (for old entries I assumed 1000 based values for source and binary sizes - it might not be precise.) ! add space between value and unit of measure * doc/en/string.txt * contrib/xhb/ttable.prg * src/rdd/hbsix/sxcompat.prg % use HB_ISNULL() 2016-07-01 16:37 UTC+0200 Viktor Szakats * contrib/hbblat/blatcls.prg * contrib/hbnf/doc/en/mouse1.txt * contrib/hbnf/doc/en/sysmem.txt * contrib/hbnf/tests/sysmem.prg * contrib/hbtip/ftpcli.prg * contrib/hbwin/tests/ole_wmi.prg * contrib/hbwin/wapi_winuser_dlg.c * contrib/rddads/ads1.c * ChangeLog.txt * CONTRIBUTING.md * doc/oldnews.txt * include/hbpcode.h * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rtl/memofile.c * src/vm/set.c * units of measure cleanups TODO: use KiB/MiB/GiB/TiB in place of KB/MB/GB/TB [DONE] `grep -i -E -R '["0-9]( )?[mkgtp](i)?b[^a-z0-9_]' *` * doc/xhb-diff.txt * 32bit -> 32-bit, 64 bit/64bit -> 64-bit 2016-07-01 14:21 UTC+0200 Viktor Szakats * contrib/hbmlzo/core.c ! fix unit in comment: kB -> KB (= KiB) 2016-06-30 11:42 UTC+0200 Viktor Szakats * bin/commit.hb - config/libbin.mk * config/win/bcc.mk * config/win/icc.mk * config/win/mingw.mk * config/win/msvc.mk * config/win/pocc.mk * config/win/tcc.mk * config/win/watcom.mk * config/win/xcc.mk * Makefile - Deleted GNU Make bits that were present for integrated unicows support. It's unlikely that the answer for any future problem would be to add 3rd party library binaries to the source repository. 2016-06-30 00:33 UTC+0200 Viktor Szakats * contrib/hbtinymt/3rd/tinymt/tinymt.dif * contrib/hbtinymt/3rd/tinymt/tinymt.hbp * contrib/hbtinymt/3rd/tinymt/* * upgrade to 1.1.1 * rebase local patch 2016-06-29 23:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/delim1.c * src/rdd/sdf1.c * src/rdd/hsx/hsx.c * src/rdd/dbcmd.c * src/rdd/dbcmd53.c * next SELF_INFO() and SELF_RDDINFO() cleanups * src/rtl/gtwvt/gtwvt.c ! fixed reverted LEFT and RIGHT ALT modifiers in my last commit 2016-06-29 14:59 UTC+0200 Viktor Szakats - lib/3rd/win/bcc/Makefile - lib/3rd/win/bcc/unicows_license.txt - lib/3rd/win/bcc/unicows.lib - lib/3rd/win/mingw/libunicows_license.txt - lib/3rd/win/mingw/libunicows.a - lib/3rd/win/mingw/Makefile * config/win/global.mk * config/win/mingw.mk * contrib/hbpost.hbm * package/mpkg_win_ci.sh * remove integrated unicows support for win/mingw and win/bcc This means Harbour can't be built to run on Win9x anymore. If you need this, keep this patch and maintain it locally. ; unused 3RDLIB_DIR, 3RDLIBS, 3RDLIBS_DYN macros, 'lib/3rd' references and 'config/libbin.mk' kept in the GNU Make system, they may be removed in a subsequent commit or left there for some future use. [DELETED] * README.md * remove unicows and another Win9x specific reference 2016-06-28 09:04 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * QT's own headers fail to compile, so disabling again, for good 2016-06-28 01:54 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.12.0 2016-06-28 01:19 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * try enabling GTQTC in the rare moment when used mingw, AppVeyor and QT versions appear to be compatible with each other 2016-06-27 23:27 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp ! define WIN32 * contrib/hbexpat/3rd/expat/_hbconf.h * rely on WIN32 macro to make failure obvious, if missing * README.md * update Git book name ; Please submit Pull Requests instead of misplacing 3.4 bug reports on mainline-specific forums. Thank you. https://github.com/vszakats/hb/pulls https://github.com/vszakats/hb/blob/main/CONTRIBUTING.md#how-to-participate or donate to support allocating time for dealing with Issues https://github.com/vszakats/hb#how-to-donate Currently win/mingw*, linux/gcc/clang, darwin/clang are covered with CI tooling and these are the only platforms I'm actively using. You can try these for better results. 2016-06-27 18:25 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/* * minor style cleanup 2016-06-27 17:29 UTC+0200 Viktor Szakats * contrib/hbtip/mailsend.prg + add IPv6 info and cleanups 2016-06-27 17:14 UTC+0200 Viktor Szakats * contrib/hbnetio/doc/es/readme.txt * contrib/hbnetio/readme.txt * contrib/hbnetio/netiocli.c * doc/en/1stread.txt * doc/en/hbinet.txt * README.md * change IPv4 addresses to host names where possible * minor cleanups 2016-06-23 19:28 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * change default timestamp server 2016-06-23 12:08 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/_hbconf.h ! fix to #include windows.h 2016-06-23 01:23 UTC+0200 Viktor Szakats * src/harbour.def + add hb_itemPutNil() 2016-06-23 01:13 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp + contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/* * rebuild and reapply local patch 2016-06-23 01:05 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp - contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/* * expat 2.2.0 (from 2.1.1) TODO: reapply local patch [DONE] 2016-06-23 00:57 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/xmlparse.c * contrib/hbexpat/3rd/expat/xmltok_i.c * contrib/hbexpat/3rd/expat/xmltok.c * contrib/hbexpat/3rd/expat/xmltok.h * revert 70a71846c61e82a8788d5e83cfb50e5dce59a237 before upgrading to new version 2016-06-23 00:52 UTC+0200 Viktor Szakats * include/dbinfo.ch ! typo in comment after merge 2016-06-23 00:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapiitm.h * src/vm/itemapi.c + added new C function: PHB_ITEM hb_itemPutNil( PHB_ITEM pItem ); * src/rdd/dbf1.c ! fixed yet another RDDI_SETHEADER clearing in internal DBF RDD code * clear few passed variables before internal SELF_INFO() and SELF_RDDINFO() read calls - they were safe in current code but potentially may badly interact with 3rd party DBF RDD wrappers. 2016-06-22 23:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/dbinfo.ch * updated few comments * src/rdd/dbf1.c * src/rdd/delim1.c ! fixed dbInfo( DBI_SETHEADER ) and hb_rddInfo( RDDI_SETHEADER ) to not change previous settings ! set DB_SETHEADER_APPENDSYNC as default update header mode 2016-06-21 20:38 UTC+0200 Viktor Szakats * include/std.ch + support .hb extension in DO command 2016-06-21 12:04 UTC+0200 Viktor Szakats * package/mpkg_win_dl.sh + try another key server should the primary one fail 2016-06-21 10:56 UTC+0200 Viktor Szakats * .travis.yml * disable a custom option supported by newer clangs, but not by the default 3.4 2016-06-21 10:48 UTC+0200 Viktor Szakats * config/linux/gcc.mk ! apply same fix as for win/mingw to make it work with gcc 5.4 2016-06-21 10:02 UTC+0200 Viktor Szakats * .travis.yml * disable clang-3.8 as the package was removed upstream https://github.com/travis-ci/travis-ci/issues/6120 2016-06-21 03:17 UTC+0200 Viktor Szakats * CONTRIBUTING.md + add two links 2016-06-21 03:08 UTC+0200 Viktor Szakats * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * EOL variables to use uniform name 2016-06-21 02:55 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg * src/rdd/usrrdd/rdds/logrdd.prg * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/profiler.prg * src/rtl/tpersist.prg + honor Set( _SET_EOL ) instead of hard-coding hb_eol() in certain outputs May be [INCOMPATIBLE], if setting _SET_EOL to something other than the default and the processing end of files produced by above functions is not prepared for the alternate EOL type. Though typically the processing end is either a human or Harbour in these cases. 2016-06-20 23:43 UTC+0200 Viktor Szakats * src/harbour.def * add hb_ntoc() to harbour .dll 2016-06-20 22:50 UTC+0200 Viktor Szakats * package/harbour.rc - utils/hbmk2/hbmk2.rc * utils/hbmk2/Makefile * utils/hbmk2/hbmk2.hbp * cleanup the way the app icon is included for hbmk2/hbrun by moving the inclusion logic to central harbour.rc and control the inclusion via a macro. * config/win/bcc.mk * config/win/mingw.mk * config/win/msvc.mk * config/win/pocc.mk * config/win/xcc.mk + configure .rc file encoding to UTF-8. Was: "ANSI" (the default) Only mingw was tested, for the rest the documentation was consulted, except for xcc, which I assumed to work like pocc. Watcom has a weird way to set this, so no option was added for it at this time. + package/harbour.hbc + add .hbc file to include harbour.rc while also configuring resource compilers to expect UTF-8 encoding. * contrib/hbformat/utils/hbformat.hbp * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * utils/hbi18n/hbi18n.hbp * utils/hbmk2/hbmk2.hbp * utils/hbmk2/Makefile * utils/hbtest/hbtest.hbp * link harbour.rc indirectly via harbour.hbc so the required resource compiler options are set * package/harbour.rc + now that UTF-8 is supported for this source file, cleanup the related strings and comments. This was the last file where remains of legacy codepages were used. * contrib/sddpg/core.c * internal pgsqlGetValue() extended to consider lowercase 't', 'y' and also '1' as a boolean 'true' value. I haven't tested which one is actually returned by libpq though. * contrib/hbpgsql/postgres.c + PQEXECPARAMS(): add 4th parameter to set <resultFormat> Refs: https://www.postgresql.org/docs/9.1/static/libpq-exec.html https://groups.google.com/d/msg/harbour-users/hXhuVzU9pHA/RrDGLIiUAwAJ 2016-06-20 21:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * doc/cmpopt.txt * enumeration ! typos * src/codepage/uckam.c + added info about Kamenicky codepage number: CP895 * include/hbapi.h * src/common/hbstr.c + added new C function: char * hb_dblToStr( char * szBuf, HB_SIZE nSize, double dNumber, int iMaxDec ); it converts numeric value to string trying to keep all significant digits in double numbers * include/harbour.hbx * src/rtl/hbntos.c + added new PRG function: hb_ntoc( <nValue> ) -> cValue it converts numeric value to string trying to keep all significant digits in double numbers * src/rtl/hbsocket.c + added support for error codes returned by getaddrinfo() / getnameinfo() and gethostbyname() / gethostbyaddr() * src/rtl/hbinet.c + set HB_SOCKET_ERR_WRONGADDR error code if hb_socketResolveAddr() returns NULL without setting error code * src/vm/arrays.c * src/vm/hashfunc.c ! fix hb_HScan(), AScan(), hb_AScan() and hb_RAScan() for very large integers with more then 53 significant bits. Such bits were lost after conversion to double value used in scan process * src/vm/itemapi.c * formatting * src/rtl/gtwvt/gtwvt.c ! do not convert characters received with ALTGR or ALT+CTRL flags to extended keycodes - some national keyboards may use such combination for national characters and even pure ASCII ones 2016-06-19 13:19 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win_dl.sh * switch to using MSYS2-based mingw for daily builds. These are _single target_ ones and generate more optimal (in terms of execution speed) final executables. 32-bit uses DWARF-2 and 64-bit uses SEH (while the multilib mingw build used SJLJ for both). DWARF-2 builds will result in a ~10% size increase for 32-bit executables. MSYS2 is nice way to get a standard and regularly/easily updated environment on Windows both on CI and local systems. Using the POSIX shell is _not_ mandatory or required, nor would the final binaries depend on the MSYS environment. Get MSYS2 from https://msys2.github.io/ 2016-06-16 23:30 UTC+0200 Viktor Szakats * config/win/mingw.mk ! adjust filter expression to not enable gcc 6.x options for 5.4 2016-06-16 22:44 UTC+0200 Viktor Szakats * config/global.mk + recognize gcc 5.4.0 and 6.1.0 2016-06-16 22:14 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/minixml.dif * contrib/hbmxml/3rd/minixml/mxml_nod.c ! restore previous local patch, replacing the updated, but still incorrect upstream logic with our solution. Thanks to Przemek. Ref: https://github.com/vszakats/hb/commit/a05a905cf60b2e7d931cdb5c8eb1ce02175f44d7#commitcomment-17900248 2016-06-16 13:05 UTC+0200 Viktor Szakats * contrib/hbssl/evpenc.c + EVP_ENCODEUPDATE() to return an numeric result code instead of NIL. This result code will be 1 for pre OpenSSL 1.1.0 versions and the actual result code for 1.1.0 (trunk at this moment) or newer. Ref: https://github.com/openssl/openssl/commit/cf3404fcc77aaf592c95326cbdd25612a8af6878 2016-06-16 00:18 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/minixml.dif * remove a local patch broken after getting an upstream fix in 2.10 2016-06-16 00:05 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/minixml.dif * contrib/hbmxml/3rd/minixml/mxml_fil.c * contrib/hbmxml/3rd/minixml/mxml.hbp * updated 2.9 -> 2.10 https://www.msweet.org/projects.php?Z3 2016-06-15 23:55 UTC+0200 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/* * update to pcre 8.39 https://vcs.pcre.org/pcre/code/trunk/NEWS?revision=1656&view=markup 2016-06-14 11:43 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + add first guess for LLVM version association with Xcode 8 2016-06-14 00:28 UTC+0200 Viktor Szakats * contrib/hbssl/tests/mkpem.sh * README.md * use 'Mac' instead of 'macOS' (formerly OS X) where it makes sense 2016-06-13 19:42 UTC+0200 Viktor Szakats * config/postinst.hb * contrib/gtqtc/gtqtc1.cpp * contrib/hbssl/tests/mkpem.sh * debian/control * doc/locks.txt * doc/xhb-diff.txt * include/hbapifs.h * README.md * utils/hbmk2/hbmk2.prg * OS X -> macOS 2016-06-13 00:44 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp * hbosx -> hbmac 2016-06-13 00:40 UTC+0200 Viktor Szakats * contrib/hbosx/hbosx.hbp -> contrib/hbmac/hbmac.hbp * contrib/hbosx/hbosx.hbc -> contrib/hbmac/hbmac.hbc * contrib/hbosx/hbosx.hbx -> contrib/hbmac/hbmac.hbx * contrib/hbosx/proxy.prg -> contrib/hbmac/proxy.prg * contrib/hbosx/proxyc.m -> contrib/hbmac/proxyc.m * contrib/hbosx/tests/hbmk.hbm -> contrib/hbmac/tests/hbmk.hbm * contrib/hbosx/tests/proxy.prg -> contrib/hbmac/tests/proxy.prg * contrib/hbosx/tests/trash.prg -> contrib/hbmac/tests/trash.prg * contrib/hbosx/trash.m -> contrib/hbmac/trash.m * rename hbosx to hbmac. Function prefixes renamed accordingly. [INCOMPATIBLE] 2016-06-11 13:42 UTC+0200 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.23 https://github.com/glennrp/libpng/blob/ed6db9d86b2aa32c616c96701da3b8d3bfe7c2c9/ANNOUNCE 2016-06-11 13:22 UTC+0200 Viktor Szakats * README.md * add MSYS2 to recommended mingw builds 2016-06-10 00:33 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * apply fix to libssh2 for https://access.redhat.com/security/cve/cve-2016-0787 2016-06-09 11:45 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * new build of libssh2/libcurl to fix support for >2 GiB files in SCP/SFTP 2016-06-08 09:49 UTC+0200 Viktor Szakats * src/debug/dbgmenu.prg ! fix regression after upstream merge of a1cbbb2cbf764a18e47d5778a8f03ced2a608ff9 Rename a method reference to follow a rename in class definition. 2016-05-31 01:26 UTC+0200 Viktor Szakats * config/postinst.hb ! fix to set exec flag for user and group as well when creating the tar installer release package * minor cleanup 2016-05-31 00:41 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming libcurl 7.50.0 feature: CURLINFO_HTTP_VERSION Ref: https://github.com/curl/curl/commit/071c56139463137a4e32a8d841a70c16f3682bb7 2016-05-30 14:32 UTC+0200 Viktor Szakats * package/mpkg_win.sh * minor date format tweak to prev ! fix timestamp in prev 2016-05-30 13:46 UTC+0200 Viktor Szakats * appveyor.yml + pick package names with timestamp appended 2016-05-30 13:44 UTC+0200 Viktor Szakats * package/mpkg_win.sh + append timestamp to package name of LTO builds 2016-05-30 12:17 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_misc.c ! fix typo in 2016-05-30 10:08 UTC+0200 2016-05-30 10:17 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * curl 7.49.1 * nghttp2 1.11.1 2016-05-30 10:08 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_misc.c + enable safe loading of Windows system .dlls on Windows Vista/7/Server 2008/Server 2008 R2 Taken from https://github.com/curl/curl/commit/6df916d751e72fc9a1febc07bb59c4ddd886c043 (should probably also fix enabling this feature in executables that are missing a manifest for proper Win8 detection) [UNTESTED] 2016-05-29 11:08 UTC+0200 Viktor Szakats * src/common/hbffind.c ! sync function definitions with declarations to avoid mingw 6.1.0 warning in LTO mode: -Wlto-type-mismatch This is a test change, if proven necessary with a stable 6.1.0 release, it should be applied to all HB_EXPORT C functions. * utils/hbmk2/hbmk2.prg + AllTrim() the result of command substitution before returning it. Ref: https://github.com/tfonrouge/harbour/commit/546cd760292486120eb02039f14ede73e295ad99#commitcomment-17657827 2016-05-27 16:59 UTC+0200 Viktor Szakats * src/3rd/png/png.dif * src/3rd/png/pnglconf.h ! disable new simplified STDIO API 2016-05-27 15:55 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * simplify previous patch 2016-05-27 15:43 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * ${hb_cpu} fixes: - prepare for cygwin 64-bit (untested) - return 'x86' for win/tcc + make more effort to return a correct cpu for platforms with a wide range of cpu targets. Now the native cpu will be returned instead of 'x86'. (e.g. on Raspberry Pi) % use HBMK_ISCOMP() macro ! convert HB_VERSION_CPU to lowercase before loading it into internal CPU variable 2016-05-27 13:59 UTC+0200 Viktor Szakats 2016-05-26 23:35 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + detect nix package manager on OS X and Linux [TRANSLATION] 2016-05-26 17:15 UTC+0200 Viktor Szakats * contrib/hbhttpd/tests/eshop.prg ! sync certificate/pkey filenames with script + show instructions if certificate/pkey is missing * contrib/hbhttpd/tests/mkcert.sh ! fix to use 'localhost' as CN, more inline with real-life testing scenario 2016-05-23 10:38 UTC+0200 Viktor Szakats * package/mpkg_win_dl.sh * use 7-zip 16.02 2016-05-23 10:36 UTC+0200 Viktor Szakats * appveyor.yml + update msys before proceeding 2016-05-23 01:55 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/xmlparse.c * contrib/hbexpat/3rd/expat/xmltok_i.c * contrib/hbexpat/3rd/expat/xmltok.c * contrib/hbexpat/3rd/expat/xmltok.h ! apply critical security patch from: http://seclists.org/oss-sec/2016/q2/360 2016-05-19 16:34 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_13_0.html ! fix missing hunk from local patch after one the previous updates 2016-05-18 12:24 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * curl 7.49.0 2016-05-18 11:48 UTC+0200 Viktor Szakats * package/mpkg_win_dl.sh + retry curl operations 3 times + use --batch option for gpg 2016-05-17 13:24 UTC+0200 Viktor Szakats * package/mpkg_win_dl.sh * use 7-zip 16.00 2016-05-12 20:12 UTC+0200 Viktor Szakats * contrib/hbwin/win_tprn.prg ! fix printing area (potentially?) calculated incorrectly in win_Prn() class. Issue and this fix suggestion submitted by @UnSafeHaven Closes https://github.com/vszakats/hb/issues/223 2016-05-12 20:07 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/3rd/expat/expat.dif * contrib/hbexpat/3rd/expat/* * expat 2.1.1 (from 2.1.0) 2016-05-11 15:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to hint Cl*pper longform function names only when the found name is at least 4 characters long 2016-05-11 14:47 UTC+0200 Viktor Szakats + tests/up.prg + add example posted by Przemek https://groups.google.com/d/msg/harbour-users/6ACuM8glkNk/mUKuK4PtBgAJ (with minor mods) 2016-05-11 13:48 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh + detect GitLab branch 2016-05-11 00:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + recognize newer Fossil repositories 2016-05-11 00:21 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + recognize BitKeeper repositories 2016-05-10 10:20 UTC+0200 Viktor Szakats * src/rtl/hbmd5.c * src/rtl/hbsha1.c * add comment about these being insecure, recommend SHA256 or higher instead. 2016-05-06 23:22 UTC+0200 Viktor Szakats * ChangeLog.txt * README.md * url updates * tests/checkssl.hb * minor enhancements 2016-05-06 20:56 UTC+0200 Viktor Szakats * contrib/hbcairo/hbcairo.hbp * url update 2016-05-06 09:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * cleanups/fixes to OS X .app Info.plist file template (DOCTYPE, plist version, remove two unnecessary keys) 2016-05-05 15:25 UTC+0200 Viktor Szakats * contrib/hbnetio/netio.h * contrib/hbnetio/tests/netiomt1.prg * contrib/hbnetio/tests/netiot02.prg * contrib/hbnetio/tests/netiot03.prg * contrib/hbnetio/tests/netiotst.prg * contrib/hbssl/tests/inetssl.prg * contrib/hbwin/tests/oletst1.prg * 127.0.0.1 -> localhost (step to become IPv4/IPv6 agnostic) Ref (retrofit): https://tools.ietf.org/html/draft-west-let-localhost-be-localhost-04 * doc/en/hbinet.txt ! casing * src/rtl/gtsys.c * src/rtl/gttone.c * src/rtl/hbgtcore.c * src/rtl/hbinet.c * src/rtl/math.c * src/vm/macro.c * src/vm/memvars.c % reduce comment decorations 2016-05-04 20:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * always assume a single CPU on Windows systems. Default parallel builds were reported to become slow and even stall. This effectively reverts 2014-09-22 23:32 UTC+0200 on Windows. 2016-05-04 15:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! fixed very bad typo which caused buffer overflow on 32-bit platforms using poll() instead of select() in hb_socketSelect() 2016-05-04 13:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwin/gtwin.c ! strip ALT+CTRL and ALTGR from extended keycode when these modifiers are used with ASCII characters - it should fix problem with some national keyboards 2016-05-03 21:07 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * openssl 1.0.2h 2016-04-29 08:40 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.10.0 2016-04-26 16:46 UTC+0200 Viktor Szakats * src/rtl/samples.c * minor fix in header comment 2016-04-25 09:56 UTC+0200 Viktor Szakats * package/harbour.rc * use better style to handle possibly undefined constants 2016-04-22 20:18 UTC+0200 Viktor Szakats * src/harbour.def + export new symbol hb_iswine from harbour dll 2016-04-22 17:04 UTC+0200 Viktor Szakats * .travis.yml + make a test call to hbmk2 after cross-builds 2016-04-22 16:59 UTC+0200 Viktor Szakats * src/rtl/gtcgi/gtcgi.c * enable UTF8 output in GTCGI, when run under Wine. There may be other conditions involved here, anyhow it works in a latest default Ubuntu terminal. 2016-04-22 15:41 UTC+0200 Viktor Szakats * include/hbapi.h * src/common/hbver.c + add hb_iswine() -> int function. It returns non-zero if running under Wine 2016-04-22 07:19 UTC+0200 Viktor Szakats * contrib/hbssl/evppkey.c ! add a missed '!= NULL' (for C++ mode) fixes https://github.com/vszakats/hb/issues/218 2016-04-21 18:24 UTC+0200 Viktor Szakats * contrib/hblzf/hblzf.hbp + detect new liblzf homebrew package 2016-04-20 22:44 UTC+0200 Viktor Szakats * contrib/hbmzip/mzip.c * contrib/xhb/xhbcopyf.c * src/rdd/delim1.c * src/rdd/hbsix/sxcompr.c * src/rdd/sdf1.c * src/rtl/copyfile.c * src/rtl/fscopy.c * src/rtl/memofile.c * src/vm/memvars.c % use FO_WRITE instead of FO_READWRITE where possible 2016-04-29 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * src/rtl/hbcom.c * src/rtl/hbproces.c * src/rtl/hbsocket.c + added support for user build time macro HB_NO_POLL which disables poll() usage * src/rtl/hbsocket.c ! fixed bug which caused that structure passed to poll() had uninitialized events member. * include/hbclass.ch * disabled by default VO compatible object constructors: <className>{ <params,...> } If someone needs them then he should add: #define HB_VO_CONSTRUCTOR before: #include "hbclass.ch" * src/compiler/harbour.y * typo in comment 2016-04-20 18:03 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbstrfmt.c ! restored pointer incrementation I removed unintentionally 2016-04-20 17:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbstrfmt.c * add to output trailing % in format pattern just like other % characters which are not part of valid format string, i.e. in this code: ? hb_StrFormat( "%-% %1%q%*%" ) only the last % was silently eaten from output 2016-04-20 17:19 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbstrfmt.c ! fixed wrongly added to output character after unclosed format strings, i.e. ? hb_StrFormat( "%1" ) ? hb_StrFormat( "%1%s", "x" ) ; Fixes https://github.com/harbour/core/issues/121 [vszakats] 2016-04-20 08:44 UTC+0200 Viktor Szakats * bin/harbour.ucf * README.md * update uncrustify location 2016-04-19 23:04 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_12_2.html 2016-04-19 20:33 UTC+0200 Viktor Szakats * contrib/hbssl/ssl.c ! SSL_SET_MSG_CALLBACK(): fix direct access of internal SSL structure and leaking the Harbour level callback object. Previously it was required to explicitly call this function with a NIL/invalid callback to avoid this leak, now it's automatic. (build tested only) 2016-04-19 20:03 UTC+0200 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/evpciph.c * contrib/hbssl/evpenc.c * contrib/hbssl/evpmd.c * contrib/hbssl/evppkey.c * contrib/hbssl/hbssl.h * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * contrib/hbssl/sslsess.c * contrib/hbssl/x509.c * change return of all *_is() functions to HB_BOOL (was `int`, `void *`) 2016-04-19 19:45 UTC+0200 Viktor Szakats * contrib/hbssl/sslctx.c * contrib/hbssl/sslsess.c * cleanups/formatting 2016-04-19 19:38 UTC+0200 Viktor Szakats * contrib/hbssl/evpciph.c * contrib/hbssl/pem.c * contrib/hbssl/ssl.c * cleanups/formatting 2016-04-19 17:44 UTC+0200 Viktor Szakats * src/rtl/inkey.c * HB_KEYNEW(): sync with Alt+<key> behavior fixed in GTWIN/GTWVT/GTQTC in these commits: 7d513fad62bb2ac560bb36879e4442eedcf7f6bf 7d2caa12d357ad91b8141baed07ce973534ca46d 7d1b59482db6ef675b6c73bcdbc99c0fa634d6c7 Slightly related: 19481f615efbc43c21153d3c8d5dd5829c57e34e 2016-04-19 13:14 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming libcurl 7.49.0 option CURLOPT_TCP_FASTOPEN https://curl.se/libcurl/c/CURLOPT_TCP_FASTOPEN.html 2016-04-19 23:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbffind.c * in *nix builds of hb_fsFind*() show "." leading file names if file mask also starts with "." regardless of hidden attribute state. This modification restores previous Harbour behavior keeping the new functionality. 2016-04-19 14:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwin/gtwin.c ! fixed wrong translation in my previous commit 2016-04-18 18:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c ! fixed stupid C&P typo in my previous modification - thanks to Lorenzo. 2016-04-18 18:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/strrepl.c ! fixed hb_strReplace() for strings longer then 1024 bytes and array used in 3rd parameter. 2016-04-18 17:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc1.cpp * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c ! changed extended keycodes generated for ASCII characters combined with ALT and/or CTRL flags. It fixes problems with code giving the highest priority for: ! hb_keyChar( nKey ) == "" i.e. MemoEdit() * contrib/hbmzip/mziperr.prg % replaced DO CASE / ENDCASE with SWITCH / ENDSWITCH ! fixed repeated error codes 2016-04-18 16:19 UTC+0200 Viktor Szakats * contrib/hbwin/tests/olesrv1.prg * contrib/hbwin/tests/olesrv3.prg * contrib/hbwin/tests/oletst3.bas * contrib/hbwin/tests/oletst3.prg * ChangeLog.txt ! delete lost links * contrib/xhb/tests/regexrpl.prg * use example.org 2016-04-18 12:22 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for new libcurl 7.49.0 feature: curl_easy_setopt( curl, HB_CURLOPT_CONNECT_TO[, { <list-of-host:port-pairs } ] ) Ref: https://curl.se/libcurl/c/CURLOPT_CONNECT_TO.html Ref: https://github.com/curl/curl/commit/cd8d23624594e21c37a0453459229a90a38ad471 2016-04-16 08:29 UTC+0200 Viktor Szakats * contrib/hbtip/popcli.prg ! TIPClientPop():GetOK() fix potential RTE when the underlying socket read failed Ref: https://clipper.borda.ru/?1-4-0-00001122-000-0-0 ! TIPClientPop():countMail() fix potential RTE when socket read failed in lower logic * tests/pipes.prg % use HB_ISNULL() 2016-04-15 22:59 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * url update 2016-04-15 16:58 UTC+0200 Viktor Szakats * package/mpkg_win.sh ! fix cosmetic regression in prev commit 2016-04-15 09:07 UTC+0200 Viktor Szakats * package/mpkg_win.sh ! extend previous 2016-04-15 00:59 UTC+0200 fix to the rest of encrypted variables 2016-04-15 00:59 UTC+0200 Viktor Szakats * package/mpkg_win.sh ! do not upload to VirusTotal (and fail) if API key is empty. This is an attempt to avoid such failure for Pull Requests Attempt to fix https://github.com/vszakats/hb/issues/209 2016-04-13 23:16 UTC+0200 Viktor Szakats * src/common/hbver.c * code formatting in OS/2 section 2016-04-13 21:50 UTC+0200 Viktor Szakats * tests/pipes.prg * use hb_ProgName() instead of hb_argv( 0 ) (to be in-sync with rest of codebase and where xhb compatibility is not a concern) ! whitespace 2016-04-13 21:48 UTC+0200 Viktor Szakats * tests/pipes.prg ! fix to use binary string functions 2016-04-13 21:43 UTC+0200 Viktor Szakats * contrib/hbtip/mailsend.prg ! remove abiguity of inline assignment committed in 2016-04-11 22:45 UTC+0200 2016-04-13 11:53 UTC+0200 Viktor Szakats * contrib/hbssl/err.c * contrib/hbssl/evp.c * do not call deprecated cleanup functions with OpenSSL 1.1.0 or upper Ref: https://github.com/openssl/openssl/commit/5eb8f71204626843a5ff1e7016d5d9e5a9598ee8 2016-04-13 10:47 UTC+0200 Viktor Szakats * README.md * src/rtl/tscalar.prg + refer to Norton Guides hosted under new https://harbour.github.io/ng/ 2016-04-13 10:16 UTC+0200 Viktor Szakats * README.md ! fix broken link, this time with a secure URL * src/rtl/tscalar.prg ! fix broken link * tests/symbolt.prg - remove broken link 2016-04-12 15:50 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_12_1.html 2016-04-12 08:43 UTC+0200 Viktor Szakats * contrib/gtwvg/progrbar.prg % remove unnecessary object vars Closes https://github.com/vszakats/hb/issues/207 2016-04-11 23:53 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.hbx + add new class * contrib/gtwvg/progrbar.prg ! fix more casing 2016-04-11 23:34 UTC+0200 Viktor Szakats * contrib/gtwvg/wvtwin.ch + add PBM_SETMARQUEE constant * contrib/gtwvg/gtwvg.hbp + contrib/gtwvg/progrbar.prg + add WvgProgressBar() class By José M. C. Quintas Ref: https://groups.google.com/d/msg/harbour-users/_8WK2xbVI0o/mscopOgoAwAJ Please create Pull Requests for further updates, if required. 2016-04-11 23:19 UTC+0200 Viktor Szakats * contrib/gtwvg/wvtwin.ch + add two missing PBS_* constants 2016-04-11 22:45 UTC+0200 Viktor Szakats * contrib/hbtip/mailsend.prg ! tip_MailSend() fix to return .F. when the final step of transmitting email data failed. Based on idea by Klas: https://groups.google.com/d/msg/harbour-users/zo9Os8_zlrE/37tWVWwnAwAJ * contrib/hbtip/smtpcli.prg % TIPClientSMTP():Write(): do not assign number of written bytes to ::nLastWrite, it is done already in ::super:Write() ; both untested. pls report any regression. 2016-04-10 10:34 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * follow https://github.com/curl/curl/commit/ccf7a826050fe33aace329b86d77895bdb7dd4c3 2016-04-09 08:42 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh ! fail script when make process fails 2016-04-09 08:39 UTC+0200 Viktor Szakats * src/rtl/gtcgi/gtcgi.c ! typo in prev commit Fixes https://github.com/vszakats/hb/issues/206 2016-04-08 23:00 UTC+0200 Viktor Szakats * src/rtl/gtcgi/gtcgi.c + option to disable UTF-8 support on Windows platform at build time using: set HB_USER_CFLAGS=-DHB_GT_CGI_NO_WINUTF8 at runtime using: set HB_GT_CGI_NO_WINUTF8=yes ; Mainly for testing purposes, as this feature is known to have caused e.g. terminal crash on certain systems. ; Ref: https://groups.google.com/d/msg/harbour-users/4ukI5pcX0b0/o8HxeBU6AgAJ 2016-04-07 19:07 UTC+0200 Viktor Szakats * tests/pipes.prg * cleanups, formatting 2016-04-08 14:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsocket.ch * src/rtl/hbsocket.c + added support for high-priority/out-of-bound data in select() emulated by poll() + added macros for socket send()/recv() flags: HB_SOCKET_MSG_* * src/rtl/filesys.c * src/rtl/hbcom.c * src/rtl/hbproces.c * include <poll.h> when HB_HAS_POLL macro is set manually by user (thanks to Teo) * contrib/hbnetio/netiosrv.c * minor optimization 2016-04-07 18:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + tests/pipes.prg + added demonstration/test code for communication between processes by unnamed pipes. The final output is send to stderr and can be redirected to file by 2> pipes.log 2016-04-07 18:34 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbprintf.c * pacified warning * src/rtl/filesys.c ! return -1 instead of from hb_fsPipeIsData() when poll() detects error or end of stream - 0 should indicate timeout only. * src/rtl/hbcom.c ! fixed bad typo which blocked hb_comSend() in *nixes using select() instead of poll() * src/rtl/filesys.c * src/rtl/hbcom.c * src/rtl/hbproces.c * src/rtl/hbsocket.c ; updated #if/#else/#endif comments 2016-04-06 16:12 UTC+0200 Viktor Szakats * src/common/hbprintf.c ! fix remaining warning by adding a cast 2016-04-06 15:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbprintf.c * pacified warnings 2016-04-06 15:41 UTC+0200 Viktor Szakats * config/common/clang.mk * config/win/clang.mk * utils/hbmk2/hbmk2.prg + enable -Wno-switch-enum in clang to suppress a warning where all the mitigations would result in suboptimal binaries and complicate code maintenance. 2016-04-06 15:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbstr.c * src/rtl/hbcom.c * src/rtl/hbproces.c * pacified few warnings - thanks to Viktor * contrib/sddfb/core.c ! fixed code which extracted float number from uninitialized memory. On some systems it could even cause GPF or other (ie. FPE) exception. 2016-04-06 15:20 UTC+0200 Viktor Szakats * src/rtl/hbproces.c * revert local fix to prepare for merge 2016-04-06 13:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! fixed infinite loop due to ignored POLLHUP errors reported by poll() ! fixed stupid typo * src/rtl/hbproces.c * src/rtl/hbsocket.c * src/rtl/filesys.c * src/rtl/hbcom.c * emulate read access when poll() used instead of select() reports POLLHUP - this poll() behavior is neither consistent within a single implementation, nor between different versions of the same implementation, and certainly not across platforms % optimize read/write access using extended (in comparison to select()) information reported by poll() ; TODO: emulate select() behavior for high priority data. [DONE] 2016-04-06 12:48 UTC+0200 Viktor Szakats * appveyor.yml * config/global.mk * include/hbsetup.h * package/mpkg_win_ci.sh + add untested preliminary support for Visual Studio "15" 2016-04-06 11:39 UTC+0200 Viktor Szakats * src/rtl/hbproces.c ! attempt to fix another variable name shadow warning (for iResult) * src/rtl/hbcom.c ! fix warnings after latest merge: ../../../hbcom.c:626:11: warning: 'return' will never be executed ../../../hbcom.c:722:11: warning: 'return' will never be executed ; NOTE: build process hangs on Linux inside hbmk2 due to pipe stall 2016-04-06 11:26 UTC+0200 Viktor Szakats * .travis.yml * upgrade to clang 3.8 * config/global.mk * utils/hbmk2/hbmk2.prg * associate Xcode 7.3 with clang 3.8 (rather than 3.7) 2016-04-05 21:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttone.c ! use asm {} directive only in CLANG BCC builds - asm {} needs TASM so using it breaks Harbour compilation with free BorlandC command line tools which do not contain TASM. * src/rtl/hbsocket.c * src/rtl/hbproces.c * src/rtl/filesys.c * src/rtl/hbcom.c ! use poll() instead of select() in POSIX.1-2001 compliant *nix builds It fixes the problem with file handles >= 1024 Please make tests in different *nix builds. It affects sockets, pipes and serial ports. 2016-04-05 16:38 UTC+0200 Viktor Szakats * src/vm/set.c % restore variable scoping and fix variable shadowing after merge 2016-04-05 16:27 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c * minor optimization * src/rdd/dbcmd.c * src/rdd/wacore.c * src/rdd/wafunc.c ! added protection against exceeding the limit of workarea numbers. Current maximum is 65534, WA 65535 is reserved for internal RDD WA destructor. ! fixed possible memory leak in hb_rddInsertAreaNode() * src/vm/set.c ! fixed typo in device detection code + added NUL to list of known device names in DOS, OS2 and MS-Win builds + recognize \\<server>\<device>, \\.\PIPE\*, \\.\<device> as device names in DOS, OS2 and MS-Win builds. 2016-04-04 09:29 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * nghttp2 1.9.2 2016-04-01 09:39 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.ch + add upcoming curl 7.49.0 option CURL_HTTP_VERSION_2_PRIOR_KNOWLEDGE 2016-04-01 09:31 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_12_0.html 2016-04-01 08:41 UTC+0200 Viktor Szakats * CONTRIBUTING.md + add references to TODO/FIXME comments and pending Issues/PR that need to be worked on. 2016-04-01 00:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/direct.c ! removed set of MS-Windows attributes passed unconditionally to hb_fsFind*() functions in Directory() PRG function. It fixes "L" attribute passed in 2nd parameter of Directory() function in *nix builds. When "L" is given in attribute list then Directory() do not follow links. * src/common/strwild.c * removed FNM_PERIOD from fnmatch() parameters in *nix builds * src/common/hbffind.c * in * nix builds set hidden attribute for file and directory names starting with "." except "." and ".." which are reported as is for Cl*pper and Harbour multiplatform compatibility. 2016-03-31 13:12 UTC+0200 Viktor Szakats * contrib/gtwvw/checkbox.c * contrib/gtwvw/pushbut.c * update comments to reflect the newly added nStyle parameters as well as existing @hControl parameters 2016-03-31 08:43 UTC+0200 Viktor Szakats * contrib/gtwvw/checkbox.c * contrib/gtwvw/combobox.c * contrib/gtwvw/pushbut.c * contrib/gtwvw/wvwutils.c + WVW_CXCREATE(), WVW_PBCREATE(), WVW_GBCREATE(), WVW_RBCREATE() add 13th nStyle parameter + WVW_CBCREATE() add 12th nStyle parameter * contrib/gtwvw/statbar.c * comment update 2016-03-30 16:29 UTC+0200 Viktor Szakats * ChangeLog.txt * reorder * src/rtl/sha2.c * fix mistake in recent merge * src/rtl/val.c * minor cleanup 2016-03-30 16:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h ! use "ll" instead of "I64" as 64-bit integer modifier in *printf() functions in Embarcadero CLANG based compilers 2016-03-30 16:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttone.c * applied patch from Andi Jahja for new BCC versions - many thanks * src/rtl/strrepl.c % added optimization code for strings longer then 1024 bytes For very long strings it can improve replace performance 20 or even more times. * src/rtl/sha2.c * src/rtl/val.c * src/vm/dynsym.c * src/vm/eval.c * src/vm/thread.c * formatting 2016-03-29 10:21 UTC+0200 Viktor Szakats * contrib/hbhpdf/core.c * contrib/hbhpdf/image.c * contrib/hbtinymt/core32.c * src/rtl/hbdyn.c ! silence warnings '-Wdouble-promotion' (new in darwin/clang that comes with Xcode 7.3 ~= 3.7-3.8) TODO: These remain to be fixed: [DONE] hbprintf.c:565:28: warning: implicit conversion increases floating-point precision: 'double' to 'long double' [-Wdouble-promotion] hbprintf.c:598:35: warning: implicit conversion increases floating-point precision: 'double' to 'long double' [-Wdouble-promotion] hbprintf.c:599:36: warning: implicit conversion increases floating-point precision: 'double' to 'long double' [-Wdouble-promotion] hbprintf.c:615:38: warning: implicit conversion increases floating-point precision: 'double' to 'long double' [-Wdouble-promotion] hbprintf.c:1226:93: warning: implicit conversion increases floating-point precision: 'double' to 'long double' [-Wdouble-promotion] hbstr.c:404:33: warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion] hbstr.c:495:15: warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion] hbstr.c:496:22: warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion] hbstr.c:498:22: warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion] 2016-03-28 21:14 UTC+0200 Viktor Szakats * .travis.yml * update Xcode 2016-03-28 21:02 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * update dependencies 2016-03-28 13:09 UTC+0200 Viktor Szakats * config/dyn.mk * config/win/mingw.mk * src/dynlib/2nd/Makefile * src/dynlib/Makefile + src/harbour.def + use .def file to specify public symbols of harbour.dll for more details, see: https://github.com/vszakats/hb/commit/f238e5f81ff07cb07fa3a21d3c82009db79ab7de https://github.com/vszakats/hb/commit/b2c9e4a63b1aca42b462cec49d55c4b1cbd1066c ; NOTE: please make sure to add any new public (HB_EXPORT) symbols to this list. Ordinals are not significant ATM so the best is to keep alphabetical order. 2016-03-28 13:01 UTC+0200 Viktor Szakats * package/mpkg_win.sh * restore tag update code, it is still required 2016-03-28 11:45 UTC+0200 Viktor Szakats * src/harbour.def + add new symbol 2016-03-28 11:14 UTC+0200 Viktor Szakats + package/mpkg_win_ci_refresh_deps.sh + add dependency refresher bash script It will extract versions/checksums of dependencies from build logs and update Harbour's download script accordingly. 2016-03-28 11:12 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win.sh * try to drop manual tag/release recreation on GitHub after AppVeyor implemented it natively. * appveyor.yml * 'os:' -> 'image:' 2016-03-28 09:07 UTC+0200 Viktor Szakats * src/rtl/gttone.c ! fix for newer bcc versions Based on patch by Andi Jahja: https://groups.google.com/d/msg/harbour-devel/-ovQ1wyvoEc/k9sUKBULEAAJ 2016-03-28 09:04 UTC+0200 Viktor Szakats * config/global.mk * config/win/bcc.mk * utils/hbmk2/hbmk2.prg * correctly detect clang version under Xcode 7.3 ! bcc64 fixes (untested) 2016-03-27 19:30 UTC+0200 Viktor Szakats * contrib/hbct/fcopy.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnf/dfile.prg * contrib/hbnf/savearr.prg * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/tests/base64.prg * contrib/hbxpp/doc/en/binnumx.txt * contrib/hbziparc/ziparc.prg * contrib/xhb/stream.prg * doc/en/binnum.txt * extras/hbvpdf/core.prg * src/rtl/dircmd.prg * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/memvarhb.prg * src/rtl/tlabel.prg * tests/inherit.prg * tests/readhrb.prg * tests/stripem.prg * utils/hbmk2/hbmk2.prg ! fix to explicitly specify FO_READ open flag for all hb_vfOpen() call that have been coverted from FOpen() where open flag argument was omitted. hb_vfOpen() by default uses FO_READWRITE while FOpen() is using FO_READ, so this is required to allow opening files that can be read only. Thanks to Mario H. Sabado for the problem report. Fixes https://github.com/vszakats/hb/issues/200 2016-03-27 17:54 UTC+0200 Viktor Szakats * contrib/hbmxml/tests/tohash.prg ! avoid overwriting node attributes with the same name ! node with empty space as a value, avoids creating an empty hash ; Patch by @rafathefull Closes: https://github.com/vszakats/hb/issues/203 2016-03-27 17:50 UTC+0200 Viktor Szakats * package/mpkg_win_ci.sh * update depencencies 2016-03-10 01:31 UTC+0100 Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerate * utils/hbmk2/hbmk2.prg * drop line-ending space (revert) 2016-03-10 01:10 UTC+0100 Viktor Szakats * contrib/hbrun/doc/hbrun.*.md * utils/hbmk2/doc/hbmk2.*.md * regenerate * utils/hbmk2/hbmk2.prg * drop line-ending space (experiment) 2016-03-09 21:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to apply lib prefix and extension to -depimplibs= in-line target names ! use implib extension variable instead of regular lib extension for implib operations (didn't cause any user-facing issue) 2016-03-09 21:23 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh * use long key ID in all gpg output 2016-03-09 20:10 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + -depimplibs= option to support .a files as source (useful for mingw family + -depimplibs= option to support specifying the target implib name by adding it after a colon ':' [TRANSLATION] * contrib/hbssl/hbssl.hbp % pick and install implibs from mingw OpenSSL binary package (instead of copying the .dlls into implibs) * package/mpkg_win_dl.sh + try using long key IDs 2016-03-09 14:35 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh + pull custom builder key from Bintray 2016-03-09 02:03 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_11_1.html 2016-03-09 00:17 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * minor cleanup 2016-03-25 17:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbclass.ch ! use more restrictive PP rules to avoid possible wrong interactions with code using 'var' and 'data' identifiers * force class name to be valid identifier * commented unused rules * include/std.ch ! fixed CODEPAGE clause in COPY TO and APPEND FROM commands + added VIA and CODEPAGE clauses to JOIN command * src/rdd/dbcmd.c * updated comments with some function syntax 2016-03-18 17:42 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/rdd/dbcmd.c + added new function: hb_dbGetFilter() -> <bCode> | NIL it returns codeblock used as work area filter or NIL * src/debug/dbgwa.prg * use hb_dbGetFilter() to check if WA filter was set without filter text representation ; above modifications created by Rolf - thanks * src/rdd/dbcmd.c ! clear filter if dbGetFilter( , "" ) is called instead of setting dummy one - thanks to Rolf 2016-03-16 14:19 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbclass.ch * typo in comment 2016-03-16 14:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbclass.ch * disabled DECLARE to not generate ignored by compiler noise in .ppo files * src/rdd/dbcmd.c ! allow to use dbSetFilter() with string only parameter without codeblock - Cl*pper compatibility fix. Cl*pper allows to set text filter without codeblock. In local RDDs it effectively does nothing and only dbFilter() returns it but RDDs with automatic filter optimization like CL53/DBFCDX / COMIX/ClipMore or RDDs working with remote data base servers may use only text version of filter and ignore or use with lower priority the codeblock so Harbour has to work like Cl*pper here. * src/rdd/workarea.c * typo in comment * contrib/rddads/ads1.c * do not validate empty text filters 2016-03-10 12:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/langcomp.prg ! added missing de-AT lang mapping 2016-03-08 22:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/isprint.c ! HB_ISPRINTER(), ISPRINTER() fix to open the port name with CREATE flag (= CREATE_ALWAYS on Windows). It may fix port detection in certain situations. Tested on Windows 7 x86 and x64, whereas it will now return .T. if the port is associated with a queue, and .F. if it isn't. It seems to cause no harm on OS X. Please test it on other systems and other LPT scenarios (e.g. with real hardware device attached). ; borrowed from Viktor's fork: 2016-03-08 18:19 UTC+0100 Viktor Szakats * ChangeLog.txt ; hide email addresses 2016-03-08 18:19 UTC+0100 Viktor Szakats * src/rtl/isprint.c ! HB_ISPRINTER(), ISPRINTER() fix to open the port name with CREATE flag (= CREATE_ALWAYS on Windows). It may fix port detection in certain situations. Tested on Windows 7 x86 and x64, whereas it will now return .T. if the port is associated with a queue, and .F. if it isn't. It seems to cause no harm on OS X. Please test it on other systems and other LPT scenarios (e.g. with real hardware device attached). 2016-03-08 16:18 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbwin/hbwin.ch + added macros with printer status errors * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * clear pointers and memory buffers passed to windows printer functions * removed repeated definition ; [vszakats] taken from 3.4 as-is 2016-03-08 16:01 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/mzip.c ! fixed memory leak ! typo in comment * contrib/hbziparc/ziparc.prg ! strip leading dir separators from filenames stored in ZIP file when <lWithDrive> parameter of hb_ZipFile() is not set. 2016-03-08 02:58 UTC+0100 Viktor Szakats * appveyor.yml * use product-name agnostic workdir 2016-03-07 21:31 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh + verify GPG signature of bintray binaries 2016-03-07 18:32 UTC+0100 Viktor Szakats * include/hblang.hbx * src/harbour.def * src/lang/Makefile * src/rtl/langcomp.prg + src/lang/l_de_at.c + add Austrian German language module language module mod by: Byte1one (byte-one.com) Ref: https://groups.google.com/d/msg/harbour-devel/3Jk29ggmE6U/OHwo9YH-CQAJ 2016-03-07 02:38 UTC+0100 Viktor Szakats * src/lang/l_is.c * update Icelandic language module Thanks to Isleifur Gislason Ref: https://groups.google.com/d/msg/harbour-devel/7klw4qmTEpA/OK7OHZ_KCQAJ TODO: Upload to Transifex 2016-03-06 16:58 UTC+0100 Viktor Szakats * contrib/hbssl/tests/mkpem.sh * contrib/hbssl/tests/privkey.pem * contrib/hbssl/tests/pubkey.pem * generate keys with new genpkey option. * switch to PKCS#8 private key format. * previous commits: * switch to AES-256 key encryption * switch to 2048-bit keys * use #streaminclude to pull key into string * add script to generate keypair 2016-03-02 20:13 UTC+0100 Viktor Szakats * package/mpkg_win.sh * minor cleanup ! fix another typo in previous mod * utils/hbmk2/hbmk2.prg ! fix RTE regression after fe4ef3a72b490f5617c2a0683d9defde7b3715b5 Fixes https://github.com/vszakats/hb/issues/199 2016-03-02 19:35 UTC+0100 Viktor Szakats * package/mpkg_win.sh ! fix missing update from previous commit 2016-03-02 18:24 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win.sh ! attempt to fix to use a `strip` build matching the binaries it was invoked to process. When using single-target mingw builds (like msys2/mingw), the 32-bit strip tool can only process 32-bit binaries, and the 64-bit strip tool can only process 64-bit binaries. For dual-target mingws, use the single strip tool to process both targets. * cleanup toolchain selection logic 2016-03-02 16:22 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * fix two missing libcurl exports due to regex mistake 2016-03-02 13:15 UTC+0100 Viktor Szakats * contrib/hbwin/tests/ole.prg * minor update to better recognize UNC paths 2016-03-02 12:14 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * update dependency hashes to: ! fix bloated libcurl.dll 2016-03-01 23:53 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * update dependency hashes to: ! fix an issue with wrongly generated curl implib ! restore openssl reproducibility after a recent update adding pkg-config files to the package, but missed to set their timestamp 2016-03-01 16:18 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * openssl 1.0.2g 2016-03-08 14:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/lang/Makefile + src/lang/l_de_at.c * include/hblang.hbx + added new DE_AT German-Austria lang module by byte1one/at/gmail.com * src/lang/l_is.c ! fixes in Icelandic lang module by Isleifur Gislason isleifurgisla/at/gmail.com 2016-03-01 16:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c + added support for CYGWIN ssh terminal (i.e. ssh.exe included in github for MS-Windows) ! fixed support for terminals which always scrolls when the most bottom/right character is written. In current version GTTRM simply ignores this character cell. On such terminals it can be shown by writing the last character one cell before then sending escape sequences to move cursor back, insert one space and finally restoring overwritten character cell value. Anyhow it increases number of used escape sequences so I decided to not implement it yet. 2016-02-28 22:14 UTC+0100 Viktor Szakats * contrib/hbzebra/qrcode.c * ChangeLog.txt * url updates 2016-02-28 13:37 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win.sh * start using lowercase names for local variables 2016-02-27 23:58 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * update dependencies (nghttp2 1.8.0 plus build enhancements) 2016-02-26 03:38 UTC+0100 Viktor Szakats * contrib/hbpost.hbm * utils/hbmk2/hbmk2.prg + move higher entropy mingw64 options to hbmk2, so that it's enabled for all apps when -harden option is used. It means that for -harden to work, the app must handle 64-bit pointers/handles correctly. [INCOMPATIBLE] 2016-02-26 02:30 UTC+0100 Viktor Szakats * config/win/mingw.mk * src/main/harbour.c * src/pp/hbpp.c * src/vm/mainstd.c * utils/hbmk2/hbmk2.prg + replace hack to force relocations in hardened mingw executables with a linker option. It appears to work with both GUI and console apps and it's undoubtedly cleaner and it resolve this issue when linking non-Harbour apps with hbmk2. 2016-02-26 01:32 UTC+0100 Viktor Szakats * config/win/mingw.mk * contrib/hbpost.hbm + unlock even higher entropy ASLR in 64-bit mingw builds. It might cause problems if statically linked code truncates 64-bit pointers. Harbour's own source should be safe, as well as most 3rd party code we have vendored in 3rd directories, but let's find out. 2016-02-24 17:37 UTC+0100 Viktor Szakats * contrib/hbpost.hbm + set internal version of contrib dlls as well 2016-02-24 17:18 UTC+0100 Viktor Szakats * config/global.mk * config/win/mingw.mk + try setting internal dll version [VERIFIED OK] 2016-02-24 13:47 UTC+0100 Viktor Szakats * src/dynlib/2nd/Makefile * src/dynlib/Makefile * avoid double pathsep + add .def logic to 2nd dynlib 2016-02-24 13:21 UTC+0100 Viktor Szakats * config/dyn.mk * config/win/mingw.mk * src/dynlib/Makefile + src/harbour.def + add .def file to create a well defined ABI in harbour.dll. The file controls the list of exported symbols based on a manually updated list. Currently only used for win/mingw* targets. See also: 2016-02-22 03:04 UTC+0100 Another benefit is slightly smaller .dll size. This requires manual maintenance similarly to include/harbour.hbx, but it's more strict because a .def file cannot reference any symbol that is not actually exported from any linked object file. This can be a issue with optional core components. Current .def file is based on the default state. To follow optional optional components. Those first need to identified along with the condition that enables/disables them, then this logic used to dynamically generate a harbour.def from a template. Or maybe parse the generated object files and create a .def file based on that information. New/deleted/renamed public (expored) core function will need to be registered in this file, both Harbour and C level ones. 2016-02-24 11:36 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * rebuilt curl package 2016-02-24 00:40 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.hbp ! try to convince hbmk2 to pick the ready-made libcurl implib, instead of falling back to making a copy of libcurl.dll. It was tested with my curl binaries. [VERIFIED OK] https://bintray.com/vszakats/generic/curl/ 2016-02-23 20:04 UTC+0100 Viktor Szakats * ChangeLog.txt * update to entry 2016-02-22 03:04 UTC+0100 about experiences with the new setup. * src/rtl/isprint.c + add comment about what [HB_]ISPRINTER() is and isn't. 2016-02-23 13:07 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * libssh2 1.7.0 and other updates: https://github.com/curl/curl-for-win/commit/9bd15ecf744051712e5c4bae917c8fc6a9d0c4aa 2016-02-22 20:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + add support for filename completion in "dot" prompt it works with the <Tab> key and kicks in when function name completion didn't give results 2016-02-22 17:35 UTC+0100 Viktor Szakats * config/rules.mk * restore previous space hack. 2016-02-22 17:25 UTC+0100 Viktor Szakats * config/*/gcc.mk * config/common/clang.mk * config/bsd/pcc.mk * config/darwin/icc.mk * config/dos/djgpp.mk * config/linux/icc.mk * config/linux/sunpro.mk * config/sunos/sunpro.mk * config/vxworks/diab.mk * config/wce/mingwarm.mk * config/wce/msvcarm.mk * config/wce/poccarm.mk * config/win/bcc.mk * config/win/icc.mk * config/win/mingw.mk * config/win/msvc.mk * config/win/pocc.mk * config/win/tcc.mk * config/win/xcc.mk * move `-c` option from `CC_IN` to `CFLAGS`. For a cleaner command-line and because `-c` is not an input-file prefix option. * config/rules.mk * use the hack already employed to assign space to variable (both work equally well though) [WELL, THEY DON'T. REVERTED.] 2016-02-22 17:01 UTC+0100 Viktor Szakats * config/rules.mk % more effort to reduce spaces. (now this applies to source filenames as well, but Harbour doesn't use spaces in filenames, nor are absolute paths involved so it should be okay.) 2016-02-22 16:46 UTC+0100 Viktor Szakats * config/rules.mk % reduce redundant spaces in build commands * also a minor reorder in command-line to have variable length arguments at the end * contrib/hbwin/win_prn2.c * delete FIXME * add NULL initialization for value passed by address 2016-02-22 15:57 UTC+0100 Viktor Szakats * config/rules.mk * reshuffle harbour command-line to make build logs easier on the eye 2016-02-22 14:39 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn2.c ! add missing header Fixes https://github.com/vszakats/hb/issues/198 2016-02-22 07:38 UTC+0100 Viktor Szakats * contrib/hbwin/hbwin.ch + add WIN_PRINTER_STATUS_* constants as return values for win_PrinterStatus(). Plus an extra, Harbour-only value representing a wrapper error. * contrib/hbwin/win_prn2.c * win_printerStatus(): add FIXME to a code section which doesn't seem to make much sense by returning a single negative value after iterating through the list of printer jobs. It's a fallback case, only kicking in if the printer status is zero, so the function should remain usable. * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_prn1.c * contrib/hbwin/win_prn2.c * contrib/hbwin/win_prn3.c * clear structures before passing them to Windows 2016-02-22 03:04 UTC+0100 Viktor Szakats * config/win/mingw.mk + reinstate commit 358230f35c84fad2342400f307fe4064a0b4e058 it means that it's now again possible to disable the duplicate C compiler passes with win/mingw (32-bit) targets. This makes builds much faster but breaks unicows support in harbour-*.dll. In practice it means that -shared .exes won't run on Win9x with Harbour builds with that option enabled. Some Harbour .exe are built in -shared mode by default, these won't run on Win9x either. EXPERIMENTAL. ; UPDATE: This results in a harbour.dll very slightly larger and a matching implib much larger (2.5 MB -> 3.5 MB) It is because all public symbols get exported, not just those marked as HB_EXPORT. 64-bit binaries were always built like this. Probably a .def file (with all the maintenance hassle it comes with) could help to keep the best of both worlds, while also ensuring a well defined harbour.dll ABI. * .travis.yml * package/mpkg_win_ci.sh + disable unicows harbour*.dll support in CI builds 2016-02-21 02:22 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh ! apply hack for MSYS2/mingw-w64 to avoid errors in linked binaries See the URLs in the patch for more info. 2016-02-21 00:56 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! use LF EOL for -bldhead header. It's now consistent with -vcshead and fixes this regression in d008984c16e3964ba1ff36969a1eb47e3c093852 % use LF EOL internally in hbrun 2016-02-20 19:55 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * switch back to -Wl,-Bstatic/-Wl,-Bdynamic ('B' is required) 2016-02-20 18:49 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix bugs in -fullstatic support on win/mingw, os2/gcc* and dos/djgpp as implemented in commit 98992a3ce1f9375893d4563060073d4902237703 (2015-09-05 01:00 UTC+0200). The option is now properly used as a prefix, its effect disabled by a suffix. A minor step closer to standardise dynamice/static lib linking. Disable it for darwin as it appears to not be supported, according to the internet. 2016-02-20 16:19 UTC+0100 Viktor Szakats * package/getmingw.hb * README.md * utils/hbmk2/hbmk2.prg * add official terminology for "dual-target" mingw: multilib 2016-02-20 13:42 UTC+0100 Viktor Szakats * package/harbour.rc ! fix to prev ! readd processorArchitecure to dll dependency. Documentation doesn't make it clear if it's necessary, so better restore it. 2016-02-20 13:35 UTC+0100 Viktor Szakats * package/harbour.rc ! assemblyIdentity version must in strict 'n.n.n.n' format 2016-02-20 12:38 UTC+0100 Viktor Szakats * README.md * src/rtl/gtcrs/gtcrs.c * src/rtl/gtpca/gtpca.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/hbcom.c * utils/hbmk2/hbmk2.prg * obscure some brands to avoid any trademark problem 2016-02-20 11:38 UTC+0100 Viktor Szakats * package/harbour.rc + readd mandatory IdentityInfo data. Now it can be generated dynamically, making it maintenance-free. https://msdn.microsoft.com/library/aa374191 * cleanups 2016-02-19 23:47 UTC+0100 Viktor Szakats * contrib/hbformat/utils/hbformat.hbp ! typo in .rc path 2016-02-19 22:46 UTC+0100 Viktor Szakats * package/harbour.rc % remove two newlines from the manifest ! fix a whitespace typo in manifest causing the exe to fail with error code 14001 and make mingw32-make hang 2016-02-19 20:53 UTC+0100 Viktor Szakats * package/harbour.rc - package/harbour.mft * .gitattributes % merge external Windows manifest into the resource itself the content will be more compact without losing indentation, and resource compiler #include rules no longer affect the build, so hacks can be dropped. % move OS/2 guards to harbour.rc * src/main/Makefile - src/main/harbour.rc * contrib/hbformat/utils/hbformat.hbp - contrib/hbformat/utils/hbformat.rc * contrib/hbnetio/utils/hbnetio/hbnetio.hbp - contrib/hbnetio/utils/hbnetio/hbnetio.rc * utils/hbi18n/Makefile - utils/hbi18n/hbi18n.rc * utils/hbspeed/Makefile - utils/hbspeed/hbspeed.rc * utils/hbtest/Makefile - utils/hbtest/hbtest.rc * utils/hbmk2/hbmk2.rc % remove now unnecessary per-project .rc files * utils/hbi18n/hbi18n.hbp * utils/hbtest/hbtest.hbp ! add harbour.rc 2016-02-19 19:35 UTC+0100 Viktor Szakats * src/vm/extend.c * src/vm/itemapi.c ! fix missing intermediate casts in size getter functions: hb_parns(), hb_parnsdef(), hb_itemGetNS() Thanks to Przemek for the catch, test code and fix hint. ``` proc main() local c := 12345678901234567890 ? "0x" + HB_NUMTOHEX( FS( c ) ) return #pragma begindump #include "hbapi.h" HB_FUNC( FS ) { hb_retns( hb_parns( 1 ) ); } #pragma enddump ``` 2016-02-19 18:38 UTC+0100 Viktor Szakats * config/common/clang.mk * config/darwin/gcc.mk * config/win/mingw.mk + enable `-D_FORTIFY_SOURCE=2` C option It has minor impact on Harbour, let's keep it that way. ; commented for now, it appears that on supported platforms it may be enabled (untested), while on unsupported ones it's just ignored (tested with mingw and darwin). * utils/hbmk2/hbmk2.prg + enable `-D_FORTIFY_SOURCE=2` C option with `-harden` hbmk2 option (on gcc/mingw/clang family) Since `-harden` is enabled for contribs, it will now apply to them automatically. ; commented for now, it appears that on supported platforms it may be enabled (untested), while on unsupported ones it's just ignored (tested with mingw and darwin). * contrib/hbpost.hbm ! fix some options to be enabled for all mingw (not just x86) % delete (commented) references to `-fno-strict-overflow` % delete (commented) references to `-D_FORTIFY_SOURCE=2` 2016-02-18 21:27 UTC+0100 Viktor Szakats * contrib/hbssl/ssl.c ! enable AppLink hack on win 32-bit only * package/mpkg_win_ci.sh ! fix HB_DIR_MINGW_* value to be compatible with mpkg_win.sh * minor cleanup 2016-02-18 19:08 UTC+0100 Viktor Szakats * appveyor.yml * minor reshuffle of whitelisted test branches * package/mpkg_win_ci.sh * package/mpkg_win.sh + package gcc .dlls when using msys mingw-w64 2016-02-18 17:18 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win.sh + be more flexible with branch names 2016-02-18 17:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/fileio.ch + added HB_VF_IONAME to hb_vcConfigure() actions * contrib/hbbz2io/bz2io.c * contrib/hbcomio/comio.c * contrib/hbgzio/gzio.c * contrib/hbmemio/memio.c * contrib/hbnetio/netio.h * contrib/hbnetio/netiocli.c * contrib/hbpipeio/pipeio.c * contrib/hbtcpio/tcpio.c * src/rtl/filebuf.c + implemented HB_VF_IONAME * contrib/hbnetio/netiosrv.c ! added protection against possible buffer overflow * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * restored CL5.[23] compatible tag selection - I had to broke it when I was adding SIX3 compatibility functions 2016-02-18 13:57 UTC+0100 Viktor Szakats * src/rtl/trace.c * src/vm/initsymb.c % remove two more Harbour source filenames embedded in final binaries 2016-02-18 12:43 UTC+0100 Viktor Szakats * contrib/hbtip/popcli.prg ! typo in prev 2016-02-18 12:20 UTC+0100 Viktor Szakats * contrib/hbtip/httpcli.prg * contrib/hbtip/popcli.prg ! fix multiple regressions where an RTE could happen in ::inetRecvLine() returned NIL and that value was later passed to hb_BLen() or HB_ISNULL() 2016-02-18 11:25 UTC+0100 Viktor Szakats * contrib/hbtip/client.prg ! TIPClient(): fix HTTPS transfers over proxy connections Patch by Karsten Stücker Ref: https://groups.google.com/d/msg/harbour-devel/VM82LKBI3E4/z5H5kW0sBAAJ (with minor cleanups) 2016-02-18 10:20 UTC+0100 Viktor Szakats * include/hbinit.h % exclude source filename from HB_INIT_SYMBOLS_END() If this is critical for some modules, an alternate macro can be introduced which allows to pass an explicit module name: #define HB_INIT_SYMBOLS_END_MODULE( func, module ) HB_INIT_SYMBOLS_EX_END( func, module, 0L, 0x0000 ) Is there such place? 2016-02-17 17:50 UTC+0100 Viktor Szakats * config/win/mingw.mk * contrib/hbpost.hbm * package/mpkg_win_ci.sh + enable -static-libgcc for win/mingw* builds by default (was enabled for CI builds only, so far) * add more hardening settings and some more for win/mingw*, all commented yet 2016-02-17 02:16 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_11_0.html 2016-02-16 22:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapirdd.h * src/rdd/wacore.c * src/rdd/workarea.c + added new C function which allows to register RDD redirector which depends on used table name: typedef LPRDDNODE ( * HB_RDDACCEPT ) ( LPRDDNODE pRddNode, const char * szFileName ); void hb_rddSetFileRedirector( HB_RDDACCEPT funcAccept, HB_BOOL fEnable ); + added new C functions which allows to find RDD respecting active redirectors: const char * hb_rddFindDrv( const char * szDriver, const char * szFileName ); LPRDDNODE hb_rddFindFileNode( LPRDDNODE pRddNode, const char * szFileName ); * cleaned some HB_TRACE messages * src/rdd/dbcmd.c * src/rdd/wafunc.c + use functions which respect redirectors to find RDD 2016-02-16 15:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbgtcore.c ! fill whole box area in DispBox() when 0 length string or string with Chr( 0 ) at the beginning is used as box frame - Cl*pper compatible behavior 2016-02-15 23:28 UTC+0100 Viktor Szakats * config/win/mingw.mk + replace gcc 6.0 warning that is enabled by default with some other interesting ones, which need to be enabled explicitly 2016-02-13 14:03 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh % always use 'mingw32-make' instead of native 'make', as the latter has fatal performance on MSYS2. Harbour build doesn't require native make, so this is fine. UPDATE: This was a completely wrong assesment of the problem. It was an infinite CI build problem, introduced by a minor change not even included in the ChangeLog. Corrected in https://github.com/vszakats/hb/commit/613f40ddfb3d9c1cda18b04d920e02cd4a0f42b9 Anyhow the mingw32-make can stay until there is good reason to switch to `make`, e.g. to utilize pacman packages under MSYS2. * package/mpkg_win_dl.sh * enable msys-mingw builds by special branch name instead of 'lto'. 2016-02-13 13:27 UTC+0100 Viktor Szakats * src/3rd/jpeg/Makefile * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile * src/3rd/png/Makefile * src/3rd/tiff/Makefile * src/3rd/zlib/Makefile * make skip message more clear 2016-02-13 11:46 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh * minor cleanup 2016-02-13 03:51 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * update dependency hashes * package/mpkg_win.sh * minor 2016-02-12 19:20 UTC+0100 Viktor Szakats * package/mpkg_win.sh + CI vendor agnostic fallback for Git branch detection 2016-02-12 17:11 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win.sh % simplify 'realpath' expressions * be vendor agnostic when detecting a CI platform * use 'realpath' instead of vendor-specific envvar * use native MSYS2 path to point to mingw-w64 2016-02-12 14:08 UTC+0100 Viktor Szakats * contrib/hbhttpd/tests/eshop.prg * contrib/hbnf/tests/tbwhile.prg * contrib/xhb/hblog.prg * contrib/xhb/ttable.prg * src/rdd/hbsix/sxcompat.prg * tests/ntx.prg * tests/rdd2.prg ! fix hb_dbDrop() and hb_dbExists() calls applied to indexes to pass the index as 2nd parameter and pass the related table in the 1st. (xhb lib is unclear OOP code, so these updates may not be correct) Ref: https://groups.google.com/d/msg/harbour-users/1DL59eh2krE/xvoveVbbCwAJ * use explicit table/index filename extensions in a few more places. (extension is a personal choice/relaxed convention, not any indication or promise of internal format. There are just too many internal format variations (in case of Harbour tables/indexes) that it could be a precise indicator.) 2016-02-12 13:31 UTC+0100 Viktor Szakats * contrib/hbssl/ssl.c * reconfigure to always enable APPLINK logic, after reenabling the APPLINK logic in my OpenSSL binaries (it's the default setting, so this should be now standard) * the APPLINK hack to avoid OpenSSL APPLINK crashes is now enabled on or below 1.0.2f only. Newer versions have this fixed upstream: https://github.com/openssl/openssl/commit/52464477be1d7af557479f55cf6b09838450a8fa 2016-02-12 00:35 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh * cleanup 7z usage * always call `7z` (not `7za) * install and use MSYS2 package (AppVeyor provides one, but anyway) * never use the manually downloaded copy we use bundling purposes - delete untested BCC implib hack that requires native tools * update requirements * add portability FIXME ! better wording * package/mpkg_win_dl.sh ! copyright header 2016-02-12 00:15 UTC+0100 Viktor Szakats * package/mpkg_win.sh + add downloaded 7z to PATH on Windows systems * run platform default 7z % minor cleanup 2016-02-12 00:04 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * use `make` (from MSYS2) instead of `mingw32-make` when creating mingw builds [EXPERIMENTAL] * package/getmingw.hb ! fix to prev * minor text cleanup 2016-02-11 22:51 UTC+0100 Viktor Szakats * package/mpkg_win.sh ! fix copying BUILD*.txt files 2016-02-11 22:15 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh ! fix mistakes in prev 2016-02-11 21:54 UTC+0100 Viktor Szakats * package/getmingw.hb * package/mpkg_win_ci.sh * package/mpkg_win_dl.sh * package/mpkg_win.sh + steps to support single target mingw distros, e.g. the ones included on non-Windows systems and in MSYS2 It will be enabled in 'lto' builds for testing. * tests/rdd/make_c53.bat * minor 2016-02-11 19:59 UTC+0100 Viktor Szakats * appveyor.yml + switch to use MSYS2 environment (was: Git for Windows) 2016-02-11 18:08 UTC+0100 Viktor Szakats * README.md + add more pacman packages 2016-02-11 17:54 UTC+0100 Viktor Szakats * contrib/gtalleg/gtalleg.hbm * contrib/hbcairo/hbcairo.hbp * contrib/hbcups/hbcups.hbp * contrib/hbcurl/hbcurl.hbm * contrib/hbexpat/hbexpat.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbgd/hbgd.hbp * contrib/hbgs/hbgs.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbicu/hbicu.hbp * contrib/hbmlzo/hbmlzo.hbp * contrib/hbmxml/hbmxml.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbodbc/hbodbc.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbsqlit3/hbsqlit3.hbp * contrib/hbssl/hbssl.hbm * contrib/sddfb/sddfb.hbp * contrib/sddmy/sddmy.hbp * contrib/sddodbc/sddodbc.hbp * contrib/sddpg/sddpg.hbp * contrib/sddsqlt3/sddsqlt3.hbp * README.md * populate pacman package names of Harbour dependencies 2016-02-11 17:22 UTC+0100 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + detect pacman package manager on Windows (used by MSYS2) and on Linux (used by Arch Linux) 2016-02-11 17:19 UTC+0100 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + detect 2016-02-11 11:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * include/hbapifs.h * src/rtl/filesys.c * cleaned hb_fsOpenEx() parameters order * src/common/hbprintf.c ! typo in comment 2016-02-10 17:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * replaced hb_fsCreate() and hb_fsCreateEx() with wrappers to hb_fsOpenEx() 2016-02-10 13:47 UTC+0100 Viktor Szakats * src/compiler/genc.c * generate dummy code if the output would be empty to avoid C compiler warning about 'empty translation unit' * include/hbdefs.h + add macro HB_SOURCE_FILE_UNUSED() to work around the same as above in C sources: ``` #include "hbapi.h" #if SUPPORTED <code> #else HB_SOURCE_FILE_UNUSED(); #endif ``` 2016-02-09 23:46 UTC+0100 Viktor Szakats * README.md + add link to MSYS2 2016-02-08 23:23 UTC+0100 Viktor Szakats * doc/xhb-diff.txt ! minor typos after merge 2016-02-09 20:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c ! pacified BCC warning - thanks to Grigory 2016-02-09 16:36 UTC+0100 Viktor Szakats * contrib/hbssl/ssl.c * add a missing patch for LibreSSL 2016-02-09 16:07 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/evpciph.c * contrib/hbssl/evpenc.c * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.ch * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * patch up hbssl to build against libressl (2.3.2) - delete SSL2 and SSL3 related logic and constants [INCOMPATIBLE] * EVP_ENCODE_CTX_NEW() clear allocated memory when using LibreSSL and older OpenSSL backends * package/mpkg_win.sh * delete unnecessary -e sed option 2016-02-09 18:11 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/hbnetio.hbx * contrib/hbnetio/netiocli.c * contrib/hbnetio/readme.txt + added new client side function: netio_SetPath( <pConnection> [, <cPath>] ) -> [<cPrevPath>] It set/get path prefix for automatic file redirection to HBNETIO. If automatic redirection is activated then <cPath> is removed from file name passed to HBNETIO server, i.e.: netio_SetPath( netio_GetConnection(), "//myserver/myshare" ) [...] /* open "/data/table" on HBNETIO server */ use "//myserver/myshare/data/table" * allow to pass filename to netio_Decode() with "net:" prefix * allow to pass to use "net:" prefix in function names passed to netio_{Proc|Func}*() when <pConnection> parameter is not used ! fixed possible GPF trap when connection cannot be set * src/vm/memvars.c % do not create reference chain when memvars are passed by reference and called function uses PARAMETERS statement ! do not return references from __mvDbgInfo() but destination values * doc/xhb-diff.txt ! typo * src/vm/itemapi.c ! typo in debug trace message 2016-02-08 22:38 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * doc/xhb-diff.txt * updated chapter "MACROS WITH DECLARED SYMBOLS" - better description for -km and -kd Harbour compiler switches * updated chapter "MACRO MESSAGES" - refreshed description of xHarbour compiler for current versions 2016-02-08 16:46 UTC+0100 Viktor Szakats * package/mpkg_win.sh + extract and show the VirusTotal URL in the output log 2016-02-08 15:40 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/hbssl.hbx * contrib/hbssl/tests/bio.prg ! disable BIO_NEW_FILE() again by HB_LEGACY_LEVEL4 (by default _now_), after information that come up during discussion, that certain (APPLINK-affected) OpenSSL APIs are discouraged, avoidable and therefore recommended to not be used: https://github.com/openssl/openssl/issues/625#issuecomment-181356535 Some more (notably BIO_NEW_FD()) remain enabled until adequate solution to replace them is found. 2016-02-08 13:47 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * refresh OpenSSL build * LTO disabled after OpenSSL's Andy Polyakov hint (causing slightly larger binaries) * 64-bit asm enabled which is only broken in LTO mode (causing significantly larger binaries in 64-bit) * APPLINK reenabled (in 32-bit) after applying a custom patch from Andy Polyakov fixing a major and old issue with it * update to curl 7.47.1 ; Details here: https://github.com/curl/curl-for-win/compare/011be3b4...3eee2c2c 2016-02-06 17:27 UTC+0100 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif + use more hb_dbExists() instead of FILE() calls 2016-02-06 16:06 UTC+0100 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif ! use hb_dbExists() in place of hb_FileExists() where .dbf files are involved on startup. 2016-02-05 18:54 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh ! try exiting on dl failure 2016-02-05 18:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/token2.c ! fixed TokenInit() after my recent modifications - many thanks to Tony for exact information about the problem. 2016-02-05 05:29 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix to not use `-Wl,--no-demangle` on darwin. it's not supported + be more forgiving when loading .dll extensions. They will be loaded now even if a matching `.hbc` file is not found. In such cases, no automatic header will loaded and header directory won't be added to header search path. * utils/hbspeed/hbspeed.prg * casing 2016-02-05 03:01 UTC+0100 Viktor Szakats * src/common/hbverdsp.c * utils/hbspeed/hbspeed.prg ! use HB_MEM_BLOCKS to detect FM stats enabled. HB_MEM_USEDMAX is not suited for this purpose after recent changes. 2016-02-05 02:48 UTC+0100 Viktor Szakats * contrib/make.hb ! fix a regression in recent 2016-02-05 01:35 UTC+0100 2016-02-05 02:26 UTC+0100 Viktor Szakats * config/bin.mk ! missed an update for prev commit 2016-02-05 02:10 UTC+0100 Viktor Szakats * config/dyn.mk * config/global.mk * src/dynlib/2nd/Makefile * src/dynlib/Makefile * utils/hbmk2/hbmk2.prg % use uniform '_dll' _implib_ suffix belonging to harbour.dll regardless of platform. Also drop Harbour version from it. [EXPERIMENTAL] 2016-02-05 01:35 UTC+0100 Viktor Szakats * contrib/hbpost.hbm * extras/template/hbtpl.hbp * utils/hbmk2/pkg_dynl.hbm % use uniform '_dll' _implib_ suffix for all win cpu targets (instead of '-wce-*', '-bcc', '-x64', '-ia64' and already '_dll' on x86) [EXPERIMENTAL] 2016-02-04 17:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filesys.c + added new C function: HB_FOFFSET hb_fsGetSize( HB_FHANDLE hFileHandle ); ! fixed SetFilePointer() error detecting - it was broken and we returned wrong results for offset 0xFFFFFFFF * src/rtl/filebuf.c * use hb_fsGetSize() 2016-02-04 15:27 UTC+0100 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch * contrib/hbcurl/tests/ftp_uldl.prg + add HB_CURLOPT_DEBUGBLOCK to catch verbose output (and more) via a custom codeblock/symbol 2016-02-04 09:16 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/hbssl.hbx * deprecate BIO_get_conn_int_port() and BIO_set_conn_int_port() with HB_LEGACY_LEVEL5 because these will be dropped by OpenSSL 1.1.0 * update BIO_get_conn_ip() and BIO_set_conn_ip() to build with OpenSSL 1.1.0, though the actual implementation against the refactored code (now with IPv6 support) remains a TODO for those interested in this functionality. Relevant commit: https://github.com/openssl/openssl/commit/417be660e1cd21a2ee085569ff98b0c4249b5416 2016-02-04 08:59 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c * do not drop some consts depending on openssl version 2016-02-03 18:15 UTC+0100 Viktor Szakats * contrib/hbtip/ftpcli.prg * ChangeLog.txt * update curl URLs 2016-02-03 02:57 UTC+0100 Viktor Szakats * bin/commit.hb + add option to force proceeding despite failed checks 2016-02-02 00:58 UTC+0100 Viktor Szakats * contrib/hbssl/ssl.c * cleanup code with upcoming OpenSSL 1.1.0 * ChangeLog.txt * update status of OpenSSL bugs reported 2016-02-01 23:28 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * display warning and ignore -fullstatic option on darwin/clang. The toolchain doesn't support it. * contrib/hbssl/tests/bio.prg * minor cleanup 2016-02-01 20:36 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c % simplify Harbour BIO object by dropping an unnecessary internal structure. This hopefully finished this commit: 2014-02-26 04:54 UTC+0100 2016-02-01 20:20 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/hbssl.hbx * contrib/hbssl/tests/bio.prg * contrib/hbssl/tests/crypt.prg * contrib/hbssl/tests/pem.prg * deprecate BIO_FREE() with HB_LEGACY_LEVEL5 free is now done automatically by the GC, you can replace it with 'object := NIL' to force it. 2016-02-01 20:15 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c ! fix GC collection of BIO objects to actually free the internal BIO object (not just the holder object and a Harbour internal one) ! protect BIO_FREE() against double free if called twice on the same .prg level object. ! fix a typo in prev commit 2016-02-01 18:47 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/hbssl.hbx * adjust to a const stripping fix upcoming in a next OpenSSL release * deprecate BIO_VFREE() with HB_LEGACY_LEVEL5 (it was a synonym for BIO_free() - at least in recent OpenSSL versions) * deprecate BIO_FREE_ALL() with HB_LEGACY_LEVEL5 (use BIO_free() instead) * README.md * URL update 2016-02-01 14:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/sdf1.c ! fixed EOL decoding in DOS, OS2 and MS-Windows builds 2016-01-30 02:14 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.hbm * use secure URL * contrib/hbcurl/tests/email.prg * contrib/hbcurl/tests/ftp_uldl.prg * use https URL to download CA list * minor opt 2016-01-29 20:36 UTC+0100 Viktor Szakats * contrib/xhb/datesxhb.c ! fix typo in prev 2016-01-29 20:26 UTC+0100 Viktor Szakats * contrib/hbct/dattime2.c * contrib/hbct/hbct.hbx * contrib/xhb/datesxhb.c * contrib/xhb/xhb.hbx ! move two non-CT3 functions from hbct to xhb lib: DAYSINMONTH(), DAYSTOMONTH() Ref: https://groups.google.com/d/msg/harbour-users/5ECf8_03kvU/aAZRuTylBwAJ [INCOMPATIBLE] 2016-01-29 19:10 UTC+0100 Viktor Szakats * contrib/hbunix/hbposix.h * contrib/hbunix/uidgid.c + add macro hb_par_gid() and use it + contrib/hbunix/chown.c * contrib/hbunix/hbunix.hbp * contrib/hbunix/hbunix.hbx + add posix_chown( <cFileName>, <nUID>, <nGID> ) -> <nResult> Refs: https://linux.die.net/man/2/chown https://man7.org/linux/man-pages/man2/chown.2.html * contrib/hbunix/linux.prg * replace Empty() checks with better alternatives * contrib/hbmisc/bbabble.c * contrib/hbmisc/dates.c * whitespace 2016-01-29 13:33 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh + sync with dependencies that received two more critical openssl patches 2016-01-29 10:27 UTC+0100 Viktor Szakats * README.md + link to hwgui forum 2016-01-28 22:26 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * update hash after applying openssl patch and regenerating package 2016-01-28 18:02 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c ! fix the workaround Ref: https://github.com/openssl/openssl/issues/595 2016-01-28 17:44 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c ! fix typo in OpenSSL version check Ref: https://github.com/openssl/openssl/issues/595 2016-01-28 17:31 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c ! implement workaround for regression in recent OpenSSL release https://github.com/openssl/openssl/issues/595 2016-01-28 16:10 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * Windows dependency update (openssl) 2016-01-29 00:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! pacified 64-bit MSC warnings 2016-01-28 15:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexprb.c * src/common/expropt1.c ! fixed typo in macro alias push/pop operation * disable multivalue macro expansion for macro expressions enclosed in parenthesis, i.e.: s := "1,2,3" QOut( &s ) // 1, 2, 3 QOut( &(s) ) // 1, 2, 3 QOut( (&s) ) // 3 * include/hbexprop.h * src/common/expropt1.c * src/common/expropt2.c * src/vm/hvm.c * return last array item when hb_ArrayToParams() is used in parenthesis, i.e.: QOut( hb_ArrayToParams( { 1, 2, 3 } ) ) // 1, 2, 3 QOut( ( hb_ArrayToParams( { 1, 2, 3 } ) ) ) // 3 2016-01-28 13:20 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * enabled new socket functions in MSC 18.0 (before was MSC 19.0) If someone uses this compiler and this modification created problem then please let me now. 2016-01-28 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed buffer overflow in HB_GTI_FONTATTRIBUTE used after after console window initialization ! set XLib mutex when font size is changed by HB_GTI_FONTSIZE after console window initialization (for MT programs using more then one GTXWC console simultaneously). ! allow HB_GTI_FONTSIZE to change font created by HB_GTI_FONTSEL using before console window is created % do not create new console window pixmap if old one has the same dimensions 2016-01-28 12:23 UTC+0100 Viktor Szakats * src/rtl/gtxwc/Makefile + enable X_HAVE_UTF8_STRING on darwin * contrib/hbhpdf/tests/harupdf.prg * show warning if required input files are missing 2016-01-27 12:21 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.ch + add new curl 7.47.0 constant HB_CURL_HTTP_VERSION_2TLS 2016-01-27 11:25 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * Windows dependency updates 2016-01-27 10:54 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * add support for passing `-runflag=` parameters to GUI apps run on OS X. Not final, in my tests its hanging when launching the X11 app (independent of this patch). 2016-01-27 01:57 UTC+0100 Viktor Szakats * src/rtl/gtxwc/gtxwc.c + reflect `-DX_HAVE_UTF8_STRING` setting in GT description 2016-01-26 19:03 UTC+0100 Viktor Szakats * contrib/xhb/xhbfunc.c ! silence another HB_PTRUINT warning 2016-01-26 18:38 UTC+0100 Viktor Szakats * contrib/hbwin/hbwapi.h ! attempt to fix warnings after HB_PTRUINT patches 2016-01-26 18:35 UTC+0100 Viktor Szakats * contrib/hbrun/hbrun.hbp * link extra contribs to hbrun on *nix systems when linking statically against harbour dynlib 2016-01-26 18:05 UTC+0100 Viktor Szakats * src/rtl/hbhex.c ! fix merge typo 2016-01-26 16:44 UTC+0100 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwing.c * contrib/gtwvw/combobox.c * contrib/gtwvw/editbox.c * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/progrbar.c * contrib/gtwvw/scrollbr.c * contrib/gtwvw/static.c * contrib/hbwin/hbwapi.h * contrib/hbwin/wapi_alloc.c * contrib/hbwin/wapi_winuser_1.c * contrib/hbwin/wapi_winuser_dlg.c * contrib/hbwin/win_commdlg.c * contrib/xhb/xhbfunc.c * src/vm/itemapi.c * finish HB_PTRUINT to HB_PTRDIFF conversion in 3.4-specific code and a few missed places from the mainline merge. 2016-01-26 15:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapierr.h * include/hbdefs.h * src/debug/dbgentry.c * src/rtl/filesys.c * src/rtl/gtcgi/gtcgi.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtos2/gtos2.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/gtsln.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.c * src/rtl/hbhex.c * src/rtl/hbproces.c * src/rtl/hbsocket.c * src/vm/classes.c * src/vm/extrap.c * src/vm/itemapi.c * src/vm/runner.c * src/vm/task.c * contrib/gtalleg/gtallegd.c * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c * contrib/gtwvg/wvgutils.c * contrib/gtwvg/wvgwin.c * contrib/gtwvg/wvgwing.c * contrib/hbfbird/firebird.c * contrib/hbwin/axcore.c * contrib/hbwin/wapi_commctrl.c * contrib/hbwin/wapi_shellapi.c * contrib/hbwin/wapi_winbase.c * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/win_misc.c * contrib/hbxdiff/core.c * contrib/rddads/ads1.c * contrib/rddads/adsx.c * contrib/xhb/cstructc.c * contrib/xhb/freadlin.c * extras/gtwvw/gtwvwd.c * extras/gtwvw/wvwfuncs.c * use HB_PTRUINT instead of HB_PTRDIFF in castings between pointers and numbers - it makes some C compilers happy and in few cases it also fixed bugs 2016-01-26 15:28 UTC+0100 Viktor Szakats * package/mpkg_win_ci.sh * don't leave temp files on disk * package/mpkg_win.sh * minor cleanup 2016-01-26 00:41 UTC+0100 Viktor Szakats * appveyor.yml * appveyor.sh -> package/mpkg_win_ci.sh * move ci script away from repo root 2016-01-25 23:52 UTC+0100 Viktor Szakats * appveyor.sh * set exec flag 2016-01-25 21:35 UTC+0100 Viktor Szakats * appveyor.sh * add markers to help updating hashes * package/mpkg_win_dl.sh * minor 2016-01-25 18:16 UTC+0100 Viktor Szakats * src/rtl/filebuf.c * hb_fileExists() behavior changed for the root/default IO drivers so they ignore SET DEFAULT/PATH when a NULL is passed as its second parameter. This also affects hb_vfExists() where SET DEFAULT/PATH will only be honored if a 2nd parameter is passed by reference. This makes their behavior consistent with default hb_vfOpen() [1] behavior which also ignores SET DEFAULT/PATH unless HB_FO_DEFAULTS is passed as flag in 2nd parameter. Even though with VF API file existence check can be avoided for certain cases, it still cannot be avoided in all cases so there is a lot of room for mistakes here. [1] also hb_vfSize() and the rest of VF API that accepts a filename as input, and anything else that builds upon these, or via their low-level counterparts, like hb_MemoRead() It means that now this code works without strange suprises, regardless of the global SET DEFAULT/PATH setting, while it produces various unexpected behavior in mainline/3.2: ```harbour hb_cwd( GetEnv( "HOME" ) ) Set( _SET_DEFAULT, "/etc" ) ? "_SET_DEFAULT", Set( _SET_DEFAULT ) IF hb_vfExists( "passwd" ) ? "Found `passwd`, try to lookup its size." IF hb_vfSize( "passwd" ) == 0 ? "File found, but size is zero." ? "Size of truly found file:", hb_vfSize( "/etc/passwd" ) ENDIF ? hb_vfExists( "./passwd" ) == hb_vfExists( "passwd" ) ELSE ? "cwd:", hb_cwd() ? "hb_vfExists( 'passwd' ) -> .F. - OK!" ENDIF ``` ; This fixes the pending hbct/STRFILE() attribute problem for new files. Ref: 2016-01-11 02:28 UTC+0100 * comment updates * src/rdd/dbf1.c * update hb_fileExists() call in hb_dbExists() to keep honoring SET DEFAULT/PATH, in sync with the rest of RDD functions. * src/rtl/filesys.c * comment update * appveyor.sh * optimization 2016-01-25 12:32 UTC+0100 Viktor Szakats * appveyor.sh * reindent 2016-01-25 11:47 UTC+0100 Viktor Szakats * appveyor.sh * package/mpkg_win.sh * minor cleanups, moving to *nix pathseps/dirseps 2016-01-25 02:23 UTC+0100 Viktor Szakats * appveyor.yml + appveyor.sh * replace AppVeyor inline commands with external shell script. This fits the direction of avoiding batches as much as possible as well as helps to avoid bumping into various strange parsing peculiarities and limitations in AppVeyor batch command. AppVeyor seems to be focusing on PowerShell and don't seem to consider any such batch issues as bugs. 2016-01-25 00:52 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh * VirusTotal upload moved from `after_deploy` AppVeyor stage to custom script. This makes it use proper package filename, allows use a precise size check and allows to move `build_script` logic to external script. 2016-01-24 22:47 UTC+0100 Viktor Szakats * contrib/hbcairo/hbcairo.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbgd/hbgd.hbp * contrib/hbgs/hbgs.hbp * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbmagic/hbmagic.hbp * contrib/hbmysql/hbmysql.hbp * contrib/hbpgsql/hbpgsql.hbp * contrib/hbwin/hbwin.hbp * contrib/sddmy/sddmy.hbp * contrib/sddpg/sddpg.hbp * sync dependency detection paths with `libpaths=` for darwin. This means switching to the standard location of Homebrew from the old MacPorts paths. Under Homebrew, `pkg-config` is used for detection, if installed, though. 2016-01-24 22:28 UTC+0100 Viktor Szakats * contrib/hbcairo/hbcairo.hbc * contrib/hbfimage/hbfimage.hbc * contrib/hbgd/hbgd.hbc * contrib/hbgs/hbgs.hbc * contrib/hbmagic/hbmagic.hbc * contrib/hbmysql/hbmysql.hbc * contrib/hbpgsql/hbpgsql.hbc * contrib/sddmy/sddmy.hbc * contrib/sddpg/sddpg.hbc ! fix libpaths on darwin to point to Homebrew locations 2016-01-24 17:59 UTC+0100 Viktor Szakats * src/3rd/tiff/* * src/3rd/tiff/Makefile * src/3rd/tiff/tiff.dif * update to libtiff 4.0.6 * delete 2 hunks from local patch 2016-01-24 17:36 UTC+0100 Viktor Szakats * README.md + add PayPal logo 2016-01-24 13:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/delim1.c ! added missing casting - it fixes problem reported by Franček Prijatelj 2016-01-24 11:56 UTC+0100 Viktor Szakats * bin/3rdpatch.hb ! allow source URLs with '?' in them by not stripping the parameter part. Some files require this (ie. jpeg source package). Such URLs are not used in this repository anymore and committers should make sure they are not readded. * bin/commit.hb ! fix to allow README.txt in any directory 2016-01-24 11:54 UTC+0100 Viktor Szakats * src/3rd/jpeg/* * src/3rd/jpeg/Makefile * src/3rd/jpeg/jpeg.dif * updated JPEG library 9a -> 9b 2016-01-24 11:43 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.21 2016-01-23 23:50 UTC+0000 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_10_2.html 2016-01-23 13:59 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbformat/hbfmtcls.prg * applied patch by Maurizio la Cecilia: https://groups.google.com/forum/#!topic/harbour-devel/a8qsr8ZZy2A thanks. 2016-01-23 13:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/xhb/hbcompat.ch * contrib/xhb/xhb.hbp * contrib/xhb/xhb.hbx + contrib/xhb/xhbbit.c + added xhb_bitAnd(), xhb_bitOr() and xhb_bitXor() functions which are compatible with xHarbour &, | and ^^ operators 2016-01-23 11:49 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/hbusage.c * src/pp/hbpp.c * package/harb_win.mft * package/harb_win.rc * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * utils/hbmk2/po/hbmk2.hu.po * utils/hbtest/hbtest.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * bumped copyright year to 2016 2016-01-22 16:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c * src/rdd/hbsix/sxcompr.c * src/rtl/gtxwc/gtxwc.c ! cleaned C++ casting 2016-01-22 01:14 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/ssl.c * silence most remaining const droppings in hbssl. These seem legit after examining the underlying OpenSSL source. Exceptions are EVP_CIPHER_CTX_ctrl() where the buffer may in some cases be written to. The other is hb_PEM_read_bio(), which I couldn't fully follow through, but there is even pending GPFs around this function, so most likely buggy in certain cases. * contrib/hbssl/evpciph.c * update comment 2016-01-21 23:32 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * disable `pkg-config`-based detection when a custom search path is specified by -depcontrol/depcontrol= to avoid being shadowed by a successful `pkg-config` detection. Ref: https://github.com/vszakats/hb/issues/195#issuecomment-173738037 2016-01-21 23:02 UTC+0100 Viktor Szakats * include/hbdefs.h ! whitepace in merged code 2016-01-21 22:58 UTC+0100 Viktor Szakats * contrib/hbct/token2.c * contrib/hbgd/gdwrp.c * minor cleanups after merge 2016-01-21 20:42 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtalleg/gtallegd.c * contrib/hbamf/amfdec.c * contrib/hbamf/amfenc.c * contrib/hbbz2/core.c * contrib/hbbz2io/bz2io.c * contrib/hbct/atrepl.c * contrib/hbct/charrepl.c * contrib/hbct/envparam.c * contrib/hbct/pack.c * contrib/hbct/token2.c * contrib/hbfimage/fi_wrp.c * contrib/hbgd/gdwrp.c * contrib/hbgs/core.c * contrib/hbgzio/gzio.c * contrib/hbhpdf/core.c * contrib/hbhpdf/image.c * contrib/hbmlzo/core.c * contrib/hbmxml/core.c * contrib/hbodbc/odbc.c * contrib/hbsqlit3/core.c * contrib/hbssl/bio.c * contrib/hbssl/ssl.c * contrib/rddads/ads1.c * contrib/rddads/adsfunc.c * contrib/rddads/adsmgmnt.c * contrib/rddads/adsx.c * contrib/rddads/rddads.h * contrib/sddodbc/core.c * contrib/xhb/cstructc.c * include/hbapi.h * include/hbdefs.h * src/common/expropt1.c * src/common/expropt2.c * src/common/hbmem.c * src/compiler/complex.c * src/compiler/harbour.y * src/compiler/harbour.yyc * src/compiler/harbour.yyh * src/compiler/hbident.c * src/macro/macrolex.c * src/nortl/nortl.c * src/pp/ppcore.c * src/rdd/hbsix/sxcompr.c * src/rdd/hbsix/sxfname.c * src/rdd/usrrdd/usrrdd.c * src/rtl/cdpapi.c * src/rtl/filebuf.c * src/rtl/filesys.c * src/rtl/fslink.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/mousesln.c * src/rtl/gtxwc/gtxwc.c * src/rtl/hbbfsock.c * src/rtl/hbgtcore.c * src/rtl/hbsocket.c * src/rtl/hbzlib.c * src/rtl/hbznet.c * src/rtl/hbzsock.c * src/rtl/iousr.c * src/rtl/langapi.c * src/vm/cmdarg.c * src/vm/codebloc.c * src/vm/hvm.c * src/vm/itemapi.c * src/vm/macro.c * src/vm/set.c * src/vm/strapi.c * cleaned const qualifier dropping ! fixed few bugs I found analyzing related code ; I left untouched two places in HBSSL which IMO should be fixed yet 2016-01-21 20:29 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/rddads/ads1.c * do not use long type names in array returned by dbStruct() if corresponding types exist in core code and have their own name recognized by other RDDs. Now only one long type name can be returned: "CICHARACTER" 2016-01-21 02:49 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh * package/mpkg_win.sh * restore POSIX compliance by replacing indirect expansion with alternate method 2016-01-21 01:44 UTC+0100 Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_src.sh * avoid 'local' to stay POSIX compliant * package/mpkg_win_dl.sh * package/mpkg_win.sh * add comment about non-POSIX compliant syntax used and suppress related shellcheck warnings * src/vm/hvm.c * use '#if 0' 2016-01-20 12:20 UTC+0100 Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/ed25519/fixedint.h ! fix (hopefully) for msvc 2010 and above builds Closes https://github.com/vszakats/hb/issues/170 Tests: MSVC 2015: https://ci.appveyor.com/project/vszakats/hb/build/3.4.1004 MSVC 2013: https://ci.appveyor.com/project/vszakats/hb/build/3.4.1005 * remove old fix attempt * contrib/hbcrypto/hbcrypto.hbp + reenable for msvc 2016-01-20 11:24 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg % minor cleanup to merged code 2016-01-20 11:17 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg % manually apply Quique's patch with some cleanups it consolidates redundant code into a common RDD method. Ref: https://groups.google.com/d/msg/harbour-devel/hpgvFOd4Y1s/uuabON1cAwAJ (the targeted fix was already fixed in 2016-01-14 18:21 UTC+0100) 2016-01-20 03:18 UTC+0100 Viktor Szakats * tests/largefil.prg * display file sizes after closing them to get accurate results regardless of RDD/FS internals 2016-01-20 03:03 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix typo in condition detecting darwin causing wrong parameter being passed to 'nm' ! fix to skip calling 'nm' if the passed file doesn't exist (it can happen when there is no input file specified to hbmk2) 2016-01-19 19:39 UTC+0100 Viktor Szakats * appveyor.yml * employ terrible PowerShell hack to workaround missing support in AppVeyor to clear an envvar using an embedded batch command. 2016-01-19 16:32 UTC+0100 Viktor Szakats * appveyor.yml * msvc cleanups 2016-01-19 15:02 UTC+0100 Viktor Szakats * appveyor.yml ! remove msvc64 builds for compiler versions that don't support it 2016-01-19 14:01 UTC+0100 Viktor Szakats * appveyor.yml * enable Qt only for matching msvc version 2016-01-19 13:58 UTC+0100 Viktor Szakats * appveyor.yml ! employ tactics to workaround AppVeyor's refusing to set an environment varible to empty value using known batch commands 2016-01-19 13:32 UTC+0100 Viktor Szakats * appveyor.yml * fix/update Qt locations 2016-01-19 13:27 UTC+0100 Viktor Szakats * appveyor.yml * cleanups ! readd 'call' 2016-01-19 13:20 UTC+0100 Viktor Szakats * tests/longfile.prg -> tests/largefil.prg * rename 2016-01-19 12:58 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) ! tests/longfile.prg ! use hb_fSize() instead of FileSize() ; [vszakats] already fixed differently 2016-01-19 11:47 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/cmdcheck.c ! fixed parsing some parameters taken from environment and delimited with spaces ! fixed potential memory leak when some parameters were repeated. 2016-01-18 12:37 UTC+0100 Maurilio Longo (maurilio.longo@libero.it) + tests/longfile.prg + create a .dbf file bigger than 2 GiB and test index operations on it. 2016-01-19 05:08 UTC+0100 Viktor Szakats * appveyor.yml ! typo in prev 2016-01-19 05:04 UTC+0100 Viktor Szakats * appveyor.yml + better msvc branch names ! fix wrongly set msvc compiler versions 2016-01-19 04:51 UTC+0100 Viktor Szakats * appveyor.yml ! fix typo in prev 2016-01-19 04:28 UTC+0100 Viktor Szakats * appveyor.yml ! fix msvc appveyor builds + add support for test branches for every msvc version available on appveyor (2008, 2010, 2012, 2013, 2015) in both 32-bit and 64-bit mode % do not download mingw dependencies for msvc builds + add remote access configuration for appveyor (commented) 2016-01-18 21:28 UTC+0100 Viktor Szakats * README.md * update an URL 2016-01-18 18:49 UTC+0100 Viktor Szakats * README.md + add Dave Pearson's excellent Norton Guide viewer [1] as recommended homebrew package Thanks to Dave for the help in bringing 'eg' to Homebrew [2]. [1] https://github.com/davep/eg [2] https://github.com/Homebrew/homebrew/blob/master/Library/Formula/eg.rb 2016-01-18 14:06 UTC+0100 Viktor Szakats * bin/commit.hb * reenable hook for all platforms (OS/2 confirmed OK, thanks Maurilio!) 2016-01-18 13:49 UTC+0100 Viktor Szakats * ChangeLog.txt * delete merge markers after prev merge ! undo a wrong indentation fix from upstream 2016-01-18 13:43 UTC+0100 Viktor Szakats * tests/longfile.prg * various cleanups ! fix to use hb_vfSize() instead of CT function 2016-01-16 17:46 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh * indent * utils/hbmk2/hbmk2.prg ! switch to CUI GT when Browse() call is made (a single Browse() call without a CLS caused .hb script to hang on OS X with the default GTCGI) 2016-01-16 04:39 UTC+0100 Viktor Szakats * src/rtl/browse.prg + use hb_keyNew() * ExitKey(): cleanups after last extended key patch 2016-01-15 19:55 UTC+0100 Viktor Szakats * tests/fmlimit.prg ! follow a merged update * fix casing 2016-01-15 19:06 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.hbp * contrib/hbcairo/hbcairo.hbp * set warning level to 'low' to avoid a flood of warnings on darwin/clang: https://travis-ci.org/vszakats/hb/jobs/102651300#L1530 (cairo ones only appear with darwin/clang 7.x) 2016-01-15 18:46 UTC+0100 Viktor Szakats * .travis.yml ! disable allegro. Version 5 is too new for gtalleg. * utils/hbmk2/hbmk2.prg + export HBMK_DIR_* envvars, so that plugins and spawned processes can use it * contrib/gtqtc/hbmk2_qtgt.hb ! use HBMK_DIR_QT/QT5 for QT detection instead of relying directly on HB_WITH_QT user-supplied value. This helps in situations where the QT location is autodetected on a non-system location, e.g. darwin/homebrew. Please test it on other platforms. 2016-01-15 17:21 UTC+0100 Viktor Szakats * config/common/clang.mk * config/darwin/gcc.mk * utils/hbmk2/hbmk2.prg + add `-no_warning_for_no_symbols` option to libtool to suppress warnings about empty objects: "file: <file>.o has no symbols" Thanks to Lorenzo Fiorini for the solution: https://groups.google.com/d/msg/harbour-devel/dsQiQV9sLY0/-ZkxVQ5NFQAJ ; NOTE: darwin/clang (7.0) still remains splintered by a huge amount of warnings, notably 'const' stripping which is routine in Harbour codebase, lots of GTQTC warnings (and problems with 3rd party cairo headers). [FIXED] * .travis.yml + enable allegro and qt5 components for darwin CI builds * contrib/hbicu/hbicu.hbc * contrib/hbicu/hbicu.hbp ! fix icu4c detection on darwin/homebrew 2016-01-18 12:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * indenting * config/darwin/clang.mk * config/darwin/gcc.mk * config/darwin/icc.mk * utils/hbmk2/hbmk2.prg * use -no_warning_for_no_symbols in MacOSX builds - many thanks to Lorenzo * contrib/xhb/xhb.ch + added #pragma -kd+ * doc/xhb-diff.txt ! typos 2016-01-15 16:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/common/hbfsapi.c + added automatic file handle table resizing to hb_fsOS2DosOpenL() + added new C function: hb_fsOS2DosOpen() which is wrapper to DosOpen() with automatic file handle table resizing. Please remember that unlike hb_fsOS2DosOpenL() this function is pure wrapper to DosOpen() so it does not make file name conversions and does not set hb_fsError(). * src/rtl/filesys.c * src/rtl/hbcom.c * src/rtl/hbproces.c * use hb_fsOS2DosOpen() instead of DosOpen() * src/vm/cmdarg.c * set the initial size of file handle table to 256 in OS2 OpenWatcom builds if user does not set it explicitly by //F:<n> switch * config/global.mk - removed set HARBOUR=F:100 - it's not necessary with automatic FHT resizing ; Please test it in real OS2 environment 2016-01-15 15:20 UTC+0100 Viktor Szakats * * % remove brandings and homepage from copyright header. Pass 3 - manual. * project homepage and name is described in README, amongst others ; this should make the diff between 3.4 and 3.2 easier to manage 2016-01-15 14:50 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c ! _A_READONLY -> _A_RDONLY 2016-01-15 13:30 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/hscdx.prg * src/rdd/usrrdd/rdds/rlcdx.prg * formatting 2016-01-15 13:04 UTC+0100 Viktor Szakats * src/3rd/pcre2/Makefile * src/3rd/pcre2/pcre2.dif * pcre2 10.21 [ci skip] https://lists.exim.org/lurker/message/20160112.145451.15f6d597.en.html 2016-01-15 12:41 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_10_1.html 2016-01-15 11:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/gtqtc/gtqtc.h * contrib/gtqtc/gtqtc1.cpp * renamed few variables to avoid -Wshadow warnings * contrib/hbfimage/fi_wrp.c * removed unnecessary ; * contrib/hbodbc/odbc.c ! replaced '\0' with NULL in pointer initialization * src/3rd/jpeg/Makefile % added missing HAVE_UNSIGNED_CHAR build macro. Without it LIBJPEG uses SHORT to hold unsigned 8 bit integers what increases memory usage and reduces the speed. * src/pp/hbpp.c * minor modification to keep string constant C90 comnpatible * src/rtl/filesys.c * simplified DOS to POSIX file attribute translation + respect hidden and system file attribute in DOS builds of hb_fsOpenEx() * src/vm/fm.c ! added yet another missing HB_STACK_TLS_PRELOAD 2016-01-15 11:14 UTC+0100 Viktor Szakats * contrib/hbssl/pem.c * cast * src/rdd/usrrdd/rdds/arrayrdd.prg * use preferred array index format in remaining cases * src/rdd/usrrdd/rdds/hscdx.prg * casing of public functions + contrib/rdduser/rdduser.hbc + contrib/rdduser/rdduser.hbp + contrib/rdduser/rdduser.hbx + add new contrib 'rdduser'. It offers the exact same content as 'hbuddusr' library in core, but having it in the contrib area offer much more flexibility and visibility. Old library is kept while testing this. 2016-01-15 10:46 UTC+0100 Viktor Szakats * contrib/hbssl/pem.c ! PEM_READ_BIO_*() to cleanup internal buffer before freeing it (when loading key from file by passing string as 1st parameter) 2016-01-14 20:33 UTC+0100 Viktor Szakats * src/vm/fm.c ! fix more missing TLS PRELOADs Fixes https://github.com/vszakats/hb/issues/191 % minor optimization in __FM_ALLOCLIMIT() 2016-01-14 19:33 UTC+0100 Viktor Szakats [merged] * * % remove brandings and homepage from copyright header. Pass 2 - semi-auto. * project homepage and name is described in README, amongst others ; this should make the diff between 3.4 and 3.2 easier to manage 2016-01-14 19:17 UTC+0100 Viktor Szakats [merged] * * % remove brandings and homepage [1] from copyright header. Pass 1 - using script. [1] nobody has access to it anymore AFAIK - and it's also just a redirect since long ! update url in copyright header ; this should make the diff between 3.4 and 3.2 easier to manage 2016-01-14 18:21 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg ! AR_PACK() fix missing record index Ref: https://groups.google.com/d/msg/harbour-devel/hpgvFOd4Y1s/jR3aIEYAFQAJ * split long line * update array index syntax in few places 2016-01-14 17:15 UTC+0100 Viktor Szakats * src/vm/fm.c + __VMNOINTERNALS() updated to also disable the new runtime option __FM_ALLOCLIMIT(), which can be used for DoS if an app is manipulated to call it, e.g. via a macro. 2016-01-14 12:14 UTC+0100 Viktor Szakats * config/common/clang.mk * utils/hbmk2/hbmk2.prg * disable clang warning: 'warning: ISO C requires a translation unit to contain at least one declaration' This is normal occurrence for .c source generated from empty .prg sources. 2016-01-14 11:26 UTC+0100 Viktor Szakats + tests/fmlimit.prg + add Przemek's example for new function Ref: https://groups.google.com/d/msg/harbour-devel/YltbGSQDneI/tu3X5pDrFAAJ 2016-01-14 11:21 UTC+0100 Viktor Szakats * include/harbour.hbx ! add new internal function from previous merge * include/hbapifs.h ! typo in new comment * src/vm/fm.c ! typo in new comment ! fix typo in new function HB_ISIZE -> HB_ISIZ 2016-01-14 14:50 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/fm.c ! declaration order 2016-01-14 14:36 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/fm.c ! added missing HB_STACK_TLS_PRELOAD 2016-01-14 14:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt * include/hbmemory.ch * src/vm/fm.c * renamed HB_MEM_ISLIMIT to HB_MEM_CANLIMIT ! fixed typo 2016-01-14 11:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/global.mk * set HARBOUR=F:100 during build process in OS2 builds - it increases maximum number of open handles per process from 20 to 100 so it should be possible to use -j<n> switch during Harbour compilation - please test, i.e.: os2-make -j3 * contrib/xhb/hbcompat.ch ! fixed pp rules for Str(,,, <lStrip> ) translation * include/hbapifs.h * src/rtl/filesys.c + added new C function: HB_FHANDLE hb_fsOpenEx( const char * pszFileName, HB_USHORT uiFlags, HB_FATTR nAttr ); * minor cleanup * include/hbmemory.ch * src/vm/fm.c + added two new actions for Memory() function: HB_MEM_STATISTICS - return non 0 value if FM statistic is enabled HB_MEM_CANLIMIT - return non 0 value if used memory limit is supported + added new PRG function: __fm_AllocLimit( [ <nNewLimit> ] ) -> <nPrevLimit> It allows to set limit for maximum used memory in some memory managers, -1 means no limit. Now it works with DLMALLOC and in ST mode it's limit for memory allocated from system for whole application. In MT mode when HB_FM_DLMT_ALLOC (default for DLMALLOC) is enabled it's limit for single MSPACE (Harbour allocates 16 MSPACES and balance them between threads to improve scalability) so it's rather per thread limit. If memory statistic module is enabled during Harbour build process then this limit works with any memory manager and defines limit for total memory allocated by Harbour application regardles of MT or ST mode. * src/vm/hvm.c * use HB_MEM_STATISTICS instead of HB_MEM_USEDMAX to check if memory statistic module is enabled 2016-01-13 23:44 UTC+0100 Viktor Szakats * src/rtl/disksphb.c ! hb_fsDiskSpace() fixed when passed a zero-length string to behave when there is no string passed at all. This fixes to return a meaningful value when passed a zero-length string, instead of returning 0 % minor related cleanup in MS-DOS / OS/2 platform code 2016-01-13 23:29 UTC+0100 Viktor Szakats * contrib/hbcups/hbcups.hbp + force-enable this component when build under darwin 2016-01-13 23:21 UTC+0100 Viktor Szakats * contrib/hbosx/hbosx.hbx ! regenerate * contrib/hbosx/proxyc.m * silence a warning by adding a 'const' 2016-01-13 20:57 UTC+0100 Viktor Szakats * appveyor.yml * rotate user * package/mpkg_win.sh ! fix regression in branch detection, also add support for further CI environments 2016-01-13 16:34 UTC+0100 Viktor Szakats * appveyor.yml * update dependency hashes 2016-01-13 16:29 UTC+0100 Viktor Szakats * src/pp/ppcore.c ! use uniform empty loop block syntax 2016-01-13 15:57 UTC+0100 Viktor Szakats * contrib/hbssl/hbssl.hbx * contrib/hbssl/ssl.c * contrib/hbssl/tests/bio.prg + implement hack for OpenSSL static libraries that were built with -DOPENSSL_USE_APPLINK option. The hack is disabled by default and there is no clean way to detect if OpenSSL static libs at hand require this, so you need to enable it manually using -DHB_OPENSSL_HAS_APPLINK when required. I've also disabled -DOPENSSL_USE_APPLINK in my own OpenSSL builds: https://github.com/curl/curl-for-win/commit/a13423f82edeb30e8ee6c6220d1c94af4fbca8aa + add hb_SSL_APPLINK() -> <logical> Returns whether Applink support was enabled in hbssl + add hb_SSL_STATIC() -> <logical> Returns whether hbssl is linked statically or dynamically + fix Applink support for BCC (only compile-tested) * contrib/hbssl/bio.c * contrib/hbssl/tests/bio.prg + reenable BIO_NEW_FILE(), now that there is a better chance that it works. 2016-01-13 13:51 UTC+0100 Viktor Szakats * contrib/hbtip/mail.prg ! merge correction 2016-01-13 12:17 UTC+0100 Viktor Szakats * contrib/xhb/hbcompat.ch ! fix Str() translation Thanks to Pete: https://groups.google.com/d/msg/harbour-users/03mXbDF2Dek/-759ZwaiAgAJ 2016-01-13 12:10 UTC+0100 Viktor Szakats * config/global.mk * HB_MT -> __HB_MT * contrib/hbssl/hbssl.hbm * contrib/hbssl/ssl_hbcon.prg -> contrib/hbssl/ssl_hbco.prg ! use short filename for MS-DOS compatiblity ! fix copyright header ! minor formatting 2016-01-13 11:52 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh + send notification when build is ready 2016-01-13 15:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/encurlc.c ! fixed C&P typos in tip_URLEncode() and tip_URLDecode() in may previous commit * src/pp/ppcore.c * pacified warning * src/common/hbver.c * src/rtl/hbsocket.c * updated for Digital Mars C compilation 2016-01-13 11:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsocket.h * src/rtl/hbsockhb.c + added new C function: HB_BOOL hb_sockexItemReplace( PHB_ITEM pItem, PHB_SOCKEX pSock ); * contrib/hbssl/ssl_sock.c + replace passed socket structure to hb_socketNewSSL_connect() and hb_socketNewSSL_accept() with new one using SSL filter if it was passed by reference, current syntax is: hb_socketNewSSL_connect( [@]<pSocket>, <pSSL> [, <nTimeout> ] ) -> <pSocketSSL> hb_socketNewSSL_accept( [@]<pSocket>, <pSSL> [, <nTimeout> ] ) -> <pSocketSSL> * contrib/hbssl/hbssl.hbm * contrib/hbssl/hbssl.hbx + contrib/hbssl/ssl_hbcon.prg + added new PRG functions which can be used for fast initialization of SSL connection: hb_SSL_new() -> <pSSL> hb_SSL_connect_inet( <pSocket>, [ <nTimeOut> ], [ @<cInfo> ] ) -> <lConnected> hb_SSL_connect_socket( <pSocket>, [ <nTimeOut> ], [ @<cInfo> ] ) -> <lConnected> They do not need any addiitonal initialization code and can be called as first and the only SSL functions in user code. * contrib/hbtip/mail.prg ! fixed bug reported by Lorenzo - thanks * use hb_MemoWrit() in :detachFile() to honor Harbour File IO API * cleanup ; [vszakats]: taken from 3.4 * src/common/hbffind.c * src/rtl/gtos2/gtos2.c * src/rtl/hbproces.c * cleaned DosAllocMem() flags * src/common/hbfsapi.c * src/rtl/hbproces.c * pacified OS2 GCC warnings * config/global.mk * show information about HB_MT build parameter if set by user 2016-01-12 21:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/encurlc.c ! fixed url decoding - thanks to Lorenzo for reporting the problem * small simplification of url encoding code * src/rtl/hbproces.c ! use DosAllocMem() instead of hb_xgrab() to allocate memory for DosExecPgm() parameters - it should fix the problem with random build crashes when pipes are used for redirection of child process standard IO handles - please test in real OS2 environment. 2016-01-12 17:45 UTC+0100 Viktor Szakats * contrib/hbssl/evpciph.c * contrib/hbssl/evpenc.c * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.hbx * contrib/hbssl/tests/crypt.prg * contrib/hbssl/tests/encode.prg * steps to adapt to upcoming OpenSSL 1.1.0 internally + add EVP_CIPHER_CTX_reset() + add EVP_CIPHER_CTX_new() * deprecate HB_EVP_CIPHER_CTX_CREATE() over equivalent EVP_CIPHER_CTX_new() * deprecate EVP_CIPHER_CTX_INIT() over equivalent EVP_CIPHER_CTX_reset() * deprecate EVP_CIPHER_CTX_CLEANUP() over equivalent EVP_CIPHER_CTX_reset() + add EVP_ENCODE_CTX_new() * deprecate HB_EVP_ENCODE_CTX_CREATE() over equivalent EVP_ENCODE_CTX_new() ; all deprecation follow HB_LEGACY_LEVEL5 * update tests to use new function names ! fix typo in three wrapper function names: [INCOMPATIBLE] - EVP_CIPHER_KEY_IV_LENGTH() -> EVP_CIPHER_IV_LENGTH() - EVP_CIPHER_KEY_FLAGS() -> EVP_CIPHER_FLAGS() - EVP_CIPHER_KEY_MODE() -> EVP_CIPHER_MODE() 2016-01-12 13:29 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/hbssl.hbx * contrib/hbssl/pem.c * contrib/hbssl/tests/bio.prg * contrib/hbssl/tests/crypt.prg * contrib/hbssl/tests/pem.prg * use hb_GetStdOut() instead of hard-coded constant - deprecate BIO_new_file() with HB_LEGACY_LEVEL5 (which means by default: now) it uses FILE * pointers which is notoriously problematic in the Windows world when passed around components build with different compilers/CRTLs * PEM_READ_BIO_*() rework to use Harbour native file loading IO, which means BIO_new_file() can be avoided, and all the Harbour IO goodness is honored, including VF IO features, including 'mem:' files. * rework tests to not use BIO_new_file() * package/mpkg_win.sh % delete redundant comment 2016-01-12 00:36 UTC+0100 Viktor Szakats * appveyor.yml % disable sfx for lto builds + recognize non-sfx artifact 2016-01-11 19:21 UTC+0100 Viktor Szakats * contrib/hbfoxpro/relfunc.c * copyright header cleanup 2016-01-11 17:12 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/spfiles.c ! typo in HB_TR_DEBUG message * src/rtl/hbproces.c - removed unnecessary call to hb_fsSetIOError() % variable localization ! fixed wrongly located hb_vmLock() - it was not called if hb_fsProcessOpen() failed. 2016-01-11 16:33 UTC+0100 Viktor Szakats * contrib/xhb/stream.prg ! TStreamFileWriter():New() fix to seek to the end of output file when the file already exists Regression from: https://github.com/vszakats/hb/commit/24058ddcf70ad1a170e29eba4954da6a4b6ef06d % TStreamFileWriter():New() fix race condition and optimize code by leveraging hb_vfOpen() capabilities 2016-01-11 04:31 UTC+0100 Viktor Szakats * bin/commit.hb + detect runner app used (hbrun or hbmk2) and use that in screen message and for generating hook command, instead of hard-wiring "hbrun". 2016-01-11 03:27 UTC+0100 Viktor Szakats * bin/commit.hb ! do not install custom Git hook on non-*nix, non-Windows systems. Notably on OS/2 a POSIX shell environment is not available. Ref: https://groups.google.com/d/msg/harbour-devel/QSDi50nUiDM/A-ordsxpEwAJ * appveyor.yml * minor 2016-01-11 02:49 UTC+0100 Viktor Szakats * config/linux/gcc.mk * config/win/mingw.mk + enable an interesting warning in upcoming gcc 6.00 2016-01-11 02:28 UTC+0100 Viktor Szakats * contrib/hbct/ctstrfil.c ! STRFILE(): attempt to fix a regression after switching to the VF FILE IO API from FS API. The problem is caused by disparity between hb_fileExists() and hb_fileExtOpen() in how these handle SET DEFAULT and SET PATH (when set) - the first call will honor them unconditionally, whilst the second one won't. In case of STRFILE(), the latter would be desired also for hb_fileExists(), and I'd also argue this would be expected behavior anywhere else as well. The test eliminated the file existence check for the critical part of the function (making it resolve some race conditions as well). It is still used to check whether the file attributes should be set for newly created files - this part remains to be fixed. [DONE] Please make further tests, I've only tested it lightly. Report and example by Sergy, and follow-ups: https://groups.google.com/d/topic/harbour-users/ghxIb-VfrGg/discussion * ct_StrFile(): rename a parameter to reflect its real meaning (bOverwrite -> bAppend). The former was based on CT documentation, which uses the misleading name. 2016-01-08 18:50 UTC+0100 Viktor Szakats * package/mpkg_win.sh ! remove closing slash from the root directory to avoid a 'File not found - C:/hb/hb34/' error from 'attrib' tool. 2016-01-08 17:52 UTC+0100 Viktor Szakats * contrib/hbhttpd/core.prg * use smaller random string to hash * package/mpkg_win.sh + bundle libwinpthread*.dll from mingw package, libgcc_s_*.dll depends on it 2016-01-08 15:46 UTC+0100 Viktor Szakats * contrib/hbssl/tests/crypt.prg ! fix potential RTE if a certain API didn't finish successfully * contrib/hbssl/tests/crypt.prg * contrib/hbssl/tests/encode.prg * avoid binary output * contrib/hbssl/tests/pem.prg * show openssl version 2016-01-08 15:21 UTC+0100 Viktor Szakats * contrib/hbssl/tests/digest.prg * remove redundant binary console output ! update API usage to follow incompatible API changes preparing for OpenSSL 1.1.0 * contrib/hbssl/tests/inetssl.prg + add comment about required -mt option to build it successfully 2016-01-08 14:32 UTC+0100 Viktor Szakats * contrib/hbssl/tests/pem.prg * add some progress feedback * extras/ps32/README.md * extras/superlib/README.md * package/mpkg.hb * cleanups * tests/rdd/make_c52.bat * tests/rdd/make_c53.bat * utils/hbtest/make_c5x.bat * utils/hbtest/make_xpp.bat * make these files smaller 2016-01-10 20:42 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c * allow to use == operator for codeblocks * utils/hbtest/rt_hvm.prg * updated for == operator which accepts codeblocks * utils/hbtest/rt_main.ch * do not define __CLIPPER__ macro when ITK Clip compiler is used * contrib/hbbz2/errint.c * added HB_EXPORT to bz_internal_error() declaration 2016-01-09 20:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/hbbz2/errint.c + added file I forgot to add to git in one of previous commits 2016-01-09 20:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbbz2io/bz2io.c * pacified warning 2016-01-09 20:30 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbbz2/core.c * contrib/hbbz2/hbbz2.hbp * moved bz_internal_error() definition to separate file to avoid conflicts when more modules need it and/or define their own. * contrib/hbplist.txt + contrib/hbbz2io/bz2io.c + contrib/hbbz2io/hbbz2io.hbc + contrib/hbbz2io/hbbz2io.hbp + contrib/hbbz2io/hbbz2io.hbx + added new Harbour File IO driver for BZIP2 compressed streams. It redirects files with "bz:" and "bz[1-9]:" prefixes and can be used with hb_vf*() functions and transfer RDDs like SDF or DELIM, i.e. REQUEST HB_BZ2IO, HB_MEMIO USE test COPY TO mem:bz:test.txt.bz DELIMITED WITH TAB FOR EACH cLine IN ; hb_ATokens( hb_MemoRead( "mem:bz:test.txt.bz" ), .t. ) ? cLine NEXT or: REQUEST HB_GZIO, HB_BZ2IO FUNCTION GZip2Bz2( cFile ) RETURN hb_vfCopy( "GZ:" + cFile + ".gz", "BZ:" + cFile + ".bz2" ) In summary BZ2IO works like GZIO but uses BZIP2 slower though more efficient compression BZIP2 method instead of GZIP format. 2016-01-09 20:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbgzio/gzio.c * do not clear timeout when at least one byte was read or written, it may be useful for code which was not designed to work with partially finished file read/write operations. 2016-01-09 20:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbfoxpro/hbfoxpro.hbp * contrib/hbfoxpro/hbfoxpro.hbx + contrib/hbfoxpro/relfunc.c + added FoxPro compatible functions: Between( <xValue>, <xMinVal>, <xMaxVal> ) -> <lBetween> InList( <xValue>, <xItem1> [, <xItemN,...>] ) -> <lExists> 2016-01-09 03:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c + allow to compare symbol items with == operator, i.e.: ? @QOut() == &( "@QOut()" ) * include/hbapiitm.h * src/vm/itemapi.c + added new C function: hb_itemCompare( PHB_ITEM pItem1, PHB_ITEM pItem2, HB_BOOL bForceExact, int * piResult ); For compatible types it compares pItem1 with pItem2 setting piResult to -1, 0 or 1 if pItem1 is <, == or > then pItem2 and returns true otherwise it returns false and does not touch piResult. + allow to compare symbol items in hb_itemEqual() 2016-01-09 02:17 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbgzio/gzio.c ! fixed license text in file header - by mistake I committed wrong one, thanks to Tamas TEVESZ for information 2016-01-08 13:00 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/hbdossrl/serial.h ! force pure C function declaration 2016-01-08 12:38 UTC+0100 Viktor Szakats * src/rdd/delim1.c * src/rdd/sdf1.c * scope variables * fix indenting 2016-01-08 12:28 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbrdddel.h * src/rdd/delim1.c + added to DELIM RDD support for defined by user default filename extension. It can be changed by: hb_rddInfo( RDDI_TABLEEXT, ".csv", "DELIM" ) + added to DELIM RDD support for exporting initial record with field names. It can be enabled by: hb_rddInfo( RDDI_SETHEADER, 1, "DELIM" ) and disabled by: hb_rddInfo( RDDI_SETHEADER, 0, "DELIM" ) Importing from CSV files with such header is not supported yet but I plan to add it so in the future RDDI_SETHEADER=1 will also effect import (APPEND FROM). ; [vszakats] revert a local variable scoping which might have been wrong since the previous merge 2016-01-08 12:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbfoxpro/hbfoxpro.ch + added new PP rules suggested by Jeff Stone for THIS., .NULL. and CD * contrib/hbfoxpro/hbfoxpro.hbx * contrib/hbfoxpro/misc.prg * contrib/hbfoxpro/miscfunc.c + added new functions Id(), Program() and LineNo() + added SYS( 1 ), SYS( 11 ), SYS( 2003 ) ! fixed SYS( 10 ) to return date as character string 2016-01-07 22:42 UTC+0100 Viktor Szakats * ChangeLog.txt + add note that entries may not always follow chronological order (ordering is a manual job happening at or after merge-time) 2016-01-07 12:16 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c ! Fixed ( again ) Wvt_DrawImage() and Wvg_Image() where images were not being rendered correctly if the height of image is greater than width of the image. The behavior is only affected when <bDoNotScale> is set to be TRUE. Thanks Sergy for reporting and providing code to debug. ; [vszakats] fixed usual tabs ; [vszakats] one hunk dropped, as it was already fixed in this fork 2016-01-04 00:43 UTC+0100 ; [vszakats] fix to use HB_MIN() 2016-01-07 11:09 UTC+0100 Viktor Szakats * src/rdd/usrrdd/rdds/arrayrdd.prg ! fix swapped function redirects in HB_LEGACY_LEVEL4 code Thanks to Pete for finding it. Fixes https://github.com/vszakats/hb/issues/187 2016-01-07 01:16 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.c * contrib/3rd/sqlite3/sqlite3.dif ! fix local patch. regression from 5f8320416add80540a6d6c3f1254b33d60fc9364 2016-01-07 01:07 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_10_0.html 2016-01-06 23:39 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix compilation error on BSD platforms after some recent updates Thanks to Tamas Tevesz for the patch. 2016-01-06 14:05 UTC+0100 Viktor Szakats * package/mpkg_win.sh * reset Windows attributes before packaging, for determinism 2016-01-06 12:58 UTC+0100 Viktor Szakats * appveyor.yml * update curl binary depencies after silencing false positive VirusTotal results in them. 2016-01-05 17:46 UTC+0100 Viktor Szakats * appveyor.yml * minor cleanup 2016-01-05 17:36 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win_dl.sh * package/mpkg_win.sh ! fix to include a different sfx module, so that it won't error anymore with 'unsupported compression method' (or similar) + include 64-bit sfx for 'lto' builds (which needs a 64-bit machine anyway) 2016-01-05 15:19 UTC+0100 Viktor Szakats * appveyor.yml * do not attempt to upload package to VirusTotal when 3rd party static libs are bundled (currently this is true for the daily ('master') and 'lto' builds), because its rejected anyways due to its size. + do not enable static lib bundling for 'msvc' branch 2016-01-05 14:41 UTC+0100 Viktor Szakats * appveyor.yml + include curl, openssl, libssh2, nghttp2 static libs in the daily Windows distro package (for mingw/mingw64) These components are build automatically as a result of a separate project and also available separately: https://github.com/curl/curl-for-win They are large because they're built with LTO support. 2016-01-05 13:15 UTC+0100 Viktor Szakats * contrib/hbwin/win_prn1.c * contrib/hbwin/win_tprn.prg + add support for win_Prn():Collate := <bValue> + win_SetDocumentProperties(): add support for 11th <bCollate> parameter + win_GetDocumentProperties(): add support for 10th <bCollate> parameter ; (untested) ; Ref: https://groups.google.com/d/msg/harbour-users/x8-55cmQm7g/1SeSREI_AgAJ * package/mpkg.hb * cleanups 2016-01-05 10:04 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapigt.h * src/rtl/gttrm/gttrm.c * modified GTTRM to generate HB_K_CLOSE if input stream is closed and then HB_K_TERMINATE on next inkey calls. 2016-01-05 02:03 UTC+0100 Viktor Szakats * README.md * replace direct URLs with more generic indications for mingw (direct URLs can be found in package/getmingw.hb and package/mpkg_win_dl.sh) 2016-01-05 02:00 UTC+0100 Viktor Szakats * package/getmingw.hb * more cleanup 2016-01-05 01:50 UTC+0100 Viktor Szakats * package/getmingw.hb * package/mpkg_win_dl.sh * switched to another mirror for the time being * package/mpkg_src.sh * minor cleanups 2016-01-04 23:13 UTC+0100 Viktor Szakats * appveyor.yml + include hbgzio in 'lto' builds 2016-01-04 23:10 UTC+0100 Viktor Szakats * src/rdd/delim1.c * minor whitespace fix after merge 2016-01-04 23:55 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbgzio/gzio.c * pacified warning 2016-01-04 22:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbplist.txt + added HBGZIO library 2016-01-04 22:54 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/hbgzio/gzio.c + contrib/hbgzio/hbgzio.hbc + contrib/hbgzio/hbgzio.hbp + contrib/hbgzio/hbgzio.hbx + added new Harbour File IO driver for GZIP compressed streams. It redirects files with "gz:" and "gz[0-9]:" prefixes and can be used with hb_vf*() functions and transfer RDDs like SDF or DELIM, i.e. REQUEST HB_GZIO USE test COPY TO gz:test.txt.gz DELIMITED WITH TAB or: REQUEST HB_GZIO, HB_MEMIO hb_vfCopy( "file.txt", "gz9:mem:file.txt.gz" ) USE test APPEND FROM "gz:mem:file.txt.gz" hb_vfErase( "mem:file.txt.gz" ) or: REQUEST HB_GZIO FUNCTION GZIP( cFile ) RETURN hb_vfCopy( cFile, "GZ:" + cFile + ".gz" ) Have a fun with new toy in a new year ;) 2016-01-04 22:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/gencc.c ! fixed generation of -gc3 code for 64-bit *nixes on 32-bit hosts 2016-01-04 21:25 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbznet.c * src/rtl/hbzsock.c ! cleanup * include/hbrdddel.h * include/hbrddsdf.h * src/rdd/delim1.c * src/rdd/sdf1.c + added support for any standard EOL combination to DELIM and SDF RDDs, Now LF, CRLF, CR and LFCR EOLs are supported and automatically recognized during import if one of such EOLs is also set in HVM by _SET_EOL. % use 8192 bytes read ahead buffer to speed up import from DELIM and SDF RDDs + modified file IO operations to work with stream only (no support for file seek) Harbour File IO drivers % optimized some File IO operations * strip all EOF (^Z) characters from imported data. It's not strictly Cl*pper compatible because Cl*pper interrupts import on first ^Z character anyhow it was always the source of problems when .txt files are concatenated by tools like 'cat' in *nixes so I decided to change it. + added support RECORD clause command in commands like: APPEND FROM "data.txt" RECORD (nRec) DELIMITED APPEND FROM "data.txt" RECORD (nRec) SDF It's Harbour extension - Cl*pper does not support it. + generate RTE when some unsupported in transfer RDDs methods are called 2016-01-04 21:37 UTC+0100 Viktor Szakats * package/mpkg_win.sh * cleanup 2016-01-04 20:27 UTC+0100 Viktor Szakats * package/mpkg_win.sh * minor cleanups + debug 2016-01-04 20:04 UTC+0100 Viktor Szakats * doc/en/lang.txt * include/hbapicdp.h * include/hbcpage.hbx * src/codepage/Makefile + src/codepage/cphucwi.c + src/codepage/uccwi2.c + add CWI-2 Hungarian codepage: 'cwi-2', 'HUCWI' It's meant for codepage conversion, not sorting. Sorting currently mimics HU852. Ref: https://github.com/vszakats/hb/commit/27022db829abc81d4c1c98f62939075ddd00dae2 * doc/en/lang.txt ! some cleanups 2016-01-04 05:09 UTC+0100 Viktor Szakats * appveyor.yml % restrict list of contribs when building 'lto' branch * package/mpkg_win.sh ! fix certain missing targets in BUILD.txt 2016-01-04 04:49 UTC+0100 Viktor Szakats * appveyor.yml * cleanup * package/getmingw.hb ! fix to work when run from PATH (as suggested by RELNOTES.txt) + be more portable + be more flexible to find required curl and 7za * minor cleanups + package/getsrc.hb + add script to download Harbour source code matching the binary build * package/mpkg_win.sh ! include CA certificate bundle in distro package + include getsrc.hb * adjust a license name * minor cleanup 2016-01-04 03:13 UTC+0100 Viktor Szakats * appveyor.yml ! finalize ! readd an envvar * README.md * remove no longer valid URL to bzip2 binaries. It's also part of Git for Windows now. 2016-01-04 02:37 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh * generalize static lib license copying * debug 2016-01-04 02:30 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh * do not fail on VirusTotal upload failures * remove static lib copy debug + copy static lib licenses ! fix 7z license on case-sensitive filesystems 2016-01-04 01:47 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh * cleanups ! try fixing/debug static lib copy 2016-01-04 01:01 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh * quoting * package/mpkg_win.sh * use grep instead of sed for portability ! fix to include *_VER envvars in BUILD.txt ! fix a typo when copying static libs 2016-01-04 00:43 UTC+0100 Viktor Szakats * contrib/gtwvg/wvgcore.c ! fix wvt_DrawImage() scaling when 5th <nPictureSlot> numeric parameter parameter is passed, following Pritpal's fix in 2016-01-03 09:24 UTC-0800. (untested) 2016-01-04 00:11 UTC+0100 Viktor Szakats * appveyor.yml + add missing envvars 2016-01-04 00:07 UTC+0100 Viktor Szakats * appveyor.yml ! typos * package/mpkg_win_dl.sh * be less verbose 2016-01-03 23:36 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh + bundle static library dependencies of curl (for 'lto' branch) * package/mpkg_win_dl.sh + download all curl dependencies, using reworked, shorter code 2016-01-03 22:22 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win_dl.sh * package/mpkg_win.sh * include *_VER variable in BUILD.txt * msvc builds are now possible just by adding a branch called 'msvc' * store 3rd party packages in unversioned directories * rearrange the 'build_script' section of appveyor.yml 2016-01-03 20:46 UTC+0100 Viktor Szakats * appveyor.yml * generalize openssl locations 2016-01-03 20:42 UTC+0100 Viktor Szakats * package/mpkg_win.sh * replace branch detection with generic method 2016-01-03 09:24 UTC-0800 Pritpal Bedi (bedipritpal/at/hotmail.com) * contrib/gtwvg/wvgcore.c * contrib/gtwvg/wvgcuig.c ! Fixed Wvt_DrawImage() and Wvg_Image() where images were not being rendered correctly if the height of image is greater than width of the image. The behavior is only affected when <bDoNotScale> is set to be TRUE. Thanks Sergy for reporting and providing code to debug. ; [vszakats] fixed tabs, EOL spaces 2016-01-03 17:19 UTC+0100 Viktor Szakats * package/mpkg_win.sh * move licenses to root of the package * cleanup filetypes that are packed into the bin dir (now only executables and no batches) 2016-01-03 17:06 UTC+0100 Viktor Szakats * package/getmingw.hb * package/mpkg_win.sh % burn-in version at packaging time instead of rolling it there manually 2016-01-03 17:02 UTC+0100 Viktor Szakats * package/getmingw.hb % minor cleanup 2016-01-03 16:59 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh + bundle 64-bit 7za.exe for 64-bit hosted packaging + bundle curl.exe * package/getmingw.hb % drop JS download hack. With bundled curl.exe, this is no longer necessary 2016-01-03 16:43 UTC+0100 Viktor Szakats * appveyor.yml * add reduced list of contribs in case lto build wouldn't fit in 40 minutes * package/mpkg_win.sh ! fix non-master builds to not remove master tag 2016-01-03 15:01 UTC+0100 Viktor Szakats * package/mpkg_win.sh * replace Git for Windows specific find hack with a cleaner solution ! fix a missing quoting 2016-01-03 14:38 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh + be 64-bit hosted in lto branch 2016-01-03 14:30 UTC+0100 Viktor Szakats * appveyor.yml ! move back mpkg_win.sh to its former place 2016-01-03 13:26 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh * fix a mistake * remove one hack once again 2016-01-03 12:45 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh * restore two hacks * protect curl with local set 2016-01-03 12:13 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh * move problematic curl call to shell script * remove hack required by above curl call * move mpkg_win.sh call to 'before_deploy' stage * try removing the 'find' hack as well 2016-01-03 12:03 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win_dl.sh * tweak displaying '*_VER' variables % submit to VirusTotal only master builds (max size is 128 MB, LTO builds are larger than that) + enable LTO mode for the 'lto' branch 2016-01-03 04:21 UTC+0100 Viktor Szakats * appveyor.yml * alignment 2016-01-03 03:59 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win_dl.sh * package/mpkg_win.sh * eliminate a variable from appveyor.yml * move curl/openssl package hashes next to the version numbers in appveyor.yml 2016-01-03 02:25 UTC+0100 Viktor Szakats * contrib/hbzebra/qrcode.c * url update 2016-01-03 02:12 UTC+0100 Viktor Szakats * ChangeLog.txt * README.md * https urls 2016-01-02 21:59 UTC+0100 Viktor Szakats * package/getmingw.hb * package/mpkg_win_dl.sh * update to mingw/gcc 5.3.0 ; URLs (that point to sfnet mirrors) may need some time get live * win-make.exe * updated from: https://sourceforge.mirrorservice.org/m/mi/mingw-w64/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/5.3.0/ includes fix for this problem: https://stackoverflow.com/a/33378517/1732433 2015-12-31 12:49 UTC+0100 Viktor Szakats * package/getmingw.hb ! fix missing EXITs 2015-12-31 12:48 UTC+0100 Viktor Szakats * package/getmingw.hb * minor cleanup 2015-12-31 12:40 UTC+0100 Viktor Szakats * package/getmingw.hb ! fix an error when run under Windows 2015-12-31 05:19 UTC+0100 Viktor Szakats - package/getmingw.bat + package/getmingw.hb * package/mpkg_win.sh * package/RELNOTES.txt + replace MS-DOS batch with a Harbour script uses curl if available, otherwise the same ugly trick as the batch file did. Run it by: $ hbrun getmingw.hb * package/mpkg_win.sh ! typo in latest commit 2015-12-31 04:37 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win_dl.sh * move slash conversion to shell script 2015-12-31 04:34 UTC+0100 Viktor Szakats * package/mpkg_win.sh * turn off forced debug mode 2015-12-31 04:28 UTC+0100 Viktor Szakats - package/mpkg_win.bat * appveyor.yml * package/mpkg_win.sh ! add missing exec flag - delete MS-DOS batch, now replaced by shell script ! fix JSON location for PATCH call * minor internal cleanups - disable debug logging + readd Borland C implib crap (untested) 2015-12-31 03:48 UTC+0100 Viktor Szakats * appveyor.yml * try something to fix 'Problems parsing JSON' in the PATCH call * package/mpkg_win.sh * remove debug 2015-12-31 02:57 UTC+0100 Viktor Szakats * package/mpkg_win.sh ! fix missing target directory * enable some debug 2015-12-31 02:22 UTC+0100 Viktor Szakats * appveyor.yml * enable debug * try deleting bogus msys curl.exe 2015-12-30 20:08 UTC+0100 Viktor Szakats * appveyor.yml ! fix to prev 2015-12-30 20:07 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.sh ! move slash conversion to the right place 2015-12-30 20:03 UTC+0100 Viktor Szakats * appveyor.yml * switch to new shell script to generate Windows distro package ; special Borland C implib support and watcom/linux integration features were not reimplemented. 2015-12-30 20:00 UTC+0100 Viktor Szakats * package/mpkg_win.sh ! fix to prev 2015-12-30 19:58 UTC+0100 Viktor Szakats * package/mpkg_win.sh * guard AppVeyor hack 2015-12-30 19:47 UTC+0100 Viktor Szakats * appveyor.yml + prepare for switching to shell script from batch file for Windows distro generation * fix to make mpkg_win follow the root directory + deploy locally for AppVeyor tests + package/mpkg_win.sh + add shell script to replace mpkg_win.bat. It requires Git for Windows 2.x, and that's the only environment it has been tested so far ; This new script misses the Borland C specific tricks and the Watcom/Linux integration line as well. * package/mpkg.hb % remove unused functionality 2015-12-30 17:17 UTC+0100 Viktor Szakats * package/mpkg_win.bat ! fix bundling libgcc*.dll the wrong bitness in certain cases 2015-12-30 16:37 UTC+0100 Viktor Szakats * package/mpkg_win.bat ! fix another typo, this time in commented code 2015-12-30 13:35 UTC+0100 Viktor Szakats * config/detfun.mk % cleanup to use identical and existing macro instead of redefining it Thanks to Przemek for the notice. * package/mpkg_win.bat ! fix a typo when building native 64-bit distros 2015-12-29 21:35 UTC+0100 Viktor Szakats * contrib/hbtest/hbtest.hbp - contrib/hbtest/values.prg * contrib/hbtest/core.prg * revert recent workaround for platform specific -gc3 code, after Przemek's merged upstream fix. Ref: https://groups.google.com/forum/#!topic/harbour-devel/zAonSxMGBBI Ref: https://github.com/vszakats/hb/commit/4790f8433df1eb4d9218344bd6abcdee0c49137b * src/compiler/gencc.c * delete FIXME comment * .gitattributes * delete .sx file type (part of src/3rd/hbpmcom, that has been superceded by hbdossrl) 2015-12-29 18:14 UTC+0100 Viktor Szakats * config/detfun.mk ! fix to strip header from detection path after 2015-12-29 17:43 UTC+0100 2015-12-29 18:08 UTC+0100 Viktor Szakats * src/3rd/hbdossrl/README -> src/3rd/hbdossrl/README.txt * rename to have a standard extension * src/3rd/hbdossrl/serial.h * remove whitespace 2015-12-29 17:43 UTC+0100 Viktor Szakats * config/detfun.mk ! fix detecting vendored ("3rd") components when the Harbour source code resides on a path containing spaces Ref: https://groups.google.com/d/msg/harbour-users/CEmqH2p3hls/RP6jSzs-AgAJ 2015-12-29 20:16 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbcomp.h * include/hbcompdf.h * src/compiler/gencc.c ! generate platform and C compiler independent C code for -gc3 output 2015-12-29 17:33 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/3rd/hbdossrl/Makefile ! typo in library name 2015-12-29 17:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + src/3rd/hbdossrl/Makefile + src/3rd/hbdossrl/serial.c + src/3rd/hbdossrl/serial.h + src/3rd/hbdossrl/README + added DOS Serial Library - it's much cleaner and simpler then COMLib we used so far in DOS builds. It also supports hardware and software flow control. Many thanks for Karl Stenerud for his wonderful job. * src/rtl/hbcom.c + added support for DOS Serial Library used as low-level backend in Harbour DOS builds. * config/dos/djgpp.mk * config/dos/watcom.mk * config/dyn.mk * config/lib.mk * src/3rd/Makefile * src/Makefile * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg * use DOS Serial Library (hbdossrl) instead of COMLib (hbpmcom) 2015-12-29 15:49 UTC+0100 Viktor Szakats * appveyor.yml ! fix YAML formatting 2015-12-29 14:34 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh * more generalization 2015-12-29 14:14 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win_dl.sh % generalize build root 2015-12-28 15:24 UTC+0100 Viktor Szakats * contrib/hbtest/hbtest.hbp * contrib/hbtest/core.prg + contrib/hbtest/values.prg * split off values to a separate source, which is in turn compiled with -gc0 instead of -gc3, thus avoiding wrong generated code for a large literal numeric value when cross-building Harbour. Ref: https://groups.google.com/d/topic/harbour-devel/zAonSxMGBBI/discussion 2015-12-28 04:45 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh * update curl dependencies after fixing libcurl.dll in it Ref: https://github.com/curl/curl-for-win/commit/59b76dab1b75b0c5ec67b7a96d5382ad1e0c6815 2015-12-28 03:47 UTC+0100 Viktor Szakats * package/mpkg_win_dl.sh + use 'set -e' instead of '|| exit 1' for easier maintenance and to catch failure in download/unpack commands as well 2015-12-28 01:24 UTC+0100 Viktor Szakats * appveyor.yml * indent 2015-12-28 01:21 UTC+0100 Viktor Szakats * appveyor.yml + package/mpkg_win_dl.sh + try moving downloading dependencies to a shell script 2015-12-28 00:43 UTC+0100 Viktor Szakats * .travis.yml + install p7zip for the future * appveyor.yml + generalize workdir 2015-12-28 00:17 UTC+0100 Viktor Szakats * .travis.yml ! use a valid compiler name for windows cross-build sessions (it gets executed by Travis CI) 2015-12-27 23:41 UTC+0100 Viktor Szakats * .travis.yml * combine 32-bit and 64-bit Windows cross-builds. This saves one native build and allows to build a unified distro package in the future. 2015-12-27 23:35 UTC+0100 Viktor Szakats * .travis.yml + run Windows binaries when finished 2015-12-27 23:00 UTC+0100 Viktor Szakats * .travis.yml * modify build parallelism from 8 to 4 threads 2015-12-27 22:33 UTC+0100 Viktor Szakats * .travis.yml * try `-j 8` make option 2015-12-27 22:13 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! sync depcontrol= .hbc directive to behave like the -depcontrol= .hbp option * contrib/hbicu/hbicu.hbp ! sync icu detection locations with hbicu.hbc 2015-12-27 20:07 UTC+0100 Viktor Szakats * .travis.yml * appveyor.yml + enable CI-specific test branches 2015-12-27 19:15 UTC+0100 Viktor Szakats * config/common/clang.mk * config/global.mk ! always set HB_COMPILER_VER to the minimal supported version, if version detection fails (the displayed version may not reflect reality in such cases) ! fix clang version dependent options to work correctly for older clang versions * contrib/hbicu/hbicu.hbp ! there is no vendored ico, reflect that in .hbp 2015-12-27 18:39 UTC+0100 Viktor Szakats * .travis.yml ! indentation * utils/hbmk2/hbmk2.prg + display concurrent jobs with -info option 2015-12-27 17:17 UTC+0100 Viktor Szakats * utils/Makefile ! do not try to build hbmk2 when HB_BUILD_PARTS is set to 'compiler'. hbmk2 also requires libs, so it can only build with 'all' (or unset) 2015-12-27 15:17 UTC+0100 Viktor Szakats * .travis.yml + try enabling Windows cross-builds on Travis CI/linux 2015-12-26 01:46 UTC+0100 Viktor Szakats * package/mpkg_win.bat ! use CRLF EOLs in doc/*.txt in the Windows package 2015-12-25 21:56 UTC+0100 Viktor Szakats * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.hbx ! fix to OpenSSL 1.0.1-pre1 (still untested, but after inspecing actual code instead of CHANGES) + add EVP_MD_CTX_RESET() to replace EVP_MD_CTX_INIT() and EVP_MD_CTX_CLEANUP(), which are now deprecated with HB_LEGACY_LEVEL5 and which act as wrappers to EVP_MD_CTX_RESET() when enabled. 2015-12-25 15:26 UTC+0100 Viktor Szakats * package/mpkg_win.bat * exclude compiler/platform/cpu envvars from BUILD.txt to avoid confusion 2015-12-25 12:50 UTC+0100 Viktor Szakats * appveyor.yml * 7-zip 15.12 2015-12-24 15:54 UTC+0100 Viktor Szakats * appveyor.yml * curl with nghttp2 1.6.0 2015-12-24 14:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! casting for C++ compilation 2015-12-23 18:57 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! added missing HB_STACK_TLS_PRELOAD - thanks to Viktor for the info 2015-12-23 17:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/vm/hvm.c + added new PRG function: __RecoverErrorBlock() -> <bError> | NIL It extracts previous error block pushed on HVM stack by BEGIN SEQUENCE WITH ... * src/rdd/dbf1.c ! fixed detecting VFP tables broken in my previous modification - thanks to Mario H. Sabado for information about the problem. 2015-12-23 04:22 UTC+0100 Viktor Szakats * appveyor.yml + update to a new curl build that includes HTTP2 support via nghttp2 * contrib/hbcurl/hbcurl.hbc + link nghttp2 lib in win/mingw static mode Ref: https://bintray.com/vszakats/generic/nghttp2 2015-12-23 02:13 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.20 2015-12-23 01:25 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.hbc * comment update * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.hbx * internal updates for OpenSSL 1.1.0 support * deprecate EVP_MD_CTX_CREATE() (by HB_LEGACY_LEVEL5) for new EVP_MD_CTX_NEW() function * deprecate EVP_MD_CTX_CLEANUP(), but it's still included (low-level situation is a little bit unclear -for me- yet) * EVP_MD_CTX_INIT() now returns an integer, 1 for success, 0 for failure. 2015-12-19 01:23 UTC+0100 Viktor Szakats * package/getmingw.bat + inform user about the download area when run from a source tree 2015-12-18 19:32 UTC+0100 Viktor Szakats * tests/checkssl.hb ! minor fix to URL detection regex 2015-12-18 18:48 UTC+0100 Viktor Szakats * config/lang2po.hb * config/po2lang.hb * config/postinst.hb ! add shebang for scripts with exec flag set * package/mpkg.hb + set exec flag and shebang 2015-12-18 18:42 UTC+0100 Viktor Szakats * bin/3rdpatch.hb * bin/commit.hb * config/lang.hb * contrib/make.hb * tests/hbpp/compare.hb * update shebang to work regardless of where Harbour resides on the system, will now work if hbmk2 is found anywhere in PATH * tests/hbpp/compare.hb ! set exec flag * tests/checkssl.hb * tests/hbdocext.hb * tests/langchk.hb * tests/stripdoc.hb * tests/stripeol.hb * tests/stripid.hb + add shebang 2015-12-18 13:41 UTC+0100 Viktor Szakats * contrib/hbwin/win_dlg.c * contrib/hbwin/hbwin.ch + win_PrintDlgDC() add 5th parameter to pass a flags value (WIN_PD_*) Closes: https://github.com/vszakats/hb/issues/183 Ref: https://msdn.microsoft.com/library/ms646843 + add WIN_PD_* constants 2015-12-17 13:50 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg + add support for launching documents (and possibly GUI apps) on Linux and *BSD. This means -viewhelp should work now on these OSes. (untested) 2015-12-16 02:08 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix a merge conflict resolution typo 2015-12-16 19:09 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfopen.c ! do not use _wfsopen() in MinGW-CE builds - it does not support it (Thanks to Abe) 2015-12-15 23:48 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/dos/watcom.mk * config/win/watcom.mk * config/linux/watcom.mk ! enabled -bd OpenWatcom switch for code compiled as part of dynamic libraries * use CauseWay as default DOS extender for dynamic DOS builds * config/dyn.mk * config/lib.mk * src/Makefile ! fixed list of libraries used to create Harbour DLL in DOS builds * config/bin.mk * src/vm/Makefile * create hbmainstd library for OpenWatcom DOS shared builds * src/vm/maindllh.c + added DLL entry function for CauseWay DLLs in OpenWatcom builds * src/vm/main.c * include maindllh.c in OpenWatcom DOS shared builds * utils/hbmk2/hbmk2.prg + added support for dynamic binaries in DOS OpenWatcom builds. Support for CauseWay DLLs is still broken in current OpenWatcom builds so it will have to wait for the fix to be usable. * src/vm/dynlibhb.c + added support for dynamic libraries to OpenWatcom DOS builds. Now it's enabled only in harbour.dll due to problems with CW and current OW. * src/3rd/zlib/zconf.h * src/3rd/zlib/zlib.dif * use OS2 patch for exporting ZLIB symbols also in DOS builds * src/rdd/dbf1.c * pacified warning 2015-12-15 19:50 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfopen.c * use *fsopen() function instead of *fopen() in most of DOS, OS2 and MS-Windows builds 2015-12-14 16:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * config/os2/watcom.mk + added -bd to Watcom C switches used to compile files for Harbour DLL. It should fix the problem with OpenWatcom binaries using harbour.dll. 2015-12-14 16:23 UTC+0100 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * src/dynlib/Makefile * utils/hbmk2/hbmk2.hbp * utils/hbmk2/Makefile ! HB_MT envvar renamed to be an internal/undocumented option, because it breaks a lot of thing and results in an unsupported configuration. 2015-12-14 14:52 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/dynlib/Makefile ! yet another fix for building harbour without MT support HB_MT=no 2015-12-14 14:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c + protect DosExecPgm() and standard file IO redirection in OS2 builds by GT mutex 2015-12-14 14:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * utils/hbmk2/Makefile * utils/hbmk2/hbmk2.hbp ! fixed build process without MT support: HB_MT=no 2015-12-13 23:20 UTC+0100 Viktor Szakats * contrib/hbssl/hbssl.hbx * contrib/hbssl/ssl.c + add OpenSSL_version() as a replacement for SSLeay_version() + add OpenSSL_version_num() as a replacement for SSLeay() ; above new names are matching the new OpenSSL 1.1.0 names. ; at the same time the old wrapper functions are deprecated with HB_LEGACY_LEVEL5 * contrib/hbhttpd/core.prg * contrib/hbssl/tests/digest.prg * contrib/hbssl/tests/test.prg * use new names * src/rtl/sha1.c * SSLeay -> OpenSSL 2015-12-10 17:20 UTC+0100 Viktor Szakats * README.md * update the way Homebrew cask is installed 2015-12-10 17:13 UTC+0100 Viktor Szakats * .travis.yml * use native formula name for slang (instead of an alias) 2015-12-10 17:07 UTC+0100 Viktor Szakats * config/darwin/libs.mk ! add support for s-lang Homebrew formula (hbmk2 already had it) 2015-12-10 16:20 UTC+0100 Viktor Szakats * contrib/hbmxml/core.c ! fix typo in internal function name * contrib/hbmxml/hbmxml.hbc + find libs on darwin + contrib/hbmxml/tests/tohash.prg + add XML to hash conversion example code Based on code posted by Rafael Carmona: https://github.com/vszakats/hb/issues/181#issue-121482480 2015-12-10 00:25 UTC+0100 Viktor Szakats * README.md * follow official name change 2015-12-08 17:58 UTC+0100 Viktor Szakats * README.md + use SSL for maintainer homepage Thanks Let's Encrypt: https://letsencrypt.org 2015-12-10 17:24 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * added HB_OS2_NONAMEDPIPES macro for OS2 build tests * src/rtl/hbproces.c * formatting 2015-12-09 23:15 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbssl/ssl_sock.c + recognize "ssl" item in hash array socket filter as alternative to "ctx" and "key" 2015-12-09 14:22 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/dbinfo.ch * include/hbrdddbf.h * src/rdd/dbf1.c + added new RDD switch RDDI_SETHEADER It allows to define how DBF header is updated in tables which will be opened later, i.e.: // maximize performance reducing number of DBF header updating // header is updated only when table is closed if before new // record was added hb_rddInfo( RDDI_SETHEADER, DB_SETHEADER_MINIMAL ) or: // update header in the same moment as Clipper and xBase++ // and store only last two digit from the year for compatibility // with old dBase and FoxPro versions hb_rddInfo( RDDI_SETHEADER, ; hb_bitOr( DB_SETHEADER_CLIPPER, DB_SETHEADER_YYEAR ) ) // DB_SETHEADER_CLIPPER By default Harbour uses DB_SETHEADER_APPENDSYNC. For more information look at comments for DB_SETHEADER_* switches in dbinfo.ch + added new table switch DBI_SETHEADER It has the same meaning as RDDI_SETHEADER but changes the header updated mode of already open table by dbInfo() function. * src/rtl/filebuf.c ! added missing redirection for Configure() method. * src/rtl/hbproces.c ! fixed sysconf() emulation for OpenWatcom 1.9 and earlier to work with _SC_PAGESIZE 2015-12-05 12:37 UTC+0100 Viktor Szakats * tests/getblock.prg * minor cleanups 2015-12-05 10:58 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + tests/getblock.prg + added test code for GET SetGet block for aliased macro variables 2015-12-05 10:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtos2/gtos2.c ! fixed GCC builds - many thanks to David Macias 2015-12-04 23:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbexpra.c ! accept strings passed in 2nd parameter of _GET_() function with the highest priority for macro and macroalias expressions ! fixed late evaluation of macroalias expressions in GET variables. Thanks to Volodimyr for information about the problem and self contain code example. * include/hbexprb.c ! fixed typo in SetGet expression LValue validation 2015-12-04 22:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c ! fixed typo in previous modification 2015-12-04 19:42 UTC+0100 Viktor Szakats * appveyor.yml + update openssl 1.0.2e. after much fixing and testing, it's fine. 2015-12-04 14:13 UTC+0100 Viktor Szakats * config/detect.mk * slang -> s-lang 2015-12-04 12:26 UTC+0100 Viktor Szakats * appveyor.yml * update openssl package hashes (.exe is now stripped) 2015-12-04 11:54 UTC+0100 Viktor Szakats + tests/achoice7.prg + add minimal example for a Cl*pper incompatibility Ref: https://groups.google.com/d/msg/harbour-users/9nuTFVuqDs8/yFdyXsmmAAAJ * src/rtl/achoice.prg ! typo in comment 2015-12-04 11:30 UTC+0100 Viktor Szakats * appveyor.yml * revert to openssl 1.0.2d (openssl 1.0.2e was broken packaging and subsequently won't build due to missing headers) 2015-12-04 10:10 UTC+0100 Viktor Szakats * appveyor.yml * update to openssl 1.0.2e 2015-12-04 03:21 UTC+0100 Viktor Szakats * contrib/hbformat/utils/hbformat.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * CONTRIBUTING.md * extras/hbdoc/hbdoc.prg * package/harbour.rc * README.md * src/compiler/hbusage.c * src/pp/hbpp.c * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * utils/hbtest/hbtest.prg * bump copyright year 2015-12-04 00:46 UTC+0100 Viktor Szakats * package/harbour.rb * README.md * use native formula name for slang (instead of an alias) 2015-12-04 00:09 UTC+0100 Viktor Szakats * .travis.yml * package/harbour.rb * README.md + readd slang on darwin. It _is_ the slang we're looking for. Reg: 2015-06-06 18:50 UTC+0200 2015-12-03 22:08 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c ! fixed wrongly set error code when last stream is closed. It was minor problem invisible for client PRG code without any side effects. * lock stream mutex a little bit earlier to avoid problems with future code extensions - i.e. streams closed asynchronously by other server threads * contrib/hbnetio/netiocli.c * allow to send data to currently registered stream. Now if server stream function sends some data to stream before it returns then this data is not dropped be client but saved and later can be accessed by netio_GetData() function 2015-12-03 14:13 UTC+0100 Viktor Szakats * appveyor.yml * won't work without updating the curl version number as well ;) 2015-12-03 13:52 UTC+0100 Viktor Szakats * appveyor.yml * update to curl 7.46.0 * and a new build of openssl (now with openssl.exe built without debug info) 2015-12-03 12:52 UTC+0100 Viktor Szakats * CONTRIBUTING.md * minor formatting 2015-12-03 12:26 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbstack.h * src/vm/estack.c + added new C function: HB_ISIZ hb_stackBaseSymbolOffset( PHB_SYMB pSymbol ); it returns offset of pSymbol function frame on HVM stack or -1 if function/procedure pointed by pSymbol is not called. * contrib/hbnetio/readme.txt * contrib/hbnetio/netiosrv.c * contrib/hbnetio/hbnetio.hbx + added new server side function: netio_ServedConnection() -> <pConnectionSocket> It returns connection served by netio_Server() in current thread and can be used inside executed RPC functions to access <pConnectionSocket> 2015-12-02 00:15 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * try to maintain EOL style of .po files TODO: tests 2015-12-01 22:46 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * update DBF header only after modification in COMMIT and CLOSE methods. It's Cl*pper and xBase++ compatible behavior anyhow it also means that number of records in DBF header is not modified just after APPEND so it cannot be used to synchronization in concurrent file access. * src/rtl/hbproces.c ! save and restore hb_fsError() when unused pipe handles are closed in hb_fsProcessOpen() ! add extension (.com or .exe) in hb_fsProcessOpen()/hb_fsProcessRun() when executed command is given with PATH part and without extension. It's documented that DosExecPgm() needs full filename in such case. It fixes problem with contrib/make.hb which calls hbmk2 with directory part but without extension. ! enabled pipes instead of temporary files for stdio redirection in OS2 builds of hb_fsProcessRun() - now it should work correctly. * src/rtl/hbprocfn.c + update FError() in hb_Proces*() functions 2015-12-01 21:10 UTC+0100 Viktor Szakats * include/harbour.hbx * src/rtl/console.c + add hb_StrEOL( <cString> ) -> <cEOL> it will detect EOL style and return it. If no EOL found or inconsistent, the platform default EOL is returned. * include/harbour.hbx ! delete a duplicate item * src/rtl/hbi18n2.prg + __i18n_potArrayLoad() add 3rd reference parameter where detected EOL is returned + __i18n_potArraySave() accept 6th cEOL parameter * config/lang.hb * preserve EOL style of .po files * bin/commit.hb * config/postinst.hb * utils/hbmk2/hbmk2.prg % use hb_StrEOL() 2015-12-01 12:49 UTC+0100 Viktor Szakats * contrib/hbicu/hbicu.hbc * try fixing regression in 2015-11-29 14:57 UTC+0100 (it will probably regress the dynamic/script loading though) 2015-12-01 05:34 UTC+0100 Viktor Szakats * config/darwin/libs.mk * config/detect.mk * utils/hbmk2/hbmk2.prg + detect and use Homebrew ncurses if installed (untested) 2015-12-01 03:02 UTC+0100 Viktor Szakats * src/common/hbver.c % minor optimizations ! revert 2015-07-22 10:30 UTC+0200, which implemented an MSDN advice (denoted with 'must') because it resulted in wrongly detected OS version when run under WINE (1.7.53) default settings (Windows 7 emulation). Version detection appears to be working fine without this MSDN recommendation on native Windows, so for now it will be disabled. 2015-12-01 00:37 UTC+0100 Viktor Szakats * contrib/hbcurl/hbcurl.hbc * contrib/hbcurl/hbcurl.hbm + find curl components installed by Homebrew 2015-11-30 23:34 UTC+0100 Viktor Szakats * config/postinst.hb * utils/hbmk2/hbmk2.prg ! retain existing EOL style when updating .hbx files Useful when sharing the same local repository between different operating systems. 2015-11-30 14:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbjson.h * src/rtl/hbjson.c + added new C function: char * hb_jsonEncodeCP( PHB_ITEM pValue, HB_SIZE * pnLen, HB_BOOL fHuman, PHB_CODEPAGE cdp ); It allows to pass explicitly codepage in which strings inside pValue are encoded. If cdp parameter is not NULL then it's used to extract unicode character values from passed strings and this values is used to encode to encode non ASCII characters as "\uXXXX" where XXXX is unicode character value. Data serialized in such way is 7bit clean. If this parameter is NULL then strings are encoded in raw form just like in hb_jsonEncode(). + added new C function: HB_SIZE hb_jsonDecodeCP( const char * szSource, PHB_ITEM pValue, PHB_CODEPAGE cdp ); It allows to pass explicitly codepage used for strings decoded from JSON data. If this parameter is NULL then strings are decoded in raw form and unicode character with code over 255 are converted to '?' char. + added optional 3rd parameter with codepage ID to PRG functions hb_jsonEncode() and hb_jsonDecode(). If this parameter is not given then above functions works like before this modification: hb_jsonEncode() uses raw string encoding and hb_jsonDecode() uses current HVM CP to decode characters encoded as \uXXXX. ; [vszakats] restored one variable scoping + modified PRG function hb_jsonDecode() to return decoded data instead of length of decoded data when second parameter is not passed by reference. ; [vszakats] merged into the already existing, equivalent modification 2015-11-30 12:40 UTC+0100 Viktor Szakats * README.md * minor updates 2015-11-30 11:59 UTC+0100 Viktor Szakats + contrib/hbicu/hbicu.ch + add header NOTE: Included constants are not useful yet, the corresponding APIs are missing ATM and didn't really make any progress with them lately. Should fix: https://github.com/vszakats/hb/issues/180 2015-11-29 19:10 UTC+0100 Viktor Szakats * bin/3rdpatch.hb ! another attempt to fix EOL issue in `diff`, this time the option introduced in the last update turns out to not be supported by the older `diff` version found in El Capitan, so falling back another option (untested) + show error and exit in case of a `diff` command failure * bin/commit.hb ! fix to not check against file-content issue in 3rd party code 2015-11-29 19:06 UTC+0100 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/* * update to pcre 8.38 2015-11-29 18:34 UTC+0100 Viktor Szakats * bin/3rdpatch.hb ! fix to not use an unsupported 'tar' option on darwin and bsd platforms 2015-11-29 14:57 UTC+0100 Viktor Szakats * contrib/hbicu/hbicu.hbc ! fix to set default header ! fix to load library in script mode 2015-11-29 12:27 UTC+0100 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg - remove 'rudix' package manager detection on darwin + sync GNU Make sunos and cygwin package manager detection with hbmk2 + add package manager detection for BSD systems 2015-11-25 16:16 UTC+0100 Viktor Szakats + .editorconfig + add .editorconfig. See: https://EditorConfig.org/ * bin/commit.hb + add another exception for `.editorconfig` 2015-11-25 15:06 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/rtl/dateshb.c + added two new PRG functions: hb_SecToT( <nSeconds> ) -> <tTime> hb_MSecToT( <nMilliseconds> ) -> <tTime> * include/hbset.h * src/vm/set.c + added new C function: int hb_setUpdateEpoch( int iYear ); if necessary it converts year respecting _SET_EPOCH settings * src/rtl/dates.c * use hb_setUpdateEpoch() instead of local code * src/rdd/dbf1.c ! respect _SET_EPOCH decoding DBF update time from DBF HEADER (LUpdate() function). It's not Cl*pper compatible anyhow looks that most of tools stores only last two digits from the year (just like in the DBF documentation) and -1900 trick is not used so it helps to decode correct update date. * store 'year % 100' instead of 'year - 1900' in DBF header when DBF table with VFP signature is used (DB_DBF_VFP). 2015-11-25 13:12 UTC+0100 Viktor Szakats * CONTRIBUTING.md * README.md ! fix English language style nits 2015-11-25 04:01 UTC+0100 Viktor Szakats * contrib/hbssl/hbssl.hbc ! fix to find Homebrew openssl/libressl libs at app build time on darwin 2015-11-24 23:16 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! avoid potential whitespace at EOL in one debug message 2015-11-24 23:14 UTC+0100 Viktor Szakats * bin/commit.hb ! fix to find last ChangeLog.txt entry when the file is using LF EOLs ! fix to keep the existing EOL style in ChangeLog.txt when adding the new entry template ! fix to use LF EOL when modifying the Git hook files * add FIXME % use HB_ISNULL() instead of Empty() % disable unused STATIC function 2015-11-24 16:19 UTC+0100 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif ! fix opening filename passed via the command-line on *nix systems % FILE() -> HB_FILEEXISTS() 2015-11-24 12:45 UTC+0100 Viktor Szakats * appveyor.yml * reword comment about different Git for Windows curl builds 2015-11-24 09:05 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapirdd.h * src/rdd/wacore.c * changed 4th parameter of hb_rddRequestArea() from HB_BOOL fWait to HB_ULONG ulMilliSec [INCOMPATIBLE] * src/rdd/dbdetach.c + accept optionally as 4th parameter of hb_dbRequest() numeric value with timeout in seconds. The previous version using xBase++ compatible parameters (logical value <lWait> in 4th parameter) is still working. ; above modifications are based on request and patch sent to harbour-devel list by Rolf (many thanks), ref: https://groups.google.com/forum/?hl=pl#!topic/harbour-devel/Pu2b1M5VXjU 2015-11-24 02:34 UTC+0100 Viktor Szakats * utils/hbmk2/pkg_inst.hbm + add 'po_sub' -instfile bucket to support installing .po files into projects' 'po' subdirectory 2015-11-23 23:24 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c + reserve space for DBC name in newly created DBF files with VFP DBF signature, Thanks to Nikos Christophi, Jeff Stone and other who reported this problem. + added RTE when size of DBF header is exceed by "_NullFlags" field * src/vm/thread.c ! typo in comment 2015-11-23 03:54 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.bat * finalize tag rewrite after working around the buggy default curl build 2015-11-23 02:05 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.bat * debugging #1 2015-11-23 01:38 UTC+0100 Viktor Szakats * appveyor.yml * package/mpkg_win.bat + replace previous daily release tagging method with a new one, where a static tagname is modified to point to the current latest commit hash * CONTRIBUTING.md * README.md ! avoid Markdown control chars in text 2015-11-22 18:42 UTC+0100 Viktor Szakats * appveyor.yml * cleanups after moving binary releases to GitHub infrastructure * README.md * update binary download URLs 2015-11-19 20:20 UTC+0100 Viktor Szakats * contrib/hbgs/core.c ! update to support Ghostscript 9.18 which converted its constants to enums while also renaming them for namespacing reasons 2015-11-17 13:55 UTC+0100 Viktor Szakats * CONTRIBUTING.md + add link to vDOS, a nice MS-DOS emulator for Windows for testing CA-Cl*pper behavior on new systems. - .ackrc * README.md * remove 'ack' reference (I kept using grep) 2015-11-17 12:02 UTC+0100 Viktor Szakats * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.ch * contrib/hbssl/hbssl.h + restore RIPEMD-160 support. It's still considered safe (even though BoringSSL removed support already) Ref: https://github.com/vszakats/hb/commit/20624c4e5510c370b4a32844ddda883787ed3586#commitcomment-14437406 and has some uses: https://stribika.github.io/2015/01/04/secure-secure-shell.html 2015-11-16 15:32 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/thread.c ! fixed typo in hb_threadOnceInit() - thanks to Teo 2015-11-16 14:25 UTC+0100 Viktor Szakats * contrib/hbssl/bio.c * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.hbm * contrib/hbssl/ssl.c * remove remaining hacks to support stock darwin openssl (Harbour now requires newer openssl for SHA256/SHA512) 2015-11-16 14:17 UTC+0100 Viktor Szakats * contrib/hbssl/evpciph.c * contrib/hbssl/evpmd.c * contrib/hbssl/hbssl.ch * contrib/hbssl/hbssl.h * contrib/hbssl/hbssl.hbm % remove support for obsolete crypto algorithms: CAST, IDEA, MD2, MDC2, RC5, RIPEMD, SEED * contrib/hbssl/hbssl.hbm + enable SHA256 and SHA512 on darwin It means that now hbssl requires a newer openssl than the obsolete one OS X ships with (and which has been officially deprecated since OS X Lion 10.7) Install it using Homebrew: `brew install openssl` 2015-11-15 23:58 UTC+0100 Viktor Szakats * src/vm/thread.c ! HB_THREADONCEINIT(): fix typo causing it to not work. Also fix related doc comments. Reported by Teo Fonrouge @tfonrouge: https://groups.google.com/d/msg/harbour-devel/1wmq3JOzQbk/tn7MQ_bwCgAJ 2015-11-15 18:42 UTC+0100 Viktor Szakats * src/3rd/png/Makefile ! revert an inadvertent update 2015-11-15 18:39 UTC+0100 Viktor Szakats * bin/3rdpatch.hb ! fix regression to ignore only the line-trailing whitespaces (not all of them) 2015-11-15 18:38 UTC+0100 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.19 2015-11-14 13:19 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! restored _SET_DEFAULT and _SET_PATH functionality 2015-11-13 14:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c * removed unused after last modification assignment 2015-11-13 10:29 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! fixed file handle sharing in POSIX systems when writeonly mode is used ! fixed accessing files in writeonly mode in POSIX systems which use fcntl() locks for DENY_* flag emulation. ! added for POSIX systems protection against potential race condition in MT programs and file open and close operations. Now the whole low-level open and close operations are covered by mutex. It means that they are fully serialized so in case of remote file access (i.e. NFS or SMBFS) it may reduce the performance in applications which simultaneously open and closes many different files in different threads but its necessary. For local file access it should not create noticeable scalability problems. In my Linux box Harbour can open and close in MT mode more then 250000 files per second. % use different mutexes for file open/close and file lock operations to not reduce the lock performance by potentially slow open() operation in POSIX systems. ; NOTE: please remember that DENY_* flag emulation in POSIX systems emulates only shared and exclusive modes so if any of FO_DENYREAD, FO_DENYWRITE or FO_EXCLUSIVE flag is used then it effectively works like FO_EXCLUSIVE in POSIX system and is not mandatory for other processes so it blocks only other Harbour applications which use Harbour virtual handles (RDD code, hb_vf*() functions) * src/rtl/filesys.c * do not convert exclusive lock to shared one when file is open in readonly mode on POSIX system using flock() for DENY_* flag emulation. Now HB_USE_BSDLOCKS is enabled only for Linux and it's documented that this implementation allow to use shared and exclusive locks regardless of file open mode. % do not create file name copy in hb_fsExtOpen() when passed parameters does not force file name modification 2015-11-12 16:29 UTC+0100 Viktor Szakats * src/rtl/inkey.c ! HB_KEYNEW() fix for non-character based key combinations (like F-keys) * README.md * delete Windows package manager link 2015-11-11 12:10 UTC+0100 Viktor Szakats * contrib/hbformat/hbfmtcls.prg ! fix to trim trailing whitespace in certain cases ! allow short form of statment keywords (e.g. OTHE for OTHERWISE, RECO for RECOVER, etc.) ; based on patch by Maurizio @mlacecilia (with adaptations to this fork) https://github.com/vszakats/hb/commit/d748b2198caa1ed7478fc3967a934893e1ceb63f#commitcomment-14325886 2015-11-11 01:18 UTC+0100 Viktor Szakats * contrib/hbformat/hbfmtcls.prg ! avoid applying command casing rules onto functions Patch by Maurizio @mlacecilia (with minor casing fix) Ref: https://groups.google.com/d/msg/harbour-users/A-bLKddxzQU/I8W9GfLaAAAJ Fixes https://github.com/vszakats/hb/issues/175 2015-11-10 13:21 UTC+0100 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile ! enable inttypes.h for sunpro compiler 2015-11-10 11:37 UTC+0100 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile ! fix typo in c752bbd811f6a65332f1a40c10a6553567cccacd that caused HAVE_INTTYPE_H to be disabled for all platforms where it was intented to be enabled. Thanks to Tamas Tevesz for pointing out the variable name typo. 2015-11-09 20:52 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix a new warning after applying previous patch 2015-11-05 21:39 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix unreachable code warning on certain platforms Patch by Tamas Tevesz. Thanks! Ref: https://github.com/vszakats/hb/commit/da79c93ce56e5c1706b70625a38b7d323cbcb5df#commitcomment-14221778 2015-11-05 18:20 UTC+0100 Tamas TEVESZ (ice extreme.hu) * src/3rd/pcre/Makefile ! Fix bundled PCRE build on SunOS; tested on Solaris 11u3 x86 with Sun C and gcc ; [vszakats] This setting is enabled in this branch in a different way, but should work for sunos already. 2015-11-05 03:44 UTC+0100 Viktor Szakats * contrib/hbhttpd/core.prg ! HB_SSLEAY_VERSION -> HB_OPENSSL_VERSION 2015-11-03 22:07 UTC+0100 Viktor Szakats * contrib/hbssl/hbssl.ch * contrib/hbssl/hbssl.h * contrib/hbssl/hbssl.hbx * contrib/hbssl/ssl.c * contrib/hbssl/tests/test.prg ; preparing for future OpenSSL change https://github.com/openssl/openssl/commit/b0700d2c8de79252ba605748a075cf2e5d670da1 * add HB_OPENSSL_* constants as new names for former HB_SSLEAY_* ones * deprecate HB_SSLEAY_* constants with HB_LEGACY_LEVEL5 (it means now in default builds [INCOMPATIBLE]) * rename OPENSSL_VERSION() to OPENSSL_VERSION_NUMBER() [INCOMPATIBLE] to make room for future OPENSSL_VERSION() wrapper 2015-11-03 21:04 UTC+0100 Viktor Szakats * appveyor.yml % use a clever trick to avoid the previous messy workaround for downloading URLs with spaces in them with curl Ref: https://github.com/appveyor/ci/issues/246 2015-11-03 17:10 UTC+0100 Viktor Szakats * contrib/sddodbc/tests/test2.prg * contrib/sddpg/tests/test1.prg ! whitespace fix * wrap long lines 2015-11-03 15:14 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * update help text to refer to Ctrl+V instead of Alt+V [TRANSLATION] 2015-11-03 11:06 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c * cleanup after merge 2015-11-03 10:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwin/gtwin.c * added workaround for compilers which do not have MOUSE_HWHEELED macro (thanks to Alexey) * src/rtl/gtwvt/gtwvt.c * do not use LR_DEFAULTSIZE in WinCE builds (synced with Viktor's branch) * tests/gtkeys.prg * casing 2015-11-03 10:02 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c ! typo in prev commit 2015-11-03 09:57 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c ! fix missing macro when using certain very old or broken Windows headers bundled with certain C compilers (e.g. official mingw distro with w32api package). WINE headers in recommended mingw distros are working OK. Ref: https://groups.google.com/d/msg/harbour-devel/khUV85c3uyY/6mIH_Q8gBwAJ 2015-11-02 23:54 UTC+0100 Viktor Szakats * bin/3rdpatch.hb + add -w option to 'patch' command to ignore whitespace changes, thus avoiding problems caused by EOL-style differences 2015-11-02 23:53 UTC+0100 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_9_2.html 2015-11-02 21:10 UTC+0100 Viktor Szakats * src/rtl/gtkeycod.c * comment cleanup 2015-11-02 19:28 UTC+0100 Viktor Szakats * utils/hbmk2/hbmk2.prg * remove Alt+V as clipboard paste hotkey. It's no longer necessary now that the standard Ctrl+V works with all important core GTs 2015-11-02 18:07 UTC+0100 Viktor Szakats * contrib/xhb/xhbtedit.prg * remove workarounds to support GTs having no extended keys support (regarding core Harbour, this means GTSLN only) 2015-11-02 17:52 UTC+0100 Viktor Szakats * src/rtl/inkey.c ! HB_KEYNEW(): minor fix to prev for codepoint 127 2015-11-02 17:13 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtsln/kbsln.c * tests/inkey.prg - removed not longer used HB_INKEY_RAW flag * tests/inkey.prg * test HB_INKEY_EXT keycodes when second parameter contains "E" letter * src/rtl/gtwvt/gtwvt.c * minor switch order modification * accept 127 as unicode character value if system also do that * src/rtl/gtwin/gtwin.c + added support for Harbour extended key codes + added support for mouse middle button + added support for some missing key combinations ! fixed mouse event processing ! fixed ALT + KeyPad NUMs processing - now it's disabled by default because current GTWIN supports native ALT + KeyPad NUMs processing provided by MS-Windows console. It works when NUMLOCK is ON. If someone needs to process it also when NUMLOCK is OFF then he can enable it by: hb_gtInfo( HB_GTI_KBDALT, .T. ) ! fixed and simplified workaround for bug in MS-Windows 95 and 98 consoles which wrongly decode SHIFT + <NUMBER> with CAPSLOCK ON for standard US keyboard drivers. Now enabling this workaround by: hb_gtInfo( HB_GTI_KBDSPECIAL, .T. ) should not break input with fixed keyboard drivers. ; please test it with different windows versions and national keyboard layouts, tests/gtkeys.prg is quite good test program. 2015-11-02 13:59 UTC+0100 Viktor Szakats * contrib/hbcurl/easy.c ! add necessary casts for CURLFORM_* parameters + allow >2 GiB CURLFORM content on Windows, when built agains upcoming libcurl 7.46.0 2015-10-28 20:44 UTC+0100 Viktor Szakats * contrib/hbwin/wapi_secur32.c * minor cleanup 2015-10-28 19:35 UTC+0100 Viktor Szakats * src/rtl/gtkeycod.c * minor cleanup after merge 2015-10-28 18:57 UTC+0100 Viktor Szakats * tests/gtkeys.prg ! more cleanups and refixes after merge 2015-10-28 18:52 UTC+0100 Viktor Szakats * tests/clipper.ch ! fix some translations + sync with mainline update * tests/gtkeys.prg * cleanups after merge 2015-10-29 11:52 UTC+0100 Viktor Szakats * src/rtl/gtwin/gtwin.c ! add some HB_GTI_* setting to default GT handler (2015-06-08 23:32 UTC+0200 Viktor Szakats) + add HB_GTI_WINHANDLE support to GTWIN (2015-04-24 19:56 UTC+0200 Viktor Szakats) % variable scopes adjusted * minor cleanups along the way (2015-03-30 13:57 UTC+0200 Viktor Szakats) ! move misplaced comment to its proper location (2015-03-28 15:45 UTC+0100 Viktor Szakats) * simplify compatibility logic around [P]CONSOLE_SCREEN_BUFFER_INFOEX it's also an attempt to fix it for some mingw distros (e.g. on AppVeyor CI) (2015-03-23 03:32 UTC+0100 Viktor Szakats) % cleanup a #define spagetti (2015-03-23 03:27 UTC+0100 Viktor Szakats) ! fixed msvc sanitize warnings (2014-07-16 17:37 UTC+0200 Viktor Szakats) 2015-10-29 03:12 UTC+0100 Viktor Szakats * src/rtl/achoice.prg + tests/achoice6.prg ! fix AChoice() RTE/visual glitch when certain non-integer values are passed as top/bottom values. Simplified and slightly corrected version of patch/example authored by Alexey Myronenko: https://github.com/harbour/core/pull/113 2015-10-28 17:10 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtkeycod.c ! fixed typo in CTRL+[UP|DOWN] mapping - removed obsolete comment * src/rtl/gtos2/gtos2.c + catch CTRL+BREAK in OpenWatcom builds 2015-10-28 16:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/cputime.c * disabled unused variables in WinCE builds 2015-10-28 15:44 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbgtinfo.ch * removed unused HB_GTI_KBD_* macros * redefined few other HB_GTI_KBD_* macros to be more HB_KF_* friendly. [INCOMPATIBLE] ; Warning this modification is not binary compatible so if someone uses HB_GTI_KBD_SCROLOCK, HB_GTI_KBD_NUMLOCK, HB_GTI_KBD_CAPSLOCK, HB_GTI_KBD_LSHIFT, HB_GTI_KBD_RSHIFT, HB_GTI_KBD_LCTRL, HB_GTI_KBD_RCTRL, HB_GTI_KBD_LALT, HB_GTI_KBD_RALT, HB_GTI_KBD_LWIN, HB_GTI_KBD_RWIN or HB_GTI_KBD_MENU then he should recompile his code with new hbgtinfo.ch header files. * include/hbgtcore.h * src/rtl/gtkeycod.c * src/rtl/gtdos/gtdos.c * src/rtl/gtos2/gtos2.c * src/rtl/gtpca/gtpca.c * src/rtl/gtstd/gtstd.c + added support for Harbour extended keycodes * src/rtl/gtos2/gtos2.c + added support for HB_GTI_KBDSHIFTS * src/rtl/gtdos/gtdos.c ! fixed CTRL+C and CTRL+BREAK handling in OpenWatcom builds * src/rtl/inkeyapi.c ! fixed translation for CTRL + @ * tests/gtkeys.prg + added raw keyboard test - it disables any additional interactions * modified Harbour output to show more information about extended keycodes 2015-10-26 11:37 UTC+0100 Viktor Szakats * contrib/gtqtc/hbmk2_qtgt.hb * minor cleanup 2015-10-26 03:37 UTC+0100 Viktor Szakats * contrib/gtqtc/hbmk2_qtgt.hb ! fix missing var declarations 2015-10-26 01:01 UTC+0100 Viktor Szakats * contrib/hbfoxpro/occurs.prg ! fix formatting after mainline merge * src/rtl/gtwvt/gtwvt.c ! reapply local wce compatibility fix 01d8d47b801b742f0d6a9f153f950de2dfeada23 after mainline merge 2015-10-26 00:42 UTC+0100 Viktor Szakats * contrib/gtqtc/gtqtc.hbp * contrib/gtqtc/hbmk2_qtmoc.hb -> contrib/gtqtc/hbmk2_qtgt.hb + add ability to compile .qrc QT resource files via the gtqtc hbmk2 plugin * rename plugin to reflect above addition 2015-10-22 10:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtwvt/gtwvt.c * src/rtl/gtwvt/gtwvt.h * merged and simplified code for HB_GTI_ICONFILE and HB_GTI_ICONRES * src/rtl/hbcom.c * use "COM<n>:" instead of "COM<n>" as serial port name in WinCE builds - it's suggested by MSDN but if some of you has different experience then please inform me. 2015-10-21 19:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbfoxpro/hbfoxpro.hbx * contrib/hbfoxpro/occurs.prg + added FoxPro compatible At() function with 3rd <nOccurrence> parameter: fox_At( <cSubstr>, <cString>, <nOccurrence> ) -> <nPos> * contrib/hbfoxpro/hbfoxpro.ch + added PP rule for At() with FoxPro like 3 parameters, please remember that such At() extension is not compatible with xHarbour one so do not include hbcompat.ch or xhb.ch - they redefines At() with 3 or more parameters to xHarbour compatible function: hb_At() 2015-10-20 15:55 UTC+0200 Aleksander Czajczynski (hb fki.pl) * src/rtl/hbsocket.c ! enable socket type translation for Linux/MIPS, enum order is different there - fixes TCP/IP socket binding on such platform 2015-10-19 21:12 UTC+0200 Viktor Szakats * package/harbour.rb % no need to deparallelize, Harbour supports parallel make 2015-09-04 12:30 UTC+0200 emazv72 (emanuele.zavallone gmail.com) * include/hbgtinfo.ch * src/rtl/gtwvt/gtwvt.c * src/rtl/gtwvt/gtwvt.h + Added quick edit mode: left mouse button mark©, right button paste (HB_GTI_QUICKEDIT) ; Commit: https://github.com/emazv72/core/commit/1819d6a902657e7419fac61242e2f6cb17526276 https://github.com/emazv72/core/commit/cd96c5c0ff45ac5fe4acf10b6bf75aac89f211f7 Closes: https://github.com/vszakats/hb/pull/166 2015-10-19 01:38 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * minor cleanup 2015-10-19 01:31 UTC+0200 Viktor Szakats * src/rdd/nulsys/nulsys.c + add more dummy RDD functions 2015-10-18 15:49 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * diff to ignore all whitespace, mainly to avoid excessive diffs due to different eol-style (it may also be useful to avoid unnecessary diffs due to whitespaces at eol and eof) 2015-10-18 15:47 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_9_1.html 2015-10-15 22:28 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * use the same downloadable archive as homebrew (this doesn't change the source content) 2015-10-15 21:34 UTC+0200 Viktor Szakats * bin/3rdpatch.hb % optimize function that normalizes filenames in diff files ! fix function that normalizes filenames in diff files to not lose content when it doesn't end with a newline 2015-10-15 20:17 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp ! minor fix to fully enabling ICU 2015-10-15 15:31 UTC+0200 Viktor Szakats * src/vm/classes.c ! fix function name casing in error message 2015-10-15 13:49 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp + enable FTS5 experimental feature + enable JSON1 feature 2015-10-15 13:13 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_9_0.html 2015-10-15 12:16 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c ! fix gcc warning when compiled against curl 7.45.0 or newer 2015-10-14 19:15 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c ! fix missing call to hb_vmRequestRestore() after hb_vmRequestReenter() on callback abort 2015-10-14 00:27 UTC+0200 Viktor Szakats * tests/achoice5.prg * minor cleanup 2015-10-14 00:24 UTC+0200 Viktor Szakats * src/rtl/achoice.prg + tests/achoice5.prg ! AChoice(): fix visual glitch and/or RTE in certain conditions Patch and sample by Alexey Myronenko Ref: https://groups.google.com/d/topic/harbour-devel/G9j6WXFFwW4/discussion 2015-10-13 23:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbwince.h * src/common/hbwince.c * src/rtl/cputime.c * do not use GetCurrentProcess() in WinCE builds 2015-10-13 21:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/mlcfunc.c ! do not access trailing 0 byte in empty strings passed to hb_MLEval() (thanks to Abe for information and example illustrating the problem) * respect in return value also empty line after last EOL 2015-10-13 15:13 UTC+0200 Viktor Szakats * tests/achoice3.prg * minor cleanup 2015-10-13 15:08 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/memoedit.prg * always returned reformatted string after CTRL+W even if user has not made any modifications in edited data - Cl*pper compatible behavior. 2015-10-13 13:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiocli.c * strip connection parameters (server name, port, password,...) from second parameter of hb_vfRename(), hb_vfLink() and hb_vfSymLink() functions redirected to HBNETIO if it's the same as in the first parameter. Now it's possible to use above functions with path containing connection parameters in second argument. Please only remember that both parameters have to point to the same server in above functions. If not then DOS error 2 is set. In case of hb_vfCopy() the parameters can point to different servers so it's possible to copy files between different HBNETIO servers or even different Harbour File IO redirectors. 2015-10-12 17:22 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * added support for hb_socketGetIFaces() in DOS wattcp/watt-32 builds 2015-10-12 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/mlcfunc.c * execute hb_MLEval() codeblock for last empty line if passed string ends with EOL 2015-10-12 12:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! added casting to 2nd parameter of inet_ntop() as workaround for wrong declaration inet_ntop() in MSVC header file 2015-10-11 12:12 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/inkey.c + add hb_keyNew( <nKey|cKey> [, <nMod> ] ) -> <nExtendedKeyCode> * contrib/xhb/xhbmemo.prg * utils/hbmk2/hbmk2.prg * replace local implementations with hb_keyNew() 2015-10-10 19:42 UTC+0200 Viktor Szakats * contrib/xhb/xhbtedit.prg + shift to use extended keycodes (but also retain old method for now) 2015-10-10 19:37 UTC+0200 Viktor Szakats * contrib/make.hb ! fix HB_ISNULL() RTE regression * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg * src/rtl/memoedit.prg * src/rtl/teditor.prg * src/rtl/tgetlist.prg * src/rtl/ttopbar.prg * utils/hbmk2/hbmk2.prg * use HB_KF_* constants instead of HB_GTI_KBD_* ones in hb_key*() function contexts 2015-10-09 21:40 UTC+0200 Viktor Szakats * src/rtl/pushbtn.prg * PushButton():select( nKey ): ! rename parameter to reflect docs and its meaning % optimize + accept extended keycodes ! support _SET_EVENTMASK with extended keycodes enabled * replace numeric literal ; only build tested * tests/wvtext.prg + use extended keycodes internally + show extended keycodes on screen 2015-10-09 20:12 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + use HB_KEYEXT() to interactive CUI autodetection 2015-10-09 14:25 UTC+0200 Viktor Szakats * appveyor.yml * update curl win64 hash after enabling WinIDN in it 2015-10-09 13:38 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c ! fixed typo (unnecessary parenthesis) in previous commit * enabled getnameinfo() in MSVS 2015 builds ; thanks to Viktor for the information about above items 2015-10-09 12:27 UTC+0200 Viktor Szakats * src/rtl/hbsocket.c + try enabling HB_HAS_NAMEINFO for MSVC 2015 to silence two remaining warnings 2015-10-09 12:15 UTC+0200 Viktor Szakats * src/rtl/hbsocket.c ! fix typo in msvc build of mainline commit 7d9bd3b96db61d2c72f80303cc56561099a6f72a 2015-10-09 11:13 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * enabled inet_pton(), inet_ntop() and getaddrinfo() in MSVS 2015 builds 2015-10-09 02:09 UTC+0200 Viktor Szakats * appveyor.yml * use MSVC 2015 over 2013 when available 2015-10-08 22:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttone.c ! fixed typo in my previous commit - thanks to Ronaldo 2015-10-08 19:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttone.c ! disabled IO port access MSVS 2015 builds ; [vszakats] sync with mainline and refix wrong condition 2015-10-08 15:26 UTC+0200 Viktor Szakats * ChangeLog.txt * update bug reference in previous commit * appveyor.yml * update OpenSSL hashes to latest build These builds are now fully reproducible, though for OpenSSL a hack was required with a shortcut. Further testing will tell if this causes a problem when linking its static libs. 2015-10-08 14:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbzsock.c ! fixed two typos 2015-10-08 10:57 UTC+0200 Viktor Szakats * package/mpkg.hb * utils/hbmk2/hbmk2.prg ! fix failure to update IMAGE_EXPORT_DIRECTORY.TimeDateStamp in certain binaries (notably x64) * appveyor.yml * update hashes to latest build curl (and libssh2) builds are now reproducible, openssl is not fully, because LTO objects can't be made reproducible as of yet. It's an open bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66305 2015-10-07 21:55 UTC+0200 Viktor Szakats * appveyor.yml * update dependency hashes after making steps to make them reproducible (task not fully finished yet) 2015-10-07 19:36 UTC+0200 Viktor Szakats * package/mpkg_win.bat * add pedantic option to touch (it shouldn't do anything in these contexts) 2015-10-07 15:18 UTC+0200 Viktor Szakats * appveyor.yml * update to curl 7.45.0 2015-10-06 22:01 UTC+0200 Viktor Szakats * contrib/xhb/dumpvar.prg * src/rtl/cdpdet.prg * src/rtl/dirscan.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg * Empty() -> HB_ISNULL() 2015-10-06 21:51 UTC+0200 Viktor Szakats * contrib/hbgd/gdbar.prg * contrib/hbhttpd/core.prg * contrib/hbtest/core.prg * contrib/hbwin/tests/prn2.prg * contrib/make.hb * contrib/xhb/hterrsys.prg * contrib/xhb/xhberr.prg * doc/pp_prg.txt * extras/httpsrv/uhttpd.prg * src/debug/debugger.prg * src/rtl/errsys.prg * tests/ppmacro.prg * utils/hbmk2/hbmk2.prg * use HB_ISNULL() instead of Empty() when checking for non-specified filenames. (a name consisting of spaces only is a valid filename on certain platforms) 2015-10-06 14:41 UTC+0200 Viktor Szakats * * * hb_BLen( x ) > 0 -> ! HB_ISNULL( x ) * hb_BLen( x ) != 0 -> ! HB_ISNULL( x ) % hb_BLen( x ) == 0 -> HB_ISNULL( x ) ; following this pattern in 2015-10-06 12:37 UTC+0200 % minor related optimizations 2015-10-06 13:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/compiler/compi18n.c * reduced variable scope * small modification to eliminate false GCC-5.x warning 2015-10-06 12:37 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbbfsock.c ! typo in comment * src/rtl/mlcfunc.c * casting * src/rtl/memoedit.prg * src/rtl/teditor.prg * formatting and few modifications to reduce some differences between core and Viktor's branch 2015-10-02 17:49 UTC+0200 Viktor Szakats * src/rtl/memoedit.prg ! damn 2015-10-02 17:48 UTC+0200 Viktor Szakats * src/rtl/memoedit.prg ! fix mistake while resolving conflicts in previous merge 2015-10-02 17:43 UTC+0200 Viktor Szakats * src/rtl/strclear.c * use experimental method to clear the string buffer. This method avoids the chance of the zeroing loop being optimized out by the compiler/linker, which is a possibility with memset(). Reference: https://cryptocoding.net/index.php/Coding_rules#Clean_memory_of_secret_data 2015-10-02 16:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapigt.h * src/rtl/inkeyapi.c + added new C function: int hb_inkeyKeyExt( int iKey ); It extracts function/edit key code value HB_KX_* from Harbour extended key code. If passed keycode is not valid extended keycode which points to function/edit key then 0 is returned. * include/harbour.hbx * src/rtl/inkey.c + added new PRG function hb_keyExt() - it's wrapper to hb_inkeyKeyExt() * include/harbour.hbx * src/rtl/mlcfunc.c ! restored original Cl*pper behavior in memo line functions, test shows that inside MemoEdit() Cl*pper internally uses a little bit different rules to format text then in memo line functions, It's Cl*pper bug but hard to fix because any differences to Cl*pper in this area cause that someone reports them as bug. So I decided to leave original Cl*pper behavior for compatibility and add new function which can be used in MemoEdit() and related code. + added new memo line function: hb_MLEval( <cString>, <bCode>, [ <nLineLength>=79 ], [ <nTabSize>=4 ], [ <lWrap>=.T. ], [ <nPos> ], [ @<nRow> ], [ @<nCol> ] ) -> <nLines> it formats texts using rules like in Cl*pper MemoEdit() not Cl*pper memo lines functions. For each processed line <bCode> is executed with 2 parameters: <cLine> and <lSoftCR>. It recognizes and accepts any EOLs just like hb_ATokens( <cText>, .T. ) and strips or converts soft CRs depending on word wrap mode. * src/rtl/teditor.prg * Use hb_MLEval() to format text % minor optimization * src/rtl/memoedit.prg * enabled Harbour extended key codes ; [vszakats] This was a partial port of 3.4 code to 3.2 and resyncing with 3.4 and fixing conflicts may have introduced regressions. * small optimization ! fixed ME_BOTTOMRIGHT processing ! fixed initial line size calculation * src/vm/thread.c * removed dymmy code 2015-09-30 11:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! added missing support for non MT builds in last commit 2015-09-30 10:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/vm/hvm.c + added internal PRG function to test number of HVM threads and stacks __vmCountThreads( [ @<nStacks> ], [ @<nThreads> ] ) -> <nThreads> * src/rtl/filesys.c * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/wvgcore.c * contrib/hbamf/amfdec.c * contrib/xhb/fparse.c * contrib/xhb/hbserv.c * contrib/xhb/hbxml.c * cleaned ;; usage in C code 2015-09-29 23:57 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvgd.c * src/rtl/filesys.c * src/vm/hvm.c * delete unnecessary semicolons 2015-09-29 21:24 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/hvm.c ! delay locking of main HVM thread stack until HVM is initialized, it fixes issue #107 ; and fixes https://github.com/vszakats/hb/issues/172 [vszakats] ! protect access to HB_STACK_TLS_PRELOAD by s_fHVMActive in hb_vmLockForce() 2015-09-28 15:19 UTC+0200 Viktor Szakats * extras/httpsrv/uhttpd.prg ! use Harbour code version instead of a local version number (that is never updated) 2015-09-28 14:43 UTC+0200 Viktor Szakats * extras/httpsrv/uhttpd.prg ! fix regression after 7b09b5b8ac93de530894927006aa6902e9f1a95c Should fix part of https://github.com/vszakats/hb/issues/171 * translate word to English 2015-09-28 14:37 UTC+0200 Viktor Szakats + extras/httpsrv/home/cgi-bin/empty.txt ! add dummy file to keep the 'cgi-bin' directory there. It is required for 'hbmk2 modules[g].hbp' 2015-09-27 20:25 UTC+0200 Viktor Szakats * package/mpkg_src.sh ! silence shellcheck warning Thanks to Tamas Tevesz for the patch! 2015-09-26 15:15 UTC+0200 Viktor Szakats * package/mpkg_rpm_wce.sh * package/mpkg_rpm_win.sh * package/mpkg_rpm.sh * package/mpkg_src.sh ! fix shellcheck warnings ; FIXME: [DONE] In mpkg_src.sh line 52: find config -type f -exec echo {} \; ^-- SC2039: In POSIX sh, brace expansion is not supported. 2015-09-25 11:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! removed unnecessary HB_EXPORT attribute * contrib/hbwin/oleuuid.c ! added missing HB_EXPORT attrinute for OpenWatcom builds * contrib/hbcomio/comio.c * contrib/hbpipeio/pipeio.c * contrib/hbtcpio/tcpio.c * src/rtl/hbsockhb.c ! cleaned integer types and casting 2015-09-24 22:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbcom.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtpca/gtpca.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * added workaround for bug in some Linux kernels (i.e. 3.13.0-64-generic Ubuntu) in which select() unconditionally accepts terminal device for reading if c_cc[ VMIN ] = 0 It's very serious problem, i.e. in GTTRM no input is possible in such kernels without this workaround. * src/rtl/dirscan.prg * modified hb_DirScan() and hb_DirRemoveAll() to work with Harbour File IO API (hb_vf*() functions) + added new PRG function: hb_FileDelete( <cFileMask> [, <cAttr> ] ) -> <lResult> this function removes files which match given <cFileMask> (it may contain path) and returns .T. if at least one file was deleted. Optional <cAttr> parameter can be used to include system ("S") and hidden ("H") files. If <cAttr> contains "R" letter then before deleting READONLY attribute is removed from files (it's necessary to remove files with READONLY attribute in systems like DOS, MS-Windows or OS2). This function uses Harbour File IO API (hb_vf*() functions) * remove READONLY attribute from files in hb_DirRemoveAll() * include/harbour.hbx + added hb_DirRemoveAll() and hb_FileDelete() * contrib/hbct/files.c ! do not allow to remove empty directories by FileDelete() function even if user explicitly sets directory attribute - CT3 compatible fix. ! remove READONLY attribute before deleting READONLY files if 2nd parameter of FileDelete() contains READONLY bit * src/rtl/filesys.c * formatting * ChangeLog.txt ! typo 2015-09-24 14:28 UTC+0200 Tamas TEVESZ (ice extreme.hu) * utils/hbmk2/hbmk2.prg + Partially merge 8f16b6731 from vszakats/hb: "refined the way pkg-config queries the package version. Now it does it in a separate call to make some pkg-config versions happy where version query option cannot be mixed with --cflags and similar options (e.g. pkg-config 0.28 in current homebrew)." 2015-09-21 15:52 UTC+0200 Viktor Szakats * package/harbour.rb ! fix to prev 2015-09-21 15:50 UTC+0200 Viktor Szakats * .travis.yml * package/harbour.rb + install openssl package (required in El Capitan) 2015-09-21 10:32 UTC+0200 Viktor Szakats * appveyor.yml + add data on all-32-bit DWARF-2 and all-64-bit SEH mingw distros 2015-09-21 01:07 UTC+0200 Viktor Szakats * contrib/make.hb ! go back to old method and pass C compiler version from GNU Make to hbmk2 when building contribs. This should fix the problem where HB_COMPILER and HB_PLATFORM are forced by GNU Make, but C compiler version detection had to be done by hbmk2. * utils/hbmk2/hbmk2.prg + hack C compiler version detection to work when platform/compiler is explicitly set (e.g. when building contribs) FIXME: Limitation: ${hb_comp_ver} will still return zero in this scenario * some cleanup C version detection logic 2015-09-20 22:47 UTC+0200 Viktor Szakats * config/common/clang.mk * utils/hbmk2/hbmk2.prg ! disable a warning in darwin/clang 2015-09-20 22:36 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + detect LLVM version with Xcode 7 Command Line Tools (with a hack and a maintenance hurdle) * minor cleanups 2015-09-20 21:14 UTC+0200 Viktor Szakats * src/rdd/dbstrux.prg ! fix __dbCopyXStruct() to create single-character FIELD_TYPE field if none of the fields is a Harbour specific extended type requiring a multi-character one. This restores Cl*pper compatibility unless Harbour fields type are used. Fixes https://github.com/vszakats/hb/issues/169 * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif + more patches to support multi-character FIELD_TYPE field 2015-09-20 20:51 UTC+0200 Viktor Szakats * contrib/sddoci/core.c * contrib/sddoci/sddoci.hbx * do not fail with an internal error if OCILIB initialization fails, e.g. when Oracle Client is not installed Referring to: https://groups.google.com/d/msg/harbour-devel/XQp8mrwKjIs/mpojiuCTDQAJ (please use this fork's Issue page to register such requests) + add function hb_SDDOCI_IsInitialized() -> <lInitialized> to query whether OCILIB was initialization successfully 2015-09-20 20:32 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + add _HBMK_BUILD_RANDSTR_32_ constant with a random string of 32 bytes generated on each build when -bldhead= option is used. See: https://groups.google.com/d/msg/harbour-users/ULZu53FdWgs/fAn6cWBQMQAJ [TRANSLATE] 2015-09-20 19:28 UTC+0200 Viktor Szakats * appveyor.yml * package/getmingw.bat * README.md * update to mingw 5.2.0 * appveyor.yml * update openssl, curl dependencies with binaries built using mingw 5.2.0 2015-09-20 18:25 UTC+0200 Viktor Szakats * include/harbour.hbx ! add hb_DirRemoveAll() * src/rtl/dirscan.prg + hb_DirRemoveAll() to use VF API * src/rtl/filesys.c ! whitespace 2015-09-18 13:15 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbffind.c + added support for link attribute (HB_FA_LINK -> "L") passed to Directory() and other functions using hb_fsFindFirst()/hb_fsFindNext() When this attribute is passed then softlinks are presented "as is" without following target. * src/rtl/dirscan.prg + added new PRG function hb_DirRemoveAll( <cDir> ) -> <lResult> BE CAREFUL! This function removes recursively whole directories with it's body so hb_DirRemoveAll( hb_ps() ) can remove all files and directories from your disk. 2015-09-17 20:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! added protection against writing more then 4096 bytes to unblocked pipe in MS-Windows builds of hb_fsProcessRun() ! close write side of child stdin handle if all data is sent in OS2 builds of hb_fsProcessRun() 2015-09-17 16:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c * In OS2 builds use fGentle parameter of hb_fsProcessClose() to control if kill signal should be send only to child process or also to its all descendant processes. 2015-09-17 15:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * pacified warnings in GCC OS2 builds 2015-09-17 15:52 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/fscopy.c * pacified BCC warning * src/rtl/hbproces.c * added HB_PROCESS_USEFILES macro which enable child process standard IO handles redirection to files instead of pipes in hb_fsProcessRun() function. It's enabled by default in DOS and WinCE builds * enable HB_PROCESS_USEFILES for tests in OS2 builds 2015-09-17 12:23 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapicls.h * src/vm/classes.c * minor modification in variable name * src/rtl/filebuf.c * src/rtl/fscopy.c * src/rtl/fslink.c * src/rtl/vfile.c * cleaned FError() setting. It should not be changed by C file IO functions because they can be activated from RDD code so accessing work area field could change the FError() result, i.e. this code does not work when FError() is changed by C level IO operations: AnyFunc( FSeek( hFile, 0, FS_END ), field->MEMOVAL, FError() ) Even simple field access may cause file IO operations in RDD code when relations are set because records in child area are repositioned only when necessary (when user tries to make some operations on this area). In the past RDD code was full of constructions like: uiSaveError = hb_fsFError(); // make some IO operations hb_fsSetFerror( uiSaveError ); to eliminate such overhead I separated PRG level FError() from C level IOError(). Please keep it. * ChangeLog.txt ! few typos 2015-09-17 10:58 UTC+0200 Tamas TEVESZ (ice extreme.hu) * contrib/gtqtc/gtqtc.hbp + Qt5 include path on FreeBSD 2015-09-16 10:20 UTC+0200 Tamas TEVESZ (ice extreme.hu) * config/global.mk + Allow autodetection of Clang as system compiler on FreeBSD 10+ ; Untested on, but should not affect, other BSDs or FreeBSD < 10. 2015-09-15 21:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c * minor formatting 2015-09-15 21:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c ! fixed test for broken pipe when only one pipe to child process is active in OS2 builds 2015-09-15 14:58 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbvmpub.h * src/vm/hvm.c + added support for hb_vmAtInit(), hb_vmAtExit() and hb_vmAtQuit() functions for dynamically loaded libraries This modification should also fix issue #33 2015-09-14 19:30 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c * use pipes instead of temporary files in OS2 builds of hb_fsProcessRun() ; please test in real OS2 env 2015-09-14 17:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c - removed unused macros and definitions * formatting and minor cleanup * src/rtl/gtcrs/gtcrs.h * src/rtl/gtcrs/gtcrs.c + added support for extended key codes, GTCRS does not support unicode so it's not fully functional just like in GTTRM 2015-09-14 14:03 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/dbf1.c * set HB_FF_BINARY flag in numeric and date fields stored in binary representation - VFP also does it. 2015-09-14 12:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * clear ERROR_BROKEN_PIPE (109) in MS-Windows and OS2 builds reported when pear closes the write end of the pipe. Now hb_PRead() returns -1 with FError() = 0 in such case in all builds. 2015-09-11 12:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c + added code for anonymous pipes emulation by named pipes, now nonblocking access to pipe streams in OS2 builds should work * src/rtl/hbproces.c * pacified warnings in OS2 builds 2015-09-10 09:03 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c ! use CRTL eof() function only in non DJGPP DOS builds 2015-09-10 03:46 UTC+0200 Viktor Szakats * tests/kbd.prg ! typo 2015-09-10 03:40 UTC+0200 Viktor Szakats * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg + add support for extended keycodes, this means enabling the so far inactive HB_EXT_INKEY guarded code, while also keeping support for existing alternatives on GTs that don't support extended keycodes + add support for SET KEYs with extended keycodes + update internals to use extended keycodes ; very lightly tested * tests/kbd.prg * output extra value to better understand extended keys * src/rtl/memoedit.prg * rename variable 2015-09-09 23:56 UTC+0200 Viktor Szakats * include/hbdate.h * minor whitespace fix to merged patch 2015-09-09 23:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbhpdf/3rd/libhpdf/hpdfimac.c ! removed obsolete memory.h * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * rediffed * include/hbdate.h * enabled reentrant safe version of localtime() and gmtime() in all OpenWatcom builds 2015-09-09 16:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/estack.c ! protect access to HB_STACK_TLS_PRELOAD by hb_stack_ready() macro, it's necessary for MT builds which do not use direct TLS access but need TLS key initialization, i.e. OS2 * src/vm/hvm.c ! protect access to HB_STACK_TLS_PRELOAD by s_fHVMActive 2015-09-09 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbfsapi.c * pacified OS2 warnings reported by David 2015-09-09 01:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * implemented hb_fsSetDevMode() only for DOS builds, all other platforms always use O_BINARY mode * utils/hbmk2/hbmk2.prg ! fixed EOL handling in stdout and stderr output 2015-09-08 23:13 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix an instance where _OUT_EOL was used instead of Chr( 10 ) (and in a STATIC initialization so it failed to compile even) 2015-09-08 22:56 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! revert an old hack fixing "jagged" output on OS/2 and MS-DOS: 8894b31dd01fe3f212b0859de6dc3d6ace44bb65 Recent OS/2 fixes should resolve the root cause. I'm not sure about MS-DOS, someone should test it if it works after this. Ref: https://groups.google.com/d/msg/harbour-devel/pkqkHOl23MM/G03Mn2iECwAJ 2015-09-08 20:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/nortl/nortl.c + added hb_fsSetError() * include/hbapifs.h * src/common/hbfsapi.c + added new C function for OS2 builds: hb_fsOS2QueryPathInfo() Unlike DosQueryPathInfo() it uses dir entries so it does not need to open the file what can create file sharing violation problem. + added new C function for OS2 builds: hb_isWSeB() It returns true if OS2 version supports long file API (IBM OS/2 Warp Server for e-Business) + added new C functions for OS2 builds: hb_fsOS2DosOpenL(), hb_fsOS2DosSetFileLocksL(), hb_fsOS2DosSetFilePtrL(), hb_fsOS2DosSetFileSizeL() These are dynamically initialized wrappers to OS2 long file API functions if such functions exists in given OS2 version. * src/common/hbfsapi.c * use hb_fsQueryPathInfo() in OS2 builds of hb_fsNameExists(), hb_fsFileExists() and hb_fsDirExists() * src/common/hbffind.c + added support for long files (longer then 4 GiB) in OS2 builds. It also detects OS2 version to check if long file API is supported. ! fixed file error setting in OS2 builds * src/rtl/filesys.c * use hb_fsQueryPathInfo() in OS2 builds of hb_fsGetFileTime() and hb_fsGetAttr() * use hb_fsOS2*() functions for long files * src/rtl/fssize.c * use hb_fsQueryPathInfo() in OS2 builds of hb_fsFSize() ; please make real life tests in OS2 2015-09-07 23:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + dot prompt to have insert mode enabled by default (like other command-lines mostly do) + support Ctrl+V as a clipboard paste shortcut (requires GT that supports it, meaning *nix or GTWVT) 2015-09-07 16:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtos2/gtos2.c * added missing modification in previous commit 2015-09-07 16:19 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtos2/gtos2.c + added support for HB_GTI_CODEPAGE ! removed code which sets CP437 at application start Now the default codepage is the same set by system. If someone wants to use CP437 regardless of default OS2 settings then he should add to his code: hb_gtInfo( HB_GTI_CODEPAGE, 437 ) 2015-09-07 14:40 UTC+0200 Viktor Szakats * src/rtl/memoedit.prg * src/rtl/teditor.prg * src/rtl/tgetlist.prg * src/rtl/ttopbar.prg ! fix to clean extracting character value from extended keycode. It's a little confusing. To extract "A" from "Ctrl+a", this is needed: hb_keyChar( hb_keyVal( 0x41020041 ) ) - result will be _uppercase_ 'A' to extract "ű" from "Alt+ű", this is needed: hb_keyChar( 0x43040171 ) "Ctrl+ű" doesn't generate a keycode in GTWVT. "Alt+a" would require the first method to correctly extract "a" (in uppercase). Swapping methods result in empty string. ; It'd be nice to find a method that can extract case-correct characters regardless of modifiers that works equally for ASCII and non-ASCII characters (or whatever the precise rule is). ! fix to accept shift combinations, e.g. Shift+Ctrl+W where Ctrl+W is accepted, to mimic Cl*pper ! fix to accept Shifted Alt+shortcut combinations * contrib/hbct/tests/ctwtest.prg * rename variable 2015-09-07 02:42 UTC+0200 Viktor Szakats * src/rtl/getsys.prg ! add missing header after prev commit * contrib/hbnf/popadder.prg * src/debug/debugger.prg * replace LastKey() with hb_keyLast() to retain extended keycodes * tests/brwpos.prg % LastKey() always returns standard keycode, remove hb_keyStd() call 2015-09-07 02:20 UTC+0200 Viktor Szakats * contrib/gtwvg/tests/*.prg * contrib/gtwvw/tests/*.prg * contrib/hbcomm/tests/test.prg * contrib/hbmisc/tests/numtxtru.prg * contrib/hbmisc/tests/twirler.prg * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbmysql/tsqlbrw.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnf/aredit.prg * contrib/hbnf/calendar.prg * contrib/hbnf/clrsel.prg * contrib/hbnf/menu1.prg * contrib/hbnf/tbwhile.prg * contrib/hbnf/tests/mouse.prg * contrib/hbnf/tests/textbrw.prg * contrib/hbpgsql/tests/async.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbtip/tests/tipwget.prg * contrib/hbwin/tests/ole.prg * contrib/rddads/doc/en/adsfuncs.txt * contrib/rddads/doc/en/readme.txt * contrib/xhb/tests/bkgtest.prg * contrib/xhb/ttable.prg * src/rtl/getsys.prg * src/rtl/listbox.prg * src/rtl/tgetlist.prg * tests/brwpos.prg * tests/db_brows.prg * tests/flock.prg * tests/ipsvr.prg * tests/mt/mttest10.prg * tests/profiler.prg * tests/setkeys.prg * tests/tb1.prg * tests/tbrowse.prg * tests/wcecon.prg * tests/wvt_fs.prg ! make sure Inkey() results are interpreted properly regardless of _SET_EVENTMASK settings (e.g. when extended keycodes are enabled) * more internals to use extended keycodes * tests/commouse.prg % cleanup * tests/profiler.prg * use hb_idleSleep() instead of Inkey() 2015-09-07 01:04 UTC+0200 Viktor Szakats * contrib/gtwvw/tests/cb6.prg * contrib/gtwvw/tests/demo.prg * contrib/gtwvw/tests/eb7.prg * contrib/hbct/getsecrt.prg * contrib/hbmisc/hbedit.prg * contrib/hbnf/menuto.prg * contrib/hbnf/popadder.prg * contrib/hbnf/sinkey.prg * contrib/hbodbc/browse.prg * src/rtl/achoice.prg * src/rtl/browse.prg * src/rtl/dbedit.prg * src/rtl/memoedit.prg * src/rtl/menuto.prg * src/rtl/tbrowse.prg * src/rtl/teditor.prg * src/rtl/tgetlist.prg * src/rtl/tmenusys.prg * src/rtl/tpopup.prg * src/rtl/ttopbar.prg * src/rtl/wait.prg + add support for SET KEYs with extended keycodes, e.g. Ctrl+C/Ctrl+V without messing up cursor navigation. Refer to tests/kbd.prg for the extended keycode values. Notice that extended keycodes are not supported in all GTs. + add support for Cl*pper compatible Ctrl+W key to save a memoedit. (Alt+W kept for those GTs that don't support extended keycodes) + add support for Cl*pper compatible Ctrl+B key to reformat a memoedit. (Alt+B kept for those GTs that don't support extended keycodes) * update internal codepath related to above to work with extended keycodes + add support for non-ASCII (national/accented/special) characters as menu and control hotkeys + add support for extended keycodes as menu shortcuts ; GTWVG and XHB/memoedit components were not fully updated ; Bugs and regressions are possible. Current code should work regardless of HVM codepage, _SET_EVENTMASK setting and should work in any GT like it worked before and extra features should work when using a GT that support extended keycodes: GTWVT, GTTRM, GTXWC * contrib/gtwvg/tests/_wvtcls.prg * contrib/gtwvw/tests/eb7.prg * contrib/hbnf/pegs.prg * contrib/xhb/ttable.prg * use hb_idleSleep() instead of Inkey() * doc/en/garbage.txt * formatting 2015-09-06 23:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbproces.c * use native OS2 system functions in hb_fsProcessOpen(), hb_fsProcessValue(), hb_fsProcessClose() - please test it ; TODO: change hb_fsProcessRun() to use real assynchrous execution in OS2 builds 2015-09-06 15:44 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/disksphb.c * src/rtl/filesys.c * use native system functions for disk and file IO operations in OS2 builds. + added support for long files (>2 GiB) in OS2 builds ! fixed file IO error setting in OS2 builds ; For above modifications I had to change nearly all file IO functions in OS2 build. I would like to OS2 users to make tests. In next step I'll update hb_process*() functions. 2015-09-05 10:44 UTC+0200 Viktor Szakats * src/rtl/teditor.prg % minor optimization * tests/kbd.prg * switch to GTWVT on Windows to demonstrate extended keycodes, GTWIN doesn't support it 2015-09-05 02:43 UTC+0200 Viktor Szakats * appveyor.yml % use .7z openssl and curl dependency packages 2015-09-05 01:00 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + honor -fullstatic on gcc family compilers by forcing to pick the static flavor of libraries in case a dynamic version (typically "*.dll.a" or ".dll" [1]) is also present. This is experimental and not yet enabled on *nix platforms. The method employed allows to select static/dynamic on a per library basis. This gives an answer to a very old question, and potentially allows to finally enable HB_BUILD_CONTRIB_DYN on *nix platform and also to replace or complement the half-baked, hand-rolled system (involving _HB_DYNPREF and _HB_DYNSUFF and HB_STATIC_* envvars) Harbour uses now for such purposes. [1] one example is OpenSSL default mingw builds 2015-09-04 16:57 UTC+0200 Viktor Szakats * appveyor.yml * update hashes for the new, automatically generated curl and openssl binaries fully in public as part of this separate project: https://github.com/curl/curl-for-win Thanks to AppVeyor for their build service. (no affiliation) 2015-09-04 13:47 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win.bat * move CI specific logic to CI config 2015-09-03 19:30 UTC+0200 Viktor Szakats * package/mpkg_win.bat ! fix debug mode by forcing echo on if enabled (some envs start batches with echo off) 2015-09-03 18:52 UTC+0200 Viktor Szakats * contrib/hbwin/win_svc_2.c ! add casts for C++ Fixes https://github.com/vszakats/hb/issues/165 * appveyor.yml * update API key 2015-09-03 14:46 UTC+0200 Viktor Szakats * appveyor.yml * minor fix in comment 2015-09-03 14:42 UTC+0200 Viktor Szakats * README.md * bash -> sh 2015-09-03 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * win-make.exe * updated GNU make for MS-Windows to version 4.1 (the same as in Viktor's branch) 2015-09-03 14:00 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/sdf1.c ! use hb_fileResult() to process hb_fileRead() results - it fixes problem reported by Viktor. 2015-09-03 01:44 UTC+0200 Viktor Szakats * contrib/hbpipeio/tests/test.prg ! typo in text 2015-09-03 01:41 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp + link hbcomio and hbpipeio to hbrun by default 2015-09-02 22:53 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt ! typos in prev ChgLog entry * include/hbapifs.h - empty line 2015-09-02 21:39 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.hbx * contrib/hbssl/ssl.c + add function SSL_SET_TLSEXT_HOST_NAME() 2015-09-02 20:38 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c ! add subarray validation to curl_easy_setopt() / HB_CURLOPT_HTTPPOST* parameters 2015-09-02 19:54 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch * contrib/hbwin/hbwin.hbp * contrib/hbwin/hbwin.hbx + contrib/hbwin/win_svc_2.c * contrib/hbwin/win_svc.c -> contrib/hbwin/win_svc_1.c ! fix unnecessary assignment in win_ServiceStart() after prev patch + add function win_ServiceRun( <cName>, [...] ) -> <lSuccess> to start a service by name + add WIN_SERVICE_CONTROL_* constants + add function win_ServiceControl( <cName>, <nControlCode> ) -> <lSuccess> + add 2nd parameter to win_ServiceDelete( <cName>, <lForce> ) -> <lSuccess> <lForce> will attempt to stop the service before deleting it. % separate service management functions and Harbour app-as-service support functions into separate sources ; build-tested only, function names not finalized. 2015-09-02 19:11 UTC+0200 Viktor Szakats * contrib/hbgd/gdwrp.c * contrib/hbmysql/mysql.c * contrib/hbsqlit3/core.c % use hb_fileLoad() 2015-09-02 18:43 UTC+0200 Viktor Szakats * src/vm/asort.c * remove hack after the proper solution to the win64 problem in 3fc5e437d9d7ec6fbc051ca2da4b29ea54af77e8 * contrib/hbwin/hbwin.ch ! minor in comment * contrib/hbwin/win_svc.c * set wapi_GetLastError() more consistently * README.md * some reordering 2015-09-02 16:11 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbdefs.h * changed 32-bit reference counters in Win64 builds to 64-bit ones. It resolves problems with data alignment in memory allocated by hb_xgrab(). * src/vm/asort.c * removed hack for MinGW64 build from new array sort code, after switching to 64-bit reference counters it should not be longer necessary because allocated memory has 64-bit alignment 2015-09-02 15:54 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebuf.c * added new C function hb_fileLoadData() - it can be used to load data from already opened regular files and streams * include/harbour.hbx * src/rtl/vfile.c + added new PRG function: hb_vfLoad( <cFileName>, [ <nMaxSize> ] ) -> <cFileBody> | NIL * src/vm/runner.c * use hb_fileLoadData() * contrib/hbwin/win_bmp.c * use hb_fileLoad() 2015-09-01 23:04 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * package/harbour.spec + added HBCOMIO, HBPIPEIO, HBTCPIO to RPM package 2015-09-01 22:40 UTC+0200 Viktor Szakats * contrib/hbct/ctstrfil.c ! fix another call to use hb_fileResult() * contrib/hbcurl/easy.c ! fix to not rely on FS_ERROR being defined as -1 * contrib/xhb/hbxml.c * code cleanups and be more grep friendly * src/rdd/sdf1.c ! fix bad typo in both local and merged updates implementing FS_ERROR check 2015-09-01 22:16 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbplist.txt + added hbpipeio to list of contrib libraries 2015-09-01 19:38 UTC+0200 Viktor Szakats * contrib/hbmzip/mzip.c * contrib/hbwin/win_prn2.c * src/rdd/delim1.c * src/rdd/hbsix/sxcompr.c * src/rtl/hbmd5.c * retrofitting previous patches to use hb_fileResult() (for common hunks with mainline - in non-critical/contrib code) * contrib/hbnf/fttext.c ! fixes https://github.com/vszakats/hb/issues/163 2015-09-01 18:42 UTC+0200 Viktor Szakats * include/hbapifs.h ! whitespace 2015-09-01 17:07 UTC+0200 Viktor Szakats * config/global.mk + detect gcc/mingw 5.3.0 2015-09-01 17:05 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebufd.c * moved HB_FILE_ERR_UNSUPPORTED macro to header file * include/hbapifs.h * src/rtl/filebuf.c * added new C function hb_fileLoad() - it can be used to load data from regular files and streams * src/rtl/memofile.c * modified [hb_]Memo{Read|Writ}() to work with streams, i.e. now this code works: REQUEST HB_PIPEIO cDir := hb_memoRead( "|ls -la" ) ? upper( cDir ) or: cData := hb_memoRead( "|xz -c data.gz" ) ? hb_memoWrit( "data2.txt", cData ) ? hb_memoWrit( "|sh -c 'xz -9 -e > data2.xz'", cData ) * src/rtl/fscopy.c * removed not used in current code unix header files 2015-09-01 17:01 UTC+0200 Viktor Szakats * contrib/hbnf/fttext.c * try to resync with 36aed7692ab390bb2d5c63d21b2eab11e268ad17 after comparing cumulative changes: https://github.com/vszakats/hb/compare/36aed7692ab390bb2d5c63d21b2eab11e268ad17...b52aaa89ab1fe1af29a543416d2b56b88f43debc (except for hunks shared with mainline) * one cleanup mod 2015-09-01 16:48 UTC+0200 Viktor Szakats * contrib/hbct/ctstrfil.c * contrib/hbct/print.c * contrib/hbmisc/hbeditc.c * contrib/hbmysql/mysql.c * contrib/hbnf/dispc.c * contrib/hbnf/fttext.c * contrib/hbsqlit3/core.c * contrib/hbtip/mime.c * contrib/xhb/freadlin.c * retrofitting previous patches to use hb_fileResult() * contrib/hbmisc/hbeditc.c ! fix to prev patch when hb_fileReadAt() returned -1 (FS_ERROR) * contrib/hbsqlit3/core.c * drop unnecessary casts * minor cleanup 2015-09-01 15:53 UTC+0200 Viktor Szakats * config/global.mk * sync compiler version detection with hbmk2, this enables detection for OS/2 GCCs and DJGPP and fixes misdetection on OS X gcc that is emulated by clang. 2015-09-01 15:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * ChangeLog.txt ! fixed typo in ChangeLog entry. I used hb_socketNew() instead of hb_socketSetFilter() * include/hbapifs.h * src/rtl/filebuf.c + added helper C function: HB_SIZE hb_fileResult( HB_SIZE nSize ); It converts ( HB_SIZE ) FS_ERROR to 0 so it can be used to wrap hb_fileRead()/hb_fileWrite() to force previous results. * src/rdd/dbffpt/dbffpt1.c * reduced variable scope * src/rtl/copyfile.c ! fixed typo in last commit - thanks to Viktor. 2015-09-01 14:50 UTC+0200 emazv72 (emanuele.zavallone gmail.com) * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + Added support for mixed content multipart forms (HB_CURLOPT_HTTPPOST_FORM) ; Source: https://github.com/emazv72/core/commit/70121cd754cb02bed18cd9078cbc5e7011505d4a 2015-09-01 01:21 UTC+0200 Viktor Szakats * contrib/hbct/ctstrfil.c * contrib/hbtip/mime.c * contrib/xhb/freadlin.c * contrib/xhb/hbxml.c ! further fixes related to hb_file{Read,Write}[At]() returning -1 (FS_ERROR) 2015-09-01 01:04 UTC+0200 Viktor Szakats * contrib/hbmisc/hbeditc.c * contrib/hbnf/dispc.c * contrib/hbnf/fttext.c * cleaned/fixed previous patch https://github.com/vszakats/hb/commit/81439b6f88f29b7f44462bd277f03da174278007 * src/rdd/dbffpt/dbffpt1.c * restore scoping lost after mainline merge * src/rtl/copyfile.c ! fix typo in mainline merged patch https://github.com/harbour/core/commit/db3fe4b8d4d003e1e4b7eb5aa845705405cc000f#diff-d5912df1186538dc3d51167223c73d5cR135 * contrib/gtalleg/gtalleg.hbm * use the new GitHub repo as package homepage 2015-08-31 23:48 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c ! removed unnecessary casting (c&p typo) 2015-08-31 23:43 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/mzip.c * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * contrib/hbwin/win_prn2.c * contrib/xhb/xhbcopyf.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/delim1.c * src/rdd/hbsix/sxcompr.c * src/rdd/sdf1.c * src/rtl/copyfile.c * src/rtl/filesys.c * src/rtl/fscopy.c * src/rtl/hbmd5.c * src/rtl/memofile.c * src/rtl/philes.c * src/rtl/vfile.c * updated for possible -1 result returned by hb_fileRead()/hb_fileWrite() 2015-08-31 18:03 UTC+0200 Viktor Szakats * README.md + describe what "recommended" means in context of this fork * CONTRIBUTING.md * avoid the word "recommended" 2015-08-31 17:11 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * use better method to check for hb_fileRead() -1 return value * contrib/hbsqlit3/core.c * use constant 2015-08-31 17:02 UTC+0200 Viktor Szakats * contrib/hbct/print.c * contrib/hbcurl/easy.c * contrib/hbmisc/hbeditc.c * contrib/hbmysql/mysql.c * contrib/hbnf/dispc.c * contrib/hbnf/fttext.c * contrib/hbsqlit3/core.c * contrib/xhb/xhbcopyf.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/delim1.c * src/rdd/sdf1.c * src/rtl/copyfile.c * src/rtl/hbmd5.c ! handle the case when hb_fileRead()/hb_fileWrite() returns -1 (FS_ERROR) ! handle the case when hb_fileReadAt()/hb_fileWriteAt() returns -1 (FS_ERROR) Not sure if these may actually return -1, but there were checks for this case already in existing RDD code. ; Przemek, if you read this, it'd be nice to hear a thumbs up/down on this. 2015-08-31 14:58 UTC+0200 Viktor Szakats * include/harbour.hbx + add hb_socketAutoShutdown() 2015-08-31 14:54 UTC+0200 Viktor Szakats * contrib/hbct/fcopy.prg * contrib/hbmisc/fileread.prg * contrib/xhb/stream.prg * contrib/xhb/tfile.prg * extras/hbdoc/hbdoc.prg * extras/hbvpdf/core.prg * hb_vfRead()/hb_vfWrite() may now return -1 for certain virtual filesystems, accomodate for that ; FIXME: hb_fileRead()/hb_fileWrite() calls on C level. Question what would be a safe way to check for that, given that the returned type is unsigned. [DONE] 2015-08-31 16:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx + added hb_socketAutoShutdown() * src/rtl/vfile.c * updated for possible -1 result returned by hb_fileRead()/hb_fileWrite() 2015-08-31 13:26 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsockhb.c + added new PRG function: hb_socketAutoShutdown( hSocket, [ lNewSetting ] ) --> lPrevSetting it allows to enable/disable automatic shutdown when connected socket is closed. * contrib/hbpipeio/pipeio.c * removed trailing space * contrib/hbpipeio/tests/test.prg * cleaned the code and messages 2015-08-31 12:45 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtcpio/tcpio.c * contrib/hbpipeio/pipeio.c * modified hb_fileWrite() to return 0 in case of timeout or unblocking write and -1 on other errors. * contrib/hbcomio/comio.c * modified hb_fileRead() to return 0 in case of timeout or unblocking read and -1 on other errors. * src/rtl/filesys.c * return -1 instead of 0 from hb_fsPipeWrite() in MS-Windows and OS2 builds if PIPE state cannot be read * ChangeLog.txt ! c&p typo in previous ChangeLog entry 2015-08-29 23:10 UTC+0200 Viktor Szakats * package/getmingw.bat + automatically verify downloaded mingw package on Win7 or if openssl is available, display the expected hash in other envs 2015-08-29 19:50 UTC+0200 Viktor Szakats * package/getmingw.bat + display expected SHA256 so it can be visually compared against the actual downloaded ones ! fix SHA256 check in prev 2015-08-29 14:49 UTC+0200 Viktor Szakats * package/getmingw.bat + display SHA256 hash of downloaded mingw so that it can be verified (requires either Windows 7 or OpenSSL in PATH) 2015-08-29 12:10 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! remove debug line after prev commit 2015-08-29 12:05 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! try fixing a regression in 2015-08-07 02:28 UTC+0200 related to bcc 2015-08-29 11:37 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + move -strip documentation to the default -help output in the hope this helps sorting out years of FUD about mingw/gcc building much larger binaries than other modern C compilers. (Also see C compiler options to optimize for size instead of speed, when size is the main concern.) * src/main/harbour.rc * do not add an icon (it's an internal tool) 2015-08-29 02:13 UTC+0200 Viktor Szakats * src/main/Makefile + src/main/harbour.rc + add versioninfo and manifest to harbour.exe ; TODO: hbpp.exe, after all these years I still can't figure out how its Makefile works 2015-08-29 01:13 UTC+0200 Viktor Szakats * contrib/rddads/rddads.hbp + replace dependency's URL with a better one 2015-08-28 21:22 UTC+0200 Viktor Szakats * contrib/hbformat/utils/hbformat.hbp + contrib/hbformat/utils/hbformat.rc * contrib/hbnetio/utils/hbnetio/hbnetio.hbp + contrib/hbnetio/utils/hbnetio/hbnetio.rc * utils/hbi18n/Makefile + utils/hbi18n/hbi18n.rc * utils/hbspeed/Makefile + utils/hbspeed/hbspeed.rc * utils/hbtest/Makefile + utils/hbtest/hbtest.rc + add versioninfo and manifest to core and contrib executables 2015-08-28 21:00 UTC+0200 Viktor Szakats * package/harbour.mft + add Manifest items telling Windows that Harbour executables are compatible with post-XP Windows versions. Now we will find out. Nice that now even the new recommended VerifyVersionInfo() API lies about the OS version without above horrid tricks. https://blogs.msdn.com/b/chuckw/archive/2013/09/10/manifest-madness/ * README.md * remove link 2015-08-27 23:36 UTC+0200 Viktor Szakats * src/vm/mainstd/Makefile * src/vm/mainstd.c * src/vm/mainwin/Makefile * src/vm/mainwin.c * revert logic added in https://github.com/vszakats/hb/commit/7eff79d54321f797b966591279b29e694caa9ab0 * revert relocation forcage logic from mainwin. hbmainwin library is not used when building -gui apps, because the copy in hbvm overrides it, so the special magic put into hbmainwin was ineffective as well. For non-GUI apps, relocation is still forced via hbmainstd libarary. * utils/hbmk2/hbmk2.prg + implement logic to force relocation (for ASLR) on mingw/mingw64 with -gui apps. ; For hbmk2 console apps and core console tools the logic in hbmainstd is used. The limitation here is that it isn't currently possible to create a core GUI tool (in /utils) that has ASLR enabled. There aren't plans for core GUI tools, so this is okay for now. 2015-08-27 22:05 UTC+0200 Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/ed25519/fixedint.h ! fix build error with MSVC 2010. This compiler offers <stdint.h> but it seems to miss type 'int32_t' anyway. This is a hack to address this specific problem, it may need further updates to form a general solution. Fixes https://github.com/vszakats/hb/issues/158 2015-08-27 18:05 UTC+0200 Viktor Szakats * contrib/hbpipeio/pipeio.c * update copyright header format ! whitespace * contrib/hbpipeio/tests/test.prg * update copyright header format ! minor fixes % minor optimizations ! formatting 2015-08-27 17:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) + contrib/hbpipeio/hbpipeio.hbc + contrib/hbpipeio/hbpipeio.hbp + contrib/hbpipeio/hbpipeio.hbx + contrib/hbpipeio/pipeio.c + contrib/hbpipeio/tests/hbmk.hbm + contrib/hbpipeio/tests/test.prg + added PIPEIO new Harbour FILE IO redirector As file name prefix "PIPE:" and "|" can be used. This redirector executes command passed as file name with its stdin and stdout handles redirected to Harbour FILE handle, i.e.: REQUEST HB_PIPEIO pFile := hb_vfOpen( "PIPE:ls -la", 0 ) ? upper( hb_vfReadLen( pFile, 10000 ) ) hb_vfClose( pFile ) PIPEIO has also two new PRG functions: hb_vfFromPipes( [<hReads>], [<hWrite>], [<hProcess>], ; [<nTimeout>] -> <pHandle> | NIL hb_vfOpenProcess( <cCommand>, [<nMode>=FO_READ], ; [<nTimeout>], [<lDetach>] ) -> <pHandle> | NIL The first one can be used to create Harbour file redirector for process created by hb_processOpen(), i.e.: hProcess := hb_processOpen( cCommand, @hStdIn, @hStdOut ) pFile := hb_vfFromPipes( hStdOut, hStdIn, hProcess, 5000 ) The second one can be used directly: pFile := hb_vfOpenProcess( cCommand, FO_READWRITE, 5000 ) Usually process which reads from its stdin works until its input stream is closed by other process. If user wants to close input stream for command redirected to Harbour PIPE FILE IO then he can execute: hb_vfConfig( pFile, HB_VF_SHUTDOWN, FO_WRITE ) Look at the test code for real life example. It opens 'gzip' command in FO_READWRITE mode, sends data to gzip, reads gzip output and finally decompress it using hb_ZUncompress() to check if result is equal to initial data. 2015-08-27 16:46 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/fileio.ch + added few HB_VF_* macros for hb_vfConfig() settings * contrib/hbcomio/comio.c * contrib/hbtcpio/tcpio.c + implemented HB_VF_TIMEOUT, HB_VF_PORT, HB_VF_SHUTDOWN, HB_VF_RDHANDLE and HB_VF_WRHANDLE hb_vfConfig() settings, i.e. now hb_vfConfig( pFile, HB_VF_TIMEOUT, <nTimeOut> ) -> <nTimeOut> can be used to change default timeout in TCP and COM Harbour File IO handles. 2015-08-27 15:40 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix typo causing missing error message in case Harbour env could not be detected Fixes https://github.com/vszakats/hb/issues/160#issuecomment-135283876 2015-08-27 13:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix two sloppinesses in previous commit 2015-08-27 10:58 UTC+0200 Viktor Szakats * config/global.mk * README.md * utils/hbmk2/hbmk2.prg * treat msvcarm version detection the same as every other platforms * treat cygwin gcc version detection the same as gcc % delete HB_COMPILER_VER envvar from both the core build system and hbmk2, now it should fully rely on the autodetection, which since has been matured and it is now also working when specifying HB_COMPILER manually. Ref https://github.com/vszakats/hb/issues/160 This should remove this a as a common reason for mistake and a recurring support issue. + allow to override compiler version detection in hbmk2 using an undocumented envvar, this is for debugging purposes, but warn for invalid values anyhow. ; [TRANSLATION] 2015-08-27 02:00 UTC+0200 Viktor Szakats * src/vm/mainstd/Makefile * src/vm/mainstd.c * src/vm/mainwin/Makefile * src/vm/mainwin.c ! yet another attempt to fix ASLR on mingw64, this time try to enable the HB_EXPORT_ATTR exported symbol (that is used to trigger the linker to create a relocation table) only when compiling mainstd.c/mainwin.c for inclusion in mainstd/mainwin _libraries_, and keep them disabled when compiling mainwin.c into an object to be included in harbour dll. (previous methods use HB_DYNLIB macro to decide when to disable HB_EXPORT_ATTR symbol, but it didn't work for 64-bit, because there is no separate HB_DYNLIB compiler pass on that platform) Referencing https://github.com/vszakats/hb/commit/32845e0eb3b3b8ef462669bd27be5bc6629d5b98 2015-08-27 00:37 UTC+0200 Viktor Szakats * src/main/harbour.c * src/pp/hbpp.c * src/vm/mainstd.c * src/vm/mainwin.c ! make another attempt to replace former fix 2015-03-24 03:26 UTC+0100 https://github.com/vszakats/hb/commit/203105203395e891aa2183c75e330cf2ab9bf91b to fix properly win/mingw64 harbour linkage while also enabling relocation table to let ASLR kick in for mingw64 executables. The latter was broken after above patch. * contrib/hbtest/corec.c ! try another fix to silence clang warning 2015-08-26 18:23 UTC+0200 Viktor Szakats * contrib/hbssl/tests/inetssl.prg ! fix to run as hbrun script 2015-08-26 17:27 UTC+0200 Viktor Szakats * config/postinst.hb ! fix hb_BLen() regression Fixes https://github.com/vszakats/hb/issues/159 * contrib/hbssl/tests/inetssl.prg % minor optimizations * contrib/hbssl/ssl_sock.c * src/rtl/hbbfsock.c * src/rtl/hbzsock.c * update copyright header format 2015-08-26 16:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbzsock.c * pacified warning 2015-08-26 15:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsocket.h * src/rtl/hbsockhb.c + added socket filters to standard socket API. At C level hb_sockex*() function with PHB_SOCKEX handler can be used to operate on socket filters. At PRG level standard hb_socket*() functions can be used. The following things has been changed in PRG hb_socket*() functions: hb_socketErorrString() can accept <pSocket> as 1st or 2nd parameter and redirect call to socket filter errorStr() method. hb_socketClose() executes automatically shutdown() for connected sockets - it is important in windows only where without explicit call to shutdown() before close transmitted data can be lost. hb_socketSend() and hb_socketRecv() can be redirected to filter streams if filter set such redirection. If filter does not redirect them then they operate on raw sockets. If hb_socketSend() is redirected then sent data is flushed automatically. The following new PRG functions has been added: Add/replace socket filter: hb_socketSetFilter( <pSocket>, [<cFilterName>], [<hParams>] ) -> <pSocket> | NIL <cFilterName> is filter name, It's possible to set many filters in single hb_socketSetFilter() call separating filter names with "|" character, i.e.: pSock := hb_socketSetFilter( pSock, "ZSOCK|BFSOCK", hParams ) <hParams> is hash array with initialization parameters used by given socket filter. The core implementation recognize the following settings: "readahead" - numeric value with size of read ahead buffer "flush" - numeric value with auto flush parameter (for more information look at hb_socketAutoFlush() below) "redir" - logical value which can be use to enable/disable hb_socketSend() and hb_socketRecv() redirection to filter stream. Return filter name used by socket: hb_socketGetFilter( <pSocket> ) -> <cFilterName> Read from socket stream: hb_socketRead( <pSocket>, @<cData>, [<nLen> = Len( cData )], [<nTimeout> = FOREVER] ) -> <nRead> this function is similar to hb_socketRecv() but is always redirected to socket stream filters. Write to socket stream: hb_socketWrite( <pSocket>, <cData>, [<nLen> = Len( cData )], [<nTimeout> = FOREVER] ) -> <nWritten> this function is similar to hb_socketSend() but it is always redirected to socket stream filters. Written data is not flushed by default and it should be flushed explicitly by hb_socketFlush(). Automatic flushing can be enabled by hb_socketAutoFlush() function. Flush data written to socket: hb_socketFlush( <pSocket>, [<nTimeout> = FOREVER], [<lSync>] ) -> <nNotFlushed> <lSync> parameter is logical value which can be used to force special synchronization method in some filters. Usually users do not have to use it in normal code. Enable/disable automatic flushing of written data. hb_socketAutoFlush( <pSocket>, [ <nTimeout> ] ) -> <nTimeout> <nTimeout> is timeout for automatic flush operation on written data in milliseconds. <nTimeout> = -1 means wait forever and <nTimeout> = 0 disables auto flush. automatic flushing can help in adopting existing code anyhow it may strongly reduce the performance in some filters, i.e. compression filters like ZSOCK have to add special data to the stream after each flush operation so it's suggested to call flush explicitly when we want to force delivering written data to the peer. * include/hbznet.h * src/rtl/hbznet.c + added ZNET socket filter - compressed and encrypted streams are compatible with hb_znet*() streams. The old hb_znet*() interface is obsolete for pure socket communication and if not used as hb_inet*() filter then should be replaced by hb_sockex*() in user programs. ZNET socket filter can be created by new PRG functions: hb_socketNewZNet( <pSocket>, [<cPass>], [<nCompressionLevel>], ; [<nStrategy>] ) -> <pSocket> | NIL or by standard socket API with "ZNET" as filter name. ZNET filter recognize the following settings in initialization hash array: "key" or "pass" - string with encryption password "zlib" - numeric compression level (HB_ZLIB_COMPRESSION_*) "zs" - numeric ZLIB compression strategy (HB_ZLIB_STRATEGY_*) ZNET filter always disables any other filters and operates on raw socket. Please remember that it's optional module. If programmer does not use hb_socketNewZNet() explicitly and prefers using hb_socketSetFilter() then he should force linking this module by REQUEST hb_socketNewZNet + added fSync parameter to hb_znetFlush() [INCOMPATIBLE] * src/rtl/hbinet.c * call flush filter function before socket is closed * src/rtl/Makefile + src/rtl/hbzsock.c + added ZSOCK socket filter - ZLIB and GZIP compression for socket streams. ZSOCK socket filter can be created by new PRG functions: hb_socketNewZSock( <pSocket>, [<hParams>] ) -> <pSocket> | NIL or by standard socket API with "ZSOCK" as filter name. Programmers using hb_socketSetFilter() can force linking this module by REQUEST hb_socketNewZSock ZSOCK filter can be used with other filters. ZSOCK filter recognize the following settings in initialization hash array: "zlib" - numeric compression level (HB_ZLIB_COMPRESSION_*) "zs" - numeric ZLIB compression strategy (HB_ZLIB_STRATEGY_*) "zin" - logical value which allow to enable/disable ZLIB decompression on input stream (default) "gzin" - logical value which allow to enable/disable GZIP decompression on input stream - it's possible to enable both ZLIB and GZIP decompression together so both streams can be decompress "zout" - logical value which allow to enable/disable ZLIB compression on output stream (default) "gzout" - logical value which allow to enable/disable GZIP compression on output stream - if both "zout" and "gzout" are enabled GZIP compression is used. * src/rtl/Makefile + src/rtl/hbbfsock.c + added BFSOCK socket filter - BlowFish input and output stream encryption in CTR mode. BFSOCK socket filter can be created by new PRG functions: hb_socketNewBFSock( <pSocket>, [<hParams>] ) -> <pSocket> | NIL or by standard socket API with "BFSOCK" as filter name. Programmers using hb_socketSetFilter() can force linking this module by REQUEST hb_socketNewBFSock BFSOCK filter can be used with other filters, i.e. with ZSOCK. Please only remember that good encryption algorithms have to generate data which cannot be compressed so using "BFSOCK|ZSOCK" only wastes resources and correct filter order is "ZSOCK|BFSOCK". BFSOCK filter recognize the following settings in initialization hash array: "key" or "pass" - string with encryption password "iv" - string with initialization vector for CTR mode * contrib/hbssl/hbssl.ch * contrib/hbssl/hbssl.h * contrib/hbssl/hbssl.hbm * contrib/hbssl/hbssl.hbx * contrib/hbssl/ssl.c * contrib/hbssl/ssl_inet.c + contrib/hbssl/ssl_sock.c + added SSL socket filter SSL socket filter can be created by new PRG functions: hb_socketNewSSL_connect( <pSocket>, <pSSL> [, <nTimeout> ] ) -> <pSocketSSL> | NIL hb_socketNewSSL_accept( <pSocket>, <pSSL> [, <nTimeout> ] ) -> <pSocketSSL> | NIL or by standard socket API with "SSL" as filter name. Programmers using hb_socketSetFilter() can force linking this module by REQUEST hb_socketNewSSL_connect or REQUEST hb_socketNewSSL_accept SSL filter always disables any other filters and operates on raw socket. SSL filter recognize the following settings in initialization hash array: "ctx" or "key" - pointer SSL item <pSSL> "timeout" - timeout (numeric) "client" - logical value indicating client mode (SSL_connect()) "server" - logical value indicating server mode (SSL_accept()) * contrib/hbssl/tests/inetssl.prg ! cleaned typo in local function name * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * use new Harbour extended socket API (hb_sockex*()) instead of raw sockets and hb_znet*() * contrib/hbtcpio/tcpio.c * use new Harbour extended socket API (hb_sockex*()) instead of raw sockets + implemented hb_fileFlush() 2015-08-26 12:32 UTC+0200 Viktor Szakats * contrib/hbsqlit3/core.c * delete unnecessary logic (hb_parc() returns NULL if arg is non-string) * contrib/hbtest/corec.c ! fix clang warning 2015-08-26 12:27 UTC+0200 Viktor Szakats * contrib/hbct/atrepl.c * contrib/hbct/charmirr.c * contrib/hbct/charonly.c * contrib/hbct/dattime2.c * contrib/hbct/numat.c * contrib/hbct/pos2.c * delete redundant parenthesis 2015-08-26 02:33 UTC+0200 Viktor Szakats * contrib/hbosx/trash.m ! fix last-minute typo in prev commit 2015-08-26 02:12 UTC+0200 Viktor Szakats * contrib/hbosx/hbosx.hbc * contrib/hbosx/trash.m + use non-deprecated API when running on OS X 10.8 or newer 2015-08-26 01:17 UTC+0200 Viktor Szakats * config/common/clang.mk * config/global.mk * utils/hbmk2/hbmk2.prg ! detect clang 3.5 on darwin ! do not enable -Wno-reserved-id-macro option on darwin 2015-08-25 19:00 UTC+0200 Viktor Szakats * appveyor.yml % delete unnecessary option after prev commit 2015-08-25 18:54 UTC+0200 Viktor Szakats * package/mpkg_win.bat % delete unused logic used to embed mingw compiler in the Harbour unified Windows distro 2015-08-25 15:30 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming libcurl 7.45.0 feature: HB_CURLINFO_ACTIVESOCKET. This option replaces HB_CURLINFO_LASTSOCKET, and makes it work on 64-bit Windows. HB_CURLINFO_LASTSOCKET is now deprecated. https://github.com/curl/curl/commit/62f306ff34f569020ce54451da7c841d162710ac 2015-08-24 22:07 UTC+0200 Viktor Szakats * contrib/hbcrypto/aes256.c * contrib/hbcrypto/hbcrypto.hbx * contrib/hbcrypto/tests/aes256.prg * rename two functions to relfect their exact functionality: hb_aes256_encrypt() -> hb_aes256_encrypt_ecb() hb_aes256_decrypt() -> hb_aes256_decrypt_ecb() 2015-08-24 19:40 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvgd.c ! guard Shell_NotifyIcon() calls on wce platform to avoid link-time error with wce/mingwarm, but it also seems to be missing from my (quite messy) wce/msvcarm toolsets. According to MSDN, it should be supported on WinCE 5: https://msdn.microsoft.com/library/aa453686 Fixes https://github.com/vszakats/hb/issues/157#issuecomment-134308878 2015-08-24 19:22 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwvg.h * contrib/gtwvg/gtwvgd.c ! fix wce build regression after 59a8a754fb44a0e49cff8dfbd4cc5063e4ea64ec Fixes https://github.com/vszakats/hb/issues/157 2015-08-24 19:05 UTC+0200 Viktor Szakats * contrib/hbcrypto/3rd/scrypt/c_scrypt.c * contrib/hbcrypto/3rd/scrypt/scrypt.dif * eliminate reliance on 'errno' making this code more portable (to wce e.g.) Fixes https://github.com/vszakats/hb/issues/156 2015-08-24 00:57 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming libcurl 7.45.0 option CURLOPT_DEFAULT_PROTOCOL https://github.com/curl/curl/commit/9756d1d 2015-08-22 20:53 UTC+0200 Viktor Szakats * appveyor.yml ! fix to prev: reset HB_COMPILER when doing the mingw64 pass 2015-08-22 19:01 UTC+0200 Viktor Szakats * appveyor.yml * try using HB_COMPILER directly. After recent changes compiler version detection should remain enabled in this case. 2015-08-22 11:05 UTC+0200 Viktor Szakats * appveyor.yml * utils/hbspeed/hbspeed.prg + add --noenv option to hbspeed to suppress displaying timestamp and OS (though the speed results will make the log content non-deterministic anyway) 2015-08-20 12:00 UTC+0200 Viktor Szakats * contrib/hbnf/mouse1.prg + add support for ft_MDblClk() on non-MS-DOS platforms by emulating MS-DOS specific logic implemented in ft_MButPrs(). This patch was originally created by https://github.com/antimix in this patch: https://github.com/antimix/harbour-core/commit/386b3af4405bcb70e23d4f022293286aeda8b878 The committed version has multiple fixes over the above patch. 2015-08-20 10:20 UTC+0200 Viktor Szakats * README.md * minor to prev 2015-08-20 10:19 UTC+0200 Viktor Szakats * README.md * update URL for Git Windows binaries 2015-08-20 03:07 UTC+0200 Viktor Szakats + contrib/hbcrypto/sha3.c * contrib/hbcrypto/hbcrypto.hbp * contrib/hbcrypto/hbcrypto.hbx + contrib/hbcrypto/tests/sha3.prg + add SHA3 functions: hb_SHA3224( <cData>, [<lBinary=.F.>] ) -> <cHash> hb_SHA3256( <cData>, [<lBinary=.F.>] ) -> <cHash> hb_SHA3384( <cData>, [<lBinary=.F.>] ) -> <cHash> hb_SHA3512( <cData>, [<lBinary=.F.>] ) -> <cHash> hb_SHAKE128( <cData>, [<nHashBytes=32>], [<lBinary=.F.> ] ) -> <cHash> hb_SHAKE256( <cData>, [<nHashBytes=64>], [<lBinary=.F.> ] ) -> <cHash> * contrib/hbtest/core.prg ! fix fail/pass percentage when more tests fail than pass * utils/hbtest/hbtest.prg ! fix fail/pass percentage when more tests fail than pass ! align fail/pass percentage ! fix RTE when zero tests passed 2015-08-20 01:39 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! add hack to always overwrite files when installing to the 'depimplibsrc' target group. These are 3rd party files and their timestamps may be arbitrary. % minor optimizations * bin/3rdpatch.hb * bin/commit.hb * config/lang2po.hb * contrib/gtwvw/tests/eb7.prg * contrib/hbformat/hbfmtcls.prg * contrib/hbmisc/hbedit.prg * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbnf/nooccur.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbwin/win_reg.prg * contrib/xhb/xhbmemo.prg * contrib/xhb/xhbtedit.prg * extras/gfspell/spell.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/_cgifunc.prg * tests/gtkeys.prg * tests/inherit.prg * tests/kbd.prg * tests/stripem.prg % optimize by using hb_BLen() instead of Len() when comparing against zero * src/rtl/memoedit.prg * src/rtl/teditor.prg % optimize by using hb_BLen() instead of hb_ULen() when comparing against zero * contrib/gtwvg/combobox.prg % delete two conditions that are always true * contrib/hbct/tests/test.prg ! fix to use hb_BLen() in CharHist() that works on binary strings * contrib/hbnf/dispmsg.prg * format array index syntax 2015-08-19 19:04 UTC+0200 Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/ed25519/fixedint.h ! typo in typo fix in 782bfff371dfa5a0805a27827477abd703bcd29e 2015-08-19 14:59 UTC+0200 Viktor Szakats * config/postinst.hb * utils/hbmk2/hbmk2.prg * hb_FCopy() -> hb_vfCopyFile() 2015-08-19 14:29 UTC+0200 Viktor Szakats * package/mpkg_win.bat ! fix distro package problem where 3rd party .dlls with platform-agnostic naming (e.g. libcurl.dll and openssl .dlls), would get included in the win64 version after enabling the mingw64 target. These obviously won't work with 32-bit hbrun. This should be now solved by reordering the .dll copy sessions to copy the native ones last. Building exes for the non-native target that depend on these .dlls will continue to fail and here the only resolution would be to hack their builds to produce platform-specific names, like libcurl.dll and libcurl-64.dll for the 64-bit version. 2015-08-17 15:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbznet.h + include hbsocket.h * src/rtl/hbznet.c * set socket error HB_SOCKET_ERR_OTHER if problems with ZLIB decompression appear * updated headers 2015-08-17 15:29 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsocket.h * src/rtl/hbsocket.c * src/rtl/hbsockhb.c + added new C functions: hb_socketAutoInit( void ); hb_socketSetError( int iError ); * contrib/hbtcpio/tcpio.c ! initialize socket subsystem - it fixes issue #105 2015-08-17 10:38 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_wingdi_font.c + add wapi_AddFontMemResourceEx( <cFont>,, @nFonts ) -> <hHandle> https://msdn.microsoft.com/library/dd183325 + add wapi_RemoveFontMemResourceEx( <hHandle> ) -> <lSuccess> https://msdn.microsoft.com/library/dd162921 ! fix WAPI_REMOVEFONTRESOURCE(), WAPI_REMOVEFONTRESOURCEEX() to return LOGICAL value matching original Windows API interface [INCOMPATIBLE] (they were wrongly returning NUMERIC before) 2015-08-17 01:52 UTC+0200 Viktor Szakats * config/global.mk + recognize gcc 5.2 2015-08-17 00:38 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c ! fix two potential NULL ptr dereferences https://scan3.coverity.com/reports.htm#v28157/p10793/fileInstanceId=5966571&defectInstanceId=1369193&mergedDefectId=134567 https://scan3.coverity.com/reports.htm#v28157/p10793/fileInstanceId=5966571&defectInstanceId=1369194&mergedDefectId=134568 * contrib/hbssl/hbssl.hbm * update link 2015-08-14 17:53 UTC+0200 Viktor Szakats * contrib/hbtip/thtml.prg ! fix typo in https://github.com/vszakats/hb/commit/e30f4d8bcef820d827e245c2d9ff0d531ed172da#diff-65c6ccc1af2672d2e9713210e22a6f21 Fixes https://github.com/vszakats/hb/issues/155 2015-08-13 02:32 UTC+0200 Viktor Szakats * contrib/hbbz2/tests/test.prg * contrib/hbgt/doc/en/hbgt.txt * contrib/hblzf/tests/*.prg * contrib/hbmzip/tests/myunzip.prg * contrib/hbssl/tests/*.prg * contrib/hbtest/core.prg * contrib/hbxdiff/tests/test.prg * contrib/xhb/stream.prg * contrib/xhb/trpc.prg * contrib/xhb/tests/compress.prg ! binary vs text string fixes * contrib/xhb/diskhb.prg * contrib/xhb/trpc.prg * minor optimizations 2015-08-13 01:50 UTC+0200 Viktor Szakats * contrib/gtwvg/paint.prg * contrib/hbcrypto/tests/bcrypt.prg * contrib/hbtest/core.prg * contrib/hbtest/tests/test.prg * contrib/xhb/cstruct.prg ! binary vs text string fixes 2015-08-12 11:21 UTC+0200 Viktor Szakats * appveyor.yml * update to curl 7.44.0 2015-08-11 01:26 UTC+0200 Viktor Szakats * contrib/hbhttpd/core.prg * contrib/hbtip/cgi.prg * contrib/hbtip/sessid.prg * contrib/hbwin/win_tprn.prg * extras/httpsrv/_cgifunc.prg * extras/httpsrv/_cookie.prg * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg * cleanups % optimizations: use time type, hb_StrReplace() * formatting * some httpsrv functions got incompatible updates % tip_DateToGMT( dDate, cTime ) -> tip_DateToGMT( tDate ) [INCOMPATIBLE] * extras/hbvpdf/core.prg * extras/httpsrv/README.md * formatting 2015-08-10 17:38 UTC+0200 Viktor Szakats * config/postinst.hb * contrib/hbformat/hbfmtcls.prg * contrib/hbhttpd/log.prg * contrib/hbmisc/ntp.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnf/tests/tempfile.prg * contrib/xhb/xhbtedit.prg * tests/cgi.prg * tests/inifile.prg * utils/hbi18n/hbi18n.prg * utils/hbmk2/hbmk2.prg % optimize by using hb_BLen() instead of Len() when comparing against zero * contrib/hbformat/hbfmtcls.prg * contrib/hbformat/utils/hbformat.prg % use portable filename manipulation functions instead of replicating logic locally * do not accept ambiguous '/' option prefix anymore [INCOMPATIBLE] (only '-') * contrib/hbmisc/fileread.prg % use INIT keyword 2015-08-10 16:40 UTC+0200 Viktor Szakats * contrib/hbwin/win_reg.prg % optimizations * contrib/hbtip/mail.prg * protect for ::cBody == NIL (it was silently failing already, but made the check explicit for clarity) * src/rdd/dblist.prg * src/rdd/dbstrux.prg * src/rtl/tlabel.prg * src/rtl/treport.prg ! check for value type before checking string length regressions after https://github.com/vszakats/hb/commit/537f283743ebec5a6b78d5cb856620753aa80646 (these result in minor incompatibilities with Cl*pper when passing non-string, non-empty (invalid) values as filenames - in Harbour these are correctly handled as invalid) 2015-08-10 14:34 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/thtml.prg * contrib/hbtip/url.prg % optimize by using hb_BLen() instead of Len() when comparing against zero 2015-08-10 14:27 UTC+0200 Viktor Szakats * contrib/hbtip/mail.prg ! add NIL check for string variable that can be NIL Fixes https://github.com/vszakats/hb/issues/152 % optimize by using hb_BLen() instead of Len() when comparing against zero 2015-08-09 19:55 UTC+0200 Viktor Szakats * appveyor.yml * disable msvc 32-bit to fit into 40 minutes * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/ed25519/fixedint.h ! typo in prev 2015-08-08 15:33 UTC+0200 Viktor Szakats * package/mpkg_win.bat + strip timestamps from msvc/msvc64 libraries before including them in distro package. It means that determinism is guaranteed for the whole package again. 2015-08-08 15:28 UTC+0200 Viktor Szakats * appveyor.yml * minor preventive correction 2015-08-08 15:20 UTC+0200 Viktor Szakats * appveyor.yml + enable msvc 32-bit target as an experiment 2015-08-08 14:50 UTC+0200 Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/ed25519/fixedint.h ! silence msvc64 (msvs 2015) redefinition warnings * contrib/hbcrypto/blake2s.c ! silence msvc64 warnings: warning C4244: '+=': conversion from 'HB_SIZE' to 'HB_U32', possible loss of data 2015-08-08 13:54 UTC+0200 Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/ed25519/ed25519.hbp * update upstream revision after accepting local patch PR 2015-08-08 13:48 UTC+0200 Viktor Szakats * contrib/hbcrypto/scrypt.c ! fix extern declarations when built in C++ mode * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/ed25519/fe.c ! fix msvc64 warning: warning C4146: unary minus operator applied to unsigned type, result still unsigned * contrib/hbcrypto/bcrypt.c ! fix msvc64 warnings: warning C4267: 'argument': conversion from 'size_t' to 'HB_U16', possible loss of data * contrib/hbnf/fttext.c ! fix msvc64 warning: warning C4244: '=': conversion from 'HB_SIZE' to 'int', possible loss of data * contrib/hbssl/ssl_inet.c ! fix msvc64 warning: warning C4244: 'argument': conversion from 'HB_SOCKET' to 'int', possible loss of data * contrib/hbtip/mime.c ! fix msvc64 warning: warning C4244: 'initializing': conversion from 'HB_SIZE' to 'int', possible loss of data * use HB_SIZE instead of HB_ISIZ to avoid further warnings (I hope this is alright) * package/mpkg_win.bat ! fix to find 'strip' without relying on mingw being in PATH * src/common/hbver.c ! fix typo in cast * src/rtl/sha1.c * silence msvc warning: conversion from 'HB_SIZE' to 'sha1_quadbyte', possible loss of data 2015-08-08 12:39 UTC+0200 Viktor Szakats * appveyor.yml + enable msvc64 binaries in AppVeyor builds as an experiment (this breaks deterministic builds - because Microsoft's libraries do not support it, not even with MSVS 2015) 2015-08-08 12:32 UTC+0200 Viktor Szakats * config/global.mk ! two more fixes to pocc version detection 2015-08-08 12:17 UTC+0200 Viktor Szakats * contrib/xhb/hbsyslog.c ! init static handle to NULL 2015-08-08 12:15 UTC+0200 Viktor Szakats * src/rtl/arc4.c ! fix to work on Win95(b) * src/rtl/filesys.c * src/rtl/fssize.c ! fix to call the dynamic pointer instead of fixed API links to work on Win95. This fixes ddea7f90cb8f6c37b7e934a1b94cfb6ad40c2ffc. * contrib/xhb/hbsyslog.c * revert to call Windows API functions directly, these are present back into at least Win95b % do not do hb_iswinnt() checks, these seem unnecessary ! fix to check handle before calling Windows API functions * formatting 2015-08-08 11:21 UTC+0200 Viktor Szakats * contrib/xhb/hbsyslog.c ! fix win9x compatibility and generally cleanup the way Windows API is called from this component. It no more relies on WINVER and should now support all C compilers. (build tested) 2015-08-08 00:20 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! minor cleanup 2015-08-08 00:17 UTC+0200 Viktor Szakats * README.md * update * config/win/pocc.mk * utils/hbmk2/hbmk2.prg ! fixes to pocc version detection 2015-08-08 00:00 UTC+0200 Viktor Szakats * config/global.mk + detect pocc version. This will make hardening options work. * config/win/pocc.mk ! fix a version condition to account for pocc 6.50 * utils/hbmk2/hbmk2.prg + cleanup compiler version detection and extend it to non-win platforms * src/common/hbver.c ! fix build error with pocc (8.00) 2015-08-07 23:20 UTC+0200 Viktor Szakats * src/vm/asort.c + add undocumented macro to revert back to old sort code to avoid mingw64 bug when building for LTO mode. * contrib/hbmisc/nconvert.prg * contrib/hbnf/calendar.prg * contrib/hbtest/core.prg * extras/gfspell/spell.prg % use hb_BSubStr() on ASCII strings 2015-08-07 21:44 UTC+0200 Viktor Szakats * config/win/mingw.mk * utils/hbmk2/hbmk2.prg % use -fno-ident option to exclude unnecessary mingw '.ident' string from binaries 2015-08-07 19:12 UTC+0200 Viktor Szakats * config/common/clang.mk * minor in comment * config/win/clang.mk * sync options with config/common/clang.mk 2015-08-07 18:58 UTC+0200 Viktor Szakats * config/common/clang.mk ! fix typo in recent condition 2015-08-07 18:54 UTC+0200 Viktor Szakats * config/global.mk + try detecting compiler version even when HB_COMPILER is explicitly set 2015-08-07 18:30 UTC+0200 Viktor Szakats * config/global.mk % centralize gcc and msvc compiler family version detection cutting off a bunch from the "xmas-tree", resulting in smaller code easier to maintain. 2015-08-07 18:02 UTC+0200 Viktor Szakats * config/global.mk + detect clang version * config/common/clang.mk * enable clang 3.6 option only when 3.6 is detected 2015-08-07 17:07 UTC+0200 Viktor Szakats * .travis.yml * quiet brew update + add icu4c on osx * contrib/hbpgsql/hbpgsql.hbp * contrib/sddpg/sddpg.hbp + detect homebrew pgsql 2015-08-07 16:46 UTC+0200 Viktor Szakats * contrib/hbgs/hbgs.hbp ! detect homebrew ghostscript headers * utils/hbmk2/hbmk2.prg * minor grammar [TRANSLATION] * .travis.yml * disable some brew packages * config/common/clang.mk * add FIXME for clang version dependent option * README.md * update documentation for HB_COMPILER_VER * utils/hbmk2/hbmk2.prg + autodetect clang version ! apply clang 3.6 version specific option only when this version is detected 2015-08-07 16:07 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c * removed dummy code left by mistake 2015-08-07 15:40 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtcpio/tcpio.c * contrib/hbtcpio/hbtcpio.hbx + added new PRG function hb_vfFromSocket( <pSocket> ) -> <pFile> It converts socket created by socket open into TCPIP virtual file which works just like files created by hb_vfOpen( "tcp:...", ... ) * include/hbapifs.h * src/rtl/filesys.c + added new C function HB_SIZE hb_fsPipeWrite( HB_FHANDLE hPipe, const void * buffer, HB_SIZE nSize, HB_MAXINT nTimeOut ); + implemented hb_fsPipeUnblock() in OS2 builds + set IO error in hb_fsPipeCreate(), hb_fsIsPipeOrSock() and hb_fsPipeUnblock() * return ( HB_SIZE ) -1 from hb_fsPipeRead() if end of stream is reached or read error appears on non empty buffer. This modification also change the behavior of PRG hb_PRead() function so now result -1 can be used to detect end of stream. * src/rtl/philes.c * include/harbour.hbx + added new PRG function: hb_PWrite( <nPipeHandle>, <cBuffer>, [<nBytes>], [<nTimeOut>] ) -> <nBytesWritten> % removed unnecessary assignment * include/hbapiitm.h + added HVM internal macro hb_itemRawSwap() * src/vm/asort.c % use hb_itemRawSwap() * in old code use comparison which prefers < and > operators instead of <= and >= 2015-08-07 13:26 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgud.c * contrib/gtwvg/gtwvg.h * contrib/gtwvg/gtwvgd.c * contrib/gtwvg/gtwvglo.h * contrib/gtwvg/wvgwin.c * contrib/gtwvw/hbgtwvw.h * untangle and remove dependencies on _WIN32_WINNT * do not override WINVER (might break things, we will see) 2015-08-07 13:15 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_wingdi.c + WAPI_SETDCBRUSHCOLOR(), WAPI_SETDCPENCOLOR() support older Windows systems by calling the low-level Windows API functions dynamically and not depend on compile-time _WIN32_WINNT setting. * README.md * wording 2015-08-07 02:28 UTC+0200 Viktor Szakats * config/win/bcc.mk * utils/hbmk2/hbmk2.prg * make bcc/ilink ignore default bcc32.cfg/ilink32.cfg files if lib and header path were autodetected by the Harbour make system or hbmk2. These files may possibly be misconfigured or outdated. Following up on: https://groups.google.com/d/msg/harbour-users/kkVON9yY8Us/DRC_YRMxJgAJ (very lightly tested) 2015-08-07 00:19 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_8_11_1.html 2015-08-01 13:14 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/asort.c * restored original loop and added different workaround which for the problem in 64-bit MinGW we exploited. It's dummy function call inside a loop so probably link time optimization (LTO is enabled by -O4 in the newest GCC versions) ignore it and the problem will reappear. Anyhow it only temporary solution which should give time to create self contain example and report the problem to MinGW authors - it's highly possible that also other code exploited this problem so be careful with MinGW64. % fixed index range checking to eliminate unnecessary index verification 2015-08-01 01:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/asort.c * added workaround for bug in 64-bit MinGW builds 2015-07-31 17:51 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_wingdi.c * contrib/hbwin/wapi_winuser_1.c * contrib/hbwin/win_rpc.c * contrib/xhb/hbserv.c * include/hbexpra.c * src/compiler/hbfunchk.c * src/compiler/hbusage.c * src/pp/ppcore.c * src/rdd/dbf1.c * src/rtl/gtos2/gtos2.c * src/rtl/gtsln/keytrans.c * src/rtl/hbi18n1.c * src/rtl/hbinet.c * src/rtl/hbregexc.c * src/rtl/hbzlib.c * src/vm/classes.c * src/vm/initsymb.c * use HB_SIZEOFARRAY() * use the variable name instead of its type as sizeof() argument * contrib/hbwin/wce_smsc.c ! WCE_SMSSENDMESSAGE() fix wrongly calculated memcpy() length (it was half of the correct one), it was broken since 472c3592ed6e4dbb04250608af87b2b540e4fe74 * contrib/hbamf/amfenc.c * delete commented code 2015-07-31 17:12 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/asort.c ! fixed missing nStart checking during array items reordering * utils/hbtest/rt_array.prg * updated Harbour specific results - I thought that someone invested time to exactly replicate CA-Cl*pper ASort() sorting but in fact Harbour specific resutls where hardcoded inside HBTEST so previous code was not Cl*pper compatible in the same way as current one. 2015-07-31 16:34 UTC+0200 Viktor Szakats * utils/hbtest/rt_array.prg ! clean accidentally commited junk 2015-07-31 16:29 UTC+0200 Viktor Szakats * utils/hbtest/rt_array.prg * update ASort() expected results when run under Harbour All of these were already different from Cl*pper before recent ASort() rewrite in 9e318add44ec844a54bc15f4e475e7d74e0f294f. ; FIXME: 5 tests with nStart != 1 seem to have broken though [DONE] 2015-07-31 16:42 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c * src/rtl/mlcfunc.c * pacified new GCC C++ warnings * src/rtl/hbsocket.c * do not execute select() if HVM exception was generated when socket handlers are extracted but return an error immediately 2015-07-31 16:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/asort.c % added new code for ASort() Warning: new sorting algorithm is stable (does not change the order of equal items). It means is not strictly Cl*pper compatible and it can be seen some dummy ASort() tests in HBTEST results. 2015-07-31 14:04 UTC+0200 Viktor Szakats * include/hbapifs.h * src/rtl/filebuf.c * src/rtl/vfile.c + add C-level hb_fileSizeGet() function * update HB_VFSIZE() to use hb_fileSizeGet() when passed a filename It means now HB_VFSIZE() works for non-virtual filenames just like HB_FSIZE() did. /CC @druzus 2015-07-31 12:15 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % delete compatibility hack after root cause fix in 3rd party code https://sourceforge.net/p/qtcontribs/code/414/ 2015-07-31 12:11 UTC+0200 Viktor Szakats * src/rtl/arc4.c * add CRYPT_SILENT flag to CryptAcquireContext() call as precaution and standard practice * add 's_' prefix to static vars 2015-07-31 01:18 UTC+0200 Viktor Szakats * config/po2lang.hb * contrib/hbmzip/tests/myunzip.prg * contrib/hbmzip/tests/myzip.prg * contrib/hbtest/core.prg * contrib/hbwin/win_tprn.prg * src/debug/debugger.prg * src/rtl/tpersist.prg * utils/hbmk2/hbmk2.prg % use hb_BLen() for optimizations purposes * contrib/hbcurl/tests/ftp_uldl.prg * extras/hbvpdf/core.prg ! fix to use hb_BLen() * contrib/hbgd/gdimage.prg ! fix to use hb_BLen() and hb_ULen() + contrib/hbtest/corec.c * contrib/hbtest/core.prg * contrib/hbtest/hbtest.hbp * contrib/hbtest/hbtest.hbx * contrib/hbtest/tests/test.prg + add pointer type to testable types and values + display all test values in test code * contrib/hbwin/win_tprn.prg ! win_Prn():TextOut(), win_Prn():GetTextWidth() use hb_ULen() * contrib/xhb/tests/compress.prg % delete unused assignment * src/debug/debugger.prg * src/debug/tbrwtext.prg ! fix some sloppy parameter checks * src/debug/debugger.prg * utils/hbmk2/hbmk2.prg % compare with NIL instead of using Empty() * src/rtl/browse.prg * src/rtl/tmenusys.prg * tests/wvtext.prg ! use hb_U*() * src/rtl/color53.prg * added FIXME for missing hb_BStuff() * src/rtl/listbox.prg ! _LISTBOX_() fix sloppy param check in Cl*pper that causes an RTE with: _ListBox_(0,0,1,1,,{{},{}}) * tests/clipper.ch + add hb_U*() translations * src/rtl/tpopup.prg * comment 2015-07-30 20:30 UTC+0200 Viktor Szakats * src/debug/*.prg * src/rtl/getsys.prg * src/rtl/menuto.prg * src/rtl/tgethb.prg * src/rtl/tmenuitm.prg + use hb_U*() API % use hb_B*() on ASCII strings * src/rdd/dblist.prg * src/rdd/dbstrux.prg * src/rtl/adir.prg * src/rtl/hbini.prg * src/rtl/memvarhb.prg * src/rtl/teditor.prg * src/rtl/wait.prg % use hb_B*() where possible * src/rdd/usrrdd/rdds/arrayrdd.prg * formatting (generated code verified to not change) * src/rdd/usrrdd/rdds/hscdx.prg ! fix lower bound check * src/rtl/listbox.prg * use constant 2015-07-30 13:26 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp + link hbtcpio to hbrun by default * src/rtl/langcomp.prg * src/rtl/libname.prg * src/rtl/typefile.prg % optimizations * src/rtl/hbi18n2.prg % avoid another hb_utf8*() call 2015-07-30 01:15 UTC+0200 Viktor Szakats * src/rtl/achoice.prg * src/rtl/gui.prg * src/rtl/hbfilehi.prg * src/rtl/profiler.prg * src/rtl/tbrowse.prg * src/rtl/tpopup.prg * src/rtl/treport.prg * src/rtl/ttopbar.prg + use hb_U*() API % use hb_B*() on ASCII strings + add FIXME for missing hb_UAtI(), hb_URAt(), hb_UStrShrink() functions 2015-07-30 00:43 UTC+0200 Viktor Szakats * src/rtl/checkbox.prg * src/rtl/hbdoc.prg * src/rtl/listbox.prg * src/rtl/pushbtn.prg * src/rtl/radiobtn.prg * src/rtl/radiogrp.prg * src/rtl/scrollbr.prg * src/rtl/tgetlist.prg * src/rtl/tlabel.prg * src/rtl/treport.prg + use hb_U*() API % use hb_BLen() to check for string emptyness % use hb_B*() on ASCII strings + add FIXME for missing hb_UAtI() function % optimize Occurs() internal function in TReport() + __hbdoc_LoadDir() make sure files are read as UTF-8 ! __hbdoc_LoadDir() issue an error when an empty section name is found 2015-07-29 20:12 UTC+0200 Viktor Szakats * * * cleanup variable names used for file handles 2015-07-29 19:30 UTC+0200 Viktor Szakats * src/rtl/alert.prg * src/rtl/color53.prg * src/rtl/dircmd.prg * src/rtl/hbfilehi.prg % optimize by using hb_B*() functions for color strings, zero length checks * src/rtl/dircmd.prg * src/rtl/typefile.prg + use hb_U*() string functions for non-ASCII strings. 2015-07-29 16:59 UTC+0200 Viktor Szakats * src/rtl/tget.prg ! fix two hb_ULen() usages in prev 2015-07-29 16:57 UTC+0200 Viktor Szakats * src/rtl/tget.prg * use hb_U*() functions for string manipulation * src/rtl/chruni.c % delete obsolete TODO 2015-07-29 12:40 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/xhb/hboutdbg.c * src/rtl/fstemp.c * use secure random * contrib/hbgd/tests/counter.prg * contrib/hbmemio/tests/test.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/mail.prg * contrib/hbtip/sessid.prg * contrib/xhb/trpccli.prg * extras/httpsrv/_session.prg * extras/httpsrv/modules/showcounter.prg * tests/gfx.prg % optimize hb_rand*() calls 2015-07-29 11:59 UTC+0200 Viktor Szakats * extras/template/core.prg * extras/template/hbtpl.hbc * extras/template/hbtpl.hbp * call an actual hbct function so force-link is now unnecessary to demonstrate linking with hbct lib * enable hbct Harbour lib dependency in the example * link hbct dynamically by default * contrib/hbtip/mail.prg ! TIPMail():MakeBoundary() use secure random % TIPMail():MakeBoundary() optimize * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * use secure random % use hb_randStr() where possible * contrib/hbtip/sessid.prg * contrib/hbcairo/tests/hellow.prg * contrib/hbcairo/tests/lightnin.prg * contrib/hbgd/tests/counter.prg * contrib/hbmemio/tests/test.prg * extras/httpsrv/_session.prg * extras/httpsrv/modules/showcounter.prg * tests/gfx.prg * use secure random functions hb_rand*() * contrib/hbtip/httpcli.prg ! fix casing 2015-07-29 02:55 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_8_11.html 2015-07-29 02:23 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg % delete an unnecessary dirsep + -info to display Harbour build options (pcre1/pcre2 zlib) 2015-07-29 01:59 UTC+0200 Viktor Szakats * contrib/hbtip/httpcli.prg + TIPClientHTTP():Boundary() use secure random % TIPClientHTTP():Boundary() optimize * src/rtl/hbi18n2.prg * avoid hb_utf8Chr() (the single use of the API family in Harbour codebase) * src/rtl/Makefile * src/rtl/cdpapihb.c + src/rtl/cdpapich.c + split hb_utf8*() API functions to a separate source file * utils/hbmk2/hbmk2.prg ! fix failure to invoke Git due a typo in b185b17c592c0aed1f961ca5afc1bcfcfb78995e 2015-07-28 13:37 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbp * exclude hbolesrv.c on the hbmk2 build level as well. This is redundant as the whole hbolesrv.c code is excluded by macros inside the source when built for a dynamic library target. The purpose of this modification is to avoid false Issue reports about it, by being explicit that this object is not included in the dynamic library. * CONTRIBUTING.md + emphasis to reproduce problems using _unmodified_ repository state (with no local commits or pending updates) before reporting. 2015-07-28 10:44 UTC+0200 Viktor Szakats * contrib/gtwvg/class.prg * contrib/gtwvg/toolbar.prg * contrib/gtwvg/tests/_utils.prg * contrib/gtwvw/tests/drawimg.prg * contrib/hbfbird/tests/*.prg * contrib/hbhpdf/tests/harupdf.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbssl/tests/inetssl.prg * contrib/hbxpp/tests/dllcall.prg * contrib/hbzebra/tests/harupdf.prg * contrib/make.hb * contrib/rddads/tests/datad.prg * extras/rddado/ado.prg * use VF IO API * contrib/gtwvg/class.prg ! cleanups and type checking fixes * contrib/hbgd/gd.prg ! use VF IO API * contrib/xhb/dirrec.prg * comment cleanup 2015-07-28 10:11 UTC+0200 Viktor Szakats * contrib/hbblat/blatcls.prg % optimize ! fix to handle values/filenames with spaces ! fix doubly added -replyto option * use VF IO API (this is another case where no virtual filesystems can be used because the files need to be accessed by 3rd party code using their own FS functions anyway, but I use them anyway to move to the new VF API uniformly) * contrib/hbmxml/tests/custom.prg * contrib/hbmxml/tests/reminder.prg * contrib/hbmxml/tests/testmxml.prg * use VF IO API % delete unnecessary FS API calls * doc/en/binnum.txt * doc/en/browse.txt + contrib/hbxpp/doc/en/binnumx.txt + contrib/hbxpp/doc/en/browse.txt ! move docs in core related to hbxpp under hbxpp contrib 2015-07-28 03:52 UTC+0200 Viktor Szakats * doc/en/array.txt * doc/en/binnum.txt * src/debug/debugger.prg * use VF IO API * contrib/hbmisc/doc/en/ht_class.txt * contrib/hbnf/doc/en/fttext.txt * contrib/hbnf/doc/en/tempfile.txt * doc/en/harbext.txt * tests/directry.prg * avoid references of specific API name if possible 2015-07-28 01:42 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg * contrib/hbtip/tests/base64.prg * contrib/hbtip/tests/ftp_ul.prg * contrib/hbwin/tests/shfileop.prg * contrib/hbwin/win_os.prg * use VF IO API * src/rdd/usrrdd/rdds/arrayrdd.prg % minor optimization 2015-07-28 00:52 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * config/postinst.hb * extras/gfspell/spell.prg ! do not blindly hb_vfClose() the handle returned by hb_vfTempFile(), it can RTE. (left a few similar instances intact in lang.hb, it's fine there to just RTE) * utils/hbmk2/hbmk2.prg * use VF IO API 2015-07-27 23:40 UTC+0200 Viktor Szakats * contrib/hbcurl/tests/email.prg * contrib/hbnf/tests/aemaxlen.prg * contrib/hbnf/tests/aeminlen.prg * contrib/hbnf/tests/amedian.prg * contrib/hbnf/tests/rtfclass.prg * tests/delim.prg * tests/sdf.prg * use VF IO API * src/rdd/usrrdd/rdds/arrayrdd.prg + replace hb_EraseArrayRdd() with native support for hb_dbDrop() + replace hb_FileArrayRdd() with native support for hb_dbExists() ; build-tested only * old function names deprecated with HB_LEGACY_LEVEL4 * tests/*.prg * comment cleanups 2015-07-28 01:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/padx.c ! fixed typo in hb_UPad[LRC]() functions - thanks to Grigory Filatov 2015-07-27 18:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/teditor.prg ! fixed hb_ULen() wrongly used instead of Len() for arrays % use byte oriented functions (hb_B*()) instead of character ones (hb_U*()) to update color strings 2015-07-27 18:20 UTC+0200 Viktor Szakats * src/rtl/teditor.prg ! fix another RTE after ddea7f90cb8f6c37b7e934a1b94cfb6ad40c2ffc % restore regular string functions when handling ::colorSpec 2015-07-27 18:14 UTC+0200 Viktor Szakats * src/rtl/teditor.prg ! fix RTE after ddea7f90cb8f6c37b7e934a1b94cfb6ad40c2ffc 2015-07-27 18:09 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_secur32.c * contrib/hbwin/wapi_winbase_1.c * contrib/hbwin/wapi_wingdi_font.c * contrib/hbwin/win_proxyc.c * contrib/hbwin/win_rpc.c * src/common/hbdate.c * src/common/hbver.c * src/rtl/diskspac.c * src/rtl/disksphb.c * src/rtl/fslink.c % optimize/standardize initialization of dynamically called Windows API functions 2015-07-27 17:28 UTC+0200 Viktor Szakats * src/rtl/filesys.c % remove some unnecessary code I added in b9d5fc18ad68a569ead48424cf0892e0aac9cbbf * minor cleanups * src/rtl/memoedit.prg ! fix casing 2015-07-27 17:11 UTC+0200 Viktor Szakats * config/postinst.hb * cleanups * tests/inifile.prg ! more Empty() fixes 2015-07-27 16:36 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/chruni.c * added new functions hb_BStuff() and hb_UStuff() * src/rtl/Makefile - src/rtl/padc.c - src/rtl/padl.c - src/rtl/padr.c + src/rtl/padx.c * added new functions hb_BPadL(), hb_BPadR(), hb_BPadC(), hb_UPadL(), hb_UPadR() and hb_UPadC() * include/harbour.hbx * updated * src/rtl/memoedit.prg * src/rtl/teditor.prg * use hb_U*() functions for string manipulation - now it works correctly with mulitbyte encodings even if HVM CP does enabled character indexing, i.e. "UTF8" * src/rtl/vfile.c * pacified BCC warning * src/rtl/filesys.c * src/rtl/fssize.c * use GetFileAttributesEx() if available in given windows version to get file size and time 2015-07-27 16:29 UTC+0200 Viktor Szakats * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c ! fix two warnings since a173d31af9e561b13a26d418033918c1492333b7 Fixes https://github.com/vszakats/hb/issues/151 2015-07-27 16:26 UTC+0200 Viktor Szakats * config/postinst.hb * contrib/gtwvw/tests/drawimg.prg * contrib/hbformat/hbfmtcls.prg * contrib/hbhttpd/log.prg * contrib/hbhttpd/tests/eshop.prg * contrib/hbmisc/fileread.prg * contrib/hbmisc/ntp.prg * contrib/hbmzip/tests/myunzip.prg * contrib/hbmzip/tests/myzip.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnf/tests/tempfile.prg * contrib/hbssl/tests/inetssl.prg * contrib/hbtip/cgi.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/mail.prg * contrib/hbtip/tests/tipwget.prg * contrib/xhb/txml.prg * contrib/xhb/xhbtedit.prg * extras/httpsrv/_session.prg * src/debug/debugger.prg * src/rtl/teditor.prg * tests/cgi.prg * utils/hbi18n/hbi18n.prg ! more Empty() fixes 2015-07-27 14:58 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/chruni.c + add hb_BEmpty( <cString> ) -> <lEmpty> Will return .T. if <cString> has a length of zero 2015-07-27 14:26 UTC+0200 Viktor Szakats * bin/commit.hb * config/postinst.hb * contrib/hbcomm/tests/test.prg * contrib/hbfimage/tests/test.prg * contrib/hbmisc/hbedit.prg * contrib/hbmysql/tests/dbf2mysq.prg * contrib/hbnetio/utils/hbnetio/netiomgm.hb * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbtest/core.prg * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/mail.prg * contrib/hbtip/tests/tipmail.prg * contrib/hbtip/tests/tipmmail.prg * contrib/hbtip/url.prg * contrib/hbwin/win_err.prg * contrib/hbwin/win_reg.prg * contrib/xhb/tests/xml1.prg * contrib/xhb/trpc.prg * contrib/xhb/trpccli.prg * package/mpkg.hb * src/rdd/dblist.prg * src/rdd/dbstrux.prg * src/rtl/adir.prg * src/rtl/alert.prg * src/rtl/dircmd.prg * src/rtl/hbfilehi.prg * src/rtl/hbini.prg * src/rtl/tlabel.prg * src/rtl/treport.prg * utils/hbmk2/hbmk2.prg ! fix several sloppy checks where Empty() were used on strings while in fact a zero length check would have been correct. It fixes critical bugs in TIPClient():inetRecvLine() and TIPClient():inetRecvAll() in SSL mode. It also fixes places where valid file, buffer content, username, filename or directory consisting only of whitespace was ignored, considered an error or resulted in using a default value. ; Empty() is a "weasel-word" when used on strings, should be used carefully and sparingly. * contrib/xhb/trpccli.prg ! fix TRPCClient():SetEncryption() to reset state properly when called with an invalid key 2015-07-27 00:55 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbx * contrib/hbwin/wapi_winbase_1.c * contrib/hbwin/wapi_winbase_2.c % move a function between files + add wapi_LoadLibraryEx() https://msdn.microsoft.com/library/ms684179 * contrib/hbwin/hbwin.ch + add wapi_LoadLibraryEx() flags 2015-07-27 00:10 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.hbp + contrib/hbwin/wapi_winuser_2.c + contrib/hbwin/win_misc_2.c + contrib/hbwin/wapi_winbase_2.c * contrib/hbwin/wapi_winbase.c -> contrib/hbwin/wapi_winbase_1.c * contrib/hbwin/wapi_winuser.c -> contrib/hbwin/wapi_winuser_1.c * contrib/hbwin/win_misc.c -> contrib/hbwin/win_misc_1.c % more granular sources 2015-07-26 22:27 UTC+0200 Viktor Szakats * contrib/hbwin/win_tprn.prg ! win_Prn():TextOut(): fix empty string check since 8f2e8f9cd0d2b5a78557aefd2346b982d7bf6238 Fixes https://github.com/vszakats/hb/issues/148 * contrib/hbwin/tests/prn1.prg + add tests for win_Prn():TextOutAt() 2015-07-26 10:05 UTC+0200 Viktor Szakats * src/common/hbver.c * add more Windows constants as workaround for broken headers shipped with some C compilers 2015-07-25 21:34 UTC+0200 Viktor Szakats * src/rtl/filesys.c ! fix var shadowing introduced in in b9d5fc18ad68a569ead48424cf0892e0aac9cbbf making hb_fsGetDateTime() fail always * package/mpkg_win.bat * cleanup 2015-07-25 19:47 UTC+0200 Viktor Szakats * package/mpkg_win.bat * experiments 2015-07-25 18:58 UTC+0200 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.18 * enable warnings * package/mpkg_win.bat ! fix typo in prev 2015-07-25 18:17 UTC+0200 Viktor Szakats * package/mpkg_win.bat * display date/time in iso format (in CI environments) 2015-07-25 13:55 UTC+0200 Viktor Szakats * src/vm/dynlibhb.c + use LoadLibraryEx() with LOAD_WITH_ALTERED_SEARCH_PATH instead of plain LoadLibrary() in HB_LIBLOAD(). It is incompatible, but should be generally safer and more logical. Closes https://github.com/vszakats/hb/issues/147 Description of the change from MS docs: https://msdn.microsoft.com/library/ms682586 > Note that the standard search strategy and the alternate search strategy > specified by LoadLibraryEx with LOAD_WITH_ALTERED_SEARCH_PATH differ in > just one way: The standard search begins in the calling application's > directory, and the alternate search begins in the directory of the executable > module that LoadLibraryEx is loading. * utils/hbmk2/hbmk2.prg * minor cleanup to prev 2015-07-25 13:46 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! revert wrong fix in recent https://github.com/vszakats/hb/commit/cd1fe1e9e4ca319c4d5165a1170353627a6e412c#diff-d8a74b6399f924fb68cd8f5894ebbbb3 ! fix to not rebase the C compile process for optimization purposes when the compiler tools are available via a relative path (that is the case with autodetected embedded C compilers in /comp/ dir) Fixes https://github.com/vszakats/hb/issues/146 ! fix autodetected embedded mingw64 compiler's CCPREFIX. Tested with currently recommended mingw distro) 2015-07-25 13:06 UTC+0200 Viktor Szakats * src/rtl/filesys.c ! fix hb_fsGetFileTime(), hb_fsGetAttr() to reset the reference parameters to zero in case of error and on unsupported platforms. [UNDONE - logic was already there] + hb_fsGetFileTime() rewritten on Windows to retrieve timestamp using GetFileAttributesEx() function instead of opening it and calling GetFileTime() and using file find functions if opening fails. New method should be more efficient. ; WARNING: GetFileAttributesEx() is not supported on Win95 and possibly on all Win9x. So I kept the old code there, but its disabled. If you need Win9x support, please fork this project. * src/rtl/fssize.c + readd old Win9x compatible code but have it disabled. * src/rtl/arc4.c * add NOTE about a winapi call that is not supported on Win95 2015-07-25 12:30 UTC+0200 Viktor Szakats * src/rtl/fssize.c + HB_FSIZE(): on Windows in lUseDirEntry mode, use GetFileAttributesEx() to retrieve file size, to work similarly like in other platforms that call stat(). This should also be faster and should work with files in a folder without right for list-folder-content. 2015-07-25 11:36 UTC+0200 Viktor Szakats * package/getmingw.bat * exit if not run from a Harbour binary installation See https://github.com/vszakats/hb/issues/146 * src/rtl/Makefile - src/rtl/hbfsize.prg * src/rtl/fssize.c * src/rtl/vfile.c * restore hb_FSize() to work like before, meaning it will work only on the physical FS and will use stat() on non-win systems in lUseDirEntry mode. ; FIXME: use stat() (or similar) on Windows too in lUseDirEntry mode [DONE] ; FIXME: HB_VFSIZE() to work like HB_FSIZE() when passed a bare filename [DONE] ! HB_VFILE(): fix unnecessary value assignment to uiError variable See https://groups.google.com/d/msg/harbour-devel/lqucgadKNVY/m07sDGD4D1kJ * utils/hbmk2/hbmk2.prg ! fix -run option when the target executable was non-GUI and had a space in its filename ! fix calling the C/C++ compiler when the compiler is detected inside the Harbour tree and thus addressed using a relative path. This can happen e.g. when using an embedded compiler in /comp/mingw/ to build Harbour itself. See https://github.com/vszakats/hb/issues/146 (it's not a complete fix yet) 2015-07-24 13:13 UTC+0200 Viktor Szakats * contrib/hbnf/fttext.c * FT_FUSE(): use HB_FATTR and sanitize open attribute parameter 2015-07-24 12:08 UTC+0200 Viktor Szakats * src/rtl/fssize.c * C level hb_fsFSize(): readded full functionality after e954db0d0f3ec6f54a354c15bc89b8833bd82153 It now uses code committed in a173d31af9e561b13a26d418033918c1492333b7 to hb_vfSize( <cFileName> ) ! fix typo in a173d31af9e561b13a26d418033918c1492333b7 causing hb_vfSize( <cFileName>[, .T.] ) to always return 0. * src/rtl/vfile.c * hb_vfSize(): <cFileName> code branch swapped for a call into hb_fsFSize() * src/rtl/hbfsize.prg * hb_FSize(): simplified to a wrapper for hb_vfSize() * config/postinst.hb * contrib/hbcurl/tests/ftp_uldl.prg * utils/hbmk2/hbmk2.prg % use hb_vfSize() instead of hb_FSize() * contrib/xhb/hbcompat.ch + add hb_vfSize() translation 2015-07-24 18:55 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/vfile.c ! fixed typo in my last commit (Thanks to Viktor for verification) 2015-07-24 10:28 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbapifs.h * src/rtl/filebuf.c * src/rtl/filebufd.c * src/rtl/filesys.c * src/rtl/vfile.c * src/rtl/iousr.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hsx/hsx.c * contrib/hbcomio/comio.c * contrib/hbmemio/memio.c * contrib/hbtcpio/tcpio.c * contrib/hbnetio/netio.h * contrib/hbnetio/netiocli.c * contrib/hbnetio/netiosrv.c * changed HB_USHORT uiAttr parameter to HB_FATTR nAttr in hb_fsExtOpen() and hb_fileExtOpen() * include/fileio.ch * src/rtl/vfile.c + added support for FO_DEFAULTS in hb_vfOpen(). When this flag is used in <nModeAttr> parameters then new _SET_DEFAULT is respected when new file is created and _SET_DEFAULT + _SET_PATH when file is opened. + added support for checking file size by it's in hb_vfSize() so it can work like hb_FSize() but for virtual FS not only for local files. Now this function has the following syntax: hb_vfSize( <pHandle> | <cFileName> [, <lUseDirEntry> ] ) -> <nSize> The 2nd parameter <lUseDirEntry> is significant only when the 1st one <cFileName> is character value. * src/rtl/gttrm/gttrm.c * replaced C++ comments with ANSI ones * src/rtl/vfile.c * updated casing of function names in comments * return F_ERROR instead of NIL hb_vfHandle() when wrong parameter is given (borrowed from Viktor's branch) * added C function hb_fileParamGet() borrowed from Viktor's branch * src/rtl/filesys.c * variable localization (synced with Viktor's branch) * src/rtl/disksphb.c ! fixed bug with potentially uninitialized buffer (fix borrowed from Viktor's branch) 2015-07-23 16:12 UTC+0200 Viktor Szakats * package/mpkg_win.bat % cleanup to prev 2015-07-23 15:33 UTC+0200 Viktor Szakats * package/mpkg_win.bat + set timestamp and display size and hash also when building a non-sfx package 2015-07-23 15:21 UTC+0200 Viktor Szakats * appveyor.yml * tweak virustotal upload command-line 2015-07-23 14:39 UTC+0200 Viktor Szakats * appveyor.yml + try submitting resulting package to virustotal.com for analyzis 2015-07-23 14:25 UTC+0200 Viktor Szakats * README.md * remove 'do not use space' in filenames warnings. If a space is breaking anything it's a bug to be fixed. 2015-07-23 13:08 UTC+0200 Viktor Szakats * contrib/hbwin/tests/os.prg * formatting * include/error.ch * terminology * README.md * better emphasis a word 2015-07-23 11:32 UTC+0200 Viktor Szakats * contrib/hbcrypto/bcrypt.c * silence msvc warning Closes https://github.com/vszakats/hb/issues/145 2015-07-22 18:27 UTC+0200 Viktor Szakats * contrib/hbwin/win_osc.c + WIN_OSVERSIONINFO(): fill system type properly on non-NT systems + WIN_OSVERSIONINFO(): fill Service Pack string. The format is now the same as in OS(): "SP*" * consequently delete any HB_LEGACY_LEVEL4 code and dependence on GetVersionEx() completely. Build-number is lost and most of the content is emulated, otherwise it works like before. 2015-07-22 16:35 UTC+0200 Viktor Szakats * src/common/hbver.c % disable GetVersionEx() call that is used for Win9x and NT 3/4 detection on platforms that don't support these OSes anyway. This is 64-bit win builds and MSVS 2005 and newer ATM. This also fixes the deprecation warning with newer MSVC versions. 2015-07-22 16:27 UTC+0200 Viktor Szakats * src/common/hbver.c * minor cleanups ! minor fix in NT version detection on MS-DOS 2015-07-22 16:20 UTC+0200 Viktor Szakats * include/hbapi.h * src/common/hbver.c + extend hb_iswin95() to return an int instead of HB_BOOL to also tell whether the OS is 95 (==5), 98 (==8) or ME (==9) + extend hb_iswinnt() to return an int instead of HB_BOOL to also tell whether the OS is 3.51 (==3), 4.0 (==4) or newer (==5) * OS() reworked to not call GetVersionEx() on Win9x platforms, use hb_iswin95() to detect version and return preset values. Since GetVersionEx() is not called, osvi.szCSDVersion string won't be extracted anymore on these platforms. Some Win9x versions returned an "a" string depending on patch level there. Not anymore. [INCOMPATIBLE] ; GetVersionEx() is still called on WinCE, and on all Windows platforms from a single place to detect Win9x and NT 3/4. * contrib/hbwin/win_osc.c * restore WIN_OSISNT351(), WIN_OSISNT4() to work like before recently * restore WIN_OSIS95(), WIN_OSIS98(), WIN_OSISME() to work like before recently 2015-07-22 15:08 UTC+0200 Viktor Szakats * src/common/hbver.c + show different text for future Windows version than "NT" + add hb_iswinsp() low-level function to query Service Pack level % OS(): optimize to use less hb_iswinver() calls + detect Windows Service Pack level using recommended MS functions instead of deprecated GetVersion*() call. This also means that the string will not depend on national and language settings anymore, it will be shown as " SP*" where * is the SP number. May be [INCOMPATIBLE] for user code relying on string parsing here. ! remove Windows build-number from OS() string. May be [INCOMPATIBLE] for user code relying on string parsing here. Using and obtaining this number is actively discouraged by MS, and there is now no more official method to retrieve it. It would be possible to fake to some extent but there is not much point. Rules for faking here: https://gist.github.com/mxpv/2935584 https://www.gaijin.at/en/lstwinver.php One possible trick to extract build number on some version of Windows here: win_regRead( "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\CurrentBuild" ) 2015-07-22 12:23 UTC+0200 Viktor Szakats * src/common/hbver.c ! fix to previous modification (Win10 and new server detection) + refactor to not rely on GetVersion*() calls except for detecting legacy Windows versions and build number and service pack string on non-legacy Windows versions. % do not try to detect Wine on WinCE * contrib/hbwin/tests/os.prg * contrib/hbwin/win_osc.c * minor cleanups 2015-07-22 11:14 UTC+0200 Viktor Szakats * appveyor.yml * temply enable OS version to test it * src/common/hbver.c * rework to use fewer deprecated GetVersion*() calls (2 to go) + recognize Win10, Server 2016, 8.1, Server 2012 R2 versions * contrib/hbwin/win_osc.c ! update Win10 detection based final official docs https://msdn.microsoft.com/library/ms724832 2015-07-22 10:30 UTC+0200 Viktor Szakats * src/common/hbver.c ! follow MSDN advice in: https://msdn.microsoft.com/library/ms725492 "If you are testing the major version, you must also test the minor version and the service pack major and minor versions." * replace ZeroMemory() with memset() * contrib/hbwin/win_osc.c * convert these functions to return emulated values with HB_LEGACY_LEVEL4: - return .T. on all NT platforms: WIN_OSISNT351(), WIN_OSISNT4() [LATER RESOLVED] - return .T. on all Win9x platforms: WIN_OSIS95(), WIN_OSIS98(), WIN_OSISME() [LATER RESOLVED] - build number will be zero, service pack an empty string [LATER RESOLVED] and versions will be emulated: WIN_OSVERSIONINFO() This is because MS deprecated GetVersion*() functions, so they would return false/emulated values on or above Win8 anyway. 2015-07-22 00:29 UTC+0200 Viktor Szakats * package/mpkg_win.bat % use more elegant and deterministic log output for package size/date * utils/hbtest/hbtest.prg + add option -noenv * do not accept '/' as option prefix * appveyor.yml * call hbtest with -noenv option to make log output deterministic 2015-07-21 20:34 UTC+0200 Viktor Szakats * .travis.yml + re-enable libcups2-dev after https://github.com/travis-ci/apt-package-whitelist/commit/74362a2022da7f0abedb1566f0827e5fe32ca721 2015-07-21 18:06 UTC+0200 Viktor Szakats * bin/commit.hb + support .editorconfig * contrib/hbcrypto/3rd/scrypt/c_scrypt.h ! fix bad typo in e3ba78f40f23a79ee58fb76190fc21c47a9d4317 2015-07-21 16:21 UTC+0200 Viktor Szakats * package/mpkg_win.bat + show size of the distro package * appveyor.ci (in e35340941b1cd3d10b07a2add54ece90e044a3ed) + enable mingw64 libraries, so now the unified distro is a 32-bit hosted dual target one, meaning it runs on 32/64-bit machines and is able to build 32/64-bit apps Thanks to @appveyor for the fast builds. 2015-07-21 03:41 UTC+0200 Viktor Szakats * contrib/hbtip/ftpcli.prg ! fix TIPClientFTP():LS() to work Thanks to Klas: https://groups.google.com/d/msg/comp.lang.xharbour/sZjLCKOBBD8/PxKWc1H3pMkJ Broken since: 170ba2b6c541c4e697ee390540c1e1b5b31dce5d * TIPClientFTP():LS() changed to return empty string instead of NIL. (beware that this method can also return .F.) 2015-07-21 03:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * change -vcsts option to use current date/time instead of the last commit timestamp if the Git repository has local changes (to be tested) ! configure extra git invokations like the main one in VCSID() function 2015-07-21 00:38 UTC+0200 Viktor Szakats * bin/commit.hb * use 'git status' format option recommended for machine processing 2015-07-20 19:06 UTC+0200 Viktor Szakats * contrib/gtqtc/hbmk2_qtmoc.hb ! fix typo in optimization in b0f680a42b078eba620afc8c3c676e37dfceecce Fixes https://github.com/vszakats/hb/issues/144 * contrib/hbcurl/tests/ftp_uldl.prg * use VF IO 2015-07-20 17:02 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c + added support for aixterm colors escape sequences. It can be enabled by //GTTRM:EXCLR=4 or --hb:gttrm:exclr=4 2015-07-20 15:03 UTC+0200 Viktor Szakats * src/rtl/Makefile + src/rtl/hbfsize.prg * rewrite HB_FSIZE() in .prg code so that it is now compatible with VF IO API in both modes. The rewrite may result in slightly worse performance on non-win platforms in default bUseDirEntry mode and incompatible behavior in edge cases, e.g. when passing a wildcard. Anyhow this call should not be speed-critical or even very often used, so it'll likely be okay. bUseDirEntry mode will now internally call hb_vfDirectory(). * include/hbapifs.h * src/rtl/fssize.c * hb_fsFSize(): deleted bUseDirEntry == HB_TRUE mode. It means that this function will now always open the file and use a seek to determine its length. This may result in slight incompatibilities and different performance dynamics. Left a TODO about reimplementing the bUseDirEntry mode using hb_file*() API calls. 2015-07-20 10:22 UTC+0200 Viktor Szakats * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * extras/gfspell/spell.prg * extras/hbvpdf/core.prg * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/memvarhb.prg * src/rtl/typefile.prg * utils/hbmk2/hbmk2.prg % use hb_vfSize() * utils/hbmk2/hbmk2.prg ! fix a seek call * package/mpkg.hb * sync with hbmk2 2015-07-20 02:23 UTC+0200 Viktor Szakats * contrib/hbxdiff/tests/test2.prg ! fix to VF IO code 2015-07-20 00:56 UTC+0200 Viktor Szakats * contrib/hbct/ctmisc.prg * contrib/hbnf/diskfunc.prg * use VF IO API 2015-07-20 00:49 UTC+0200 Viktor Szakats * config/postinst.hb * contrib/hbfimage/tests/test.prg * contrib/hbgd/tests/*.prg * tests/diskspac.prg * tests/wcecon.prg * use VF IO API * utils/hbmk2/hbmk2.prg + always link some FS API functions for plugin compatibility * contrib/xhb/dbf2txt.c * cleanup 2015-07-20 00:19 UTC+0200 Viktor Szakats * contrib/xhb/stream.prg * contrib/xhb/txml.prg * use VF IO API + implement support for <nOffset> parameter in: TStreamFileReader():Read() TStreamFileWriter():Write() Lightly tested but implemented safely unlike the xhb version which relies on buggy FREAD()/FWRITE() hidden extensions that make it very easy to read/write arbitrary out-of-bounds memory via unchecked buffer indexes. 2015-07-19 23:25 UTC+0200 Viktor Szakats * contrib/xhb/tfile.prg * use VF IO API ; INCOMPATIBLE: VF IO API will RTE if trying to do file operations on an invalid handle instead of silently failing like the FS API, so faulty code that relies on such silent failures will have to be corrected. (silent failures could also be emulated inside the class code, but I didn't implement it) * src/rtl/vfile.c * HB_VFHANDLE(): update to return F_ERROR instead of NIL when being called with an invalid file handle. This seems to be the correct behavior based on the function skeleton in source. Another option is to mimic other HB_VF*() functions in this case and throw an RTE. 2015-07-19 23:00 UTC+0200 Viktor Szakats * bin/commit.hb * contrib/gtqtc/hbmk2_qtmoc.hb * contrib/hbgs/hbmk2.hb * contrib/hbunix/linux.prg * tests/checkssl.hb * use more VF IO API * minor cleanups and optimizations 2015-07-19 20:35 UTC+0200 Viktor Szakats * bin/commit.hb * config/postinst.hb * contrib/hbformat/hbfmtcls.prg * contrib/hbformat/hbfuncs.prg * contrib/hbformat/utils/hbformat.prg * contrib/hbhttpd/tests/eshop.prg * contrib/hbmxml/tests/testmxml.prg * contrib/hbtip/tests/dbtohtml.prg * contrib/hbtip/tests/mimetype.prg * contrib/hbunix/tests/daemon.prg * contrib/hbwin/tests/prn1.prg * contrib/hbwin/tests/prn2.prg * contrib/hbxdiff/tests/test2.prg * contrib/xhb/txml.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/_session.prg * package/mpkg.hb * tests/cgi.prg * tests/checkssl.hb * tests/cpinfo.prg * tests/dbf.prg * tests/directry.prg * tests/flink.prg * tests/hbdoc.prg * tests/hbdocext.hb * tests/hbpp/compare.hb * tests/hrb.prg * tests/longdev.prg * tests/memfile.prg * tests/rdd2.prg * tests/sbar.prg * tests/stripdoc.hb * tests/stripid.hb * tests/usrrdd/exlog.prg * utils/hbi18n/hbi18n.prg * use more VF IO API * tests/clipper.ch + add more translations * bin/commit.hb % optimize by using raw string functions * contrib/hbmxml/tests/testmxml.prg * cleanups * utils/hbmk2/hbmk2.prg * link some VF IO API alternatives for plugins 2015-07-19 19:10 UTC+0200 Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/ed25519/ed25519.hbp * update to latest HEAD 2015-07-19 15:15 UTC+0200 Viktor Szakats - contrib/hbcrypto/3rd/scrypt/sha256.h * contrib/hbcrypto/3rd/scrypt/c_scrypt.c * contrib/hbcrypto/3rd/scrypt/c_scrypt.h * contrib/hbcrypto/3rd/scrypt/scrypt.dif * contrib/hbcrypto/3rd/scrypt/scrypt.hbp * contrib/hbcrypto/3rd/scrypt/sha256.c * contrib/hbcrypto/hbcrypto.hbp * contrib/hbcrypto/pbkdf2.c * use more Harbour types for better portability * enable the contrib for all platforms * contrib/hbcrypto/3rd/ed25519/ed25519.dif * contrib/hbcrypto/3rd/ed25519/precompd.h * contrib/hbcrypto/3rd/ed25519/sc.h * add ending newlines to silence watcom warning 2015-07-19 14:20 UTC+0200 Viktor Szakats * contrib/hbcrypto/hbcrypto.hbp * contrib/hbcrypto/hbcrypto.hbx + contrib/hbcrypto/aes256.c + contrib/hbcrypto/tests/aes256.prg + add AES256 encryption functions: hb_aes256_encrypt_ecb( <cBuffer>, <cKey-32-bytes> ) -> <cEncrypted-padded> hb_aes256_decrypt_ecb( <cBuffer>, <cKey-32-bytes> ) -> <cDecrypted> | NIL AES256 code from here: https://web.archive.org/web/20150614091702/www.literatecode.com/aes256 Padding code adapted from /src/rtl/hbbffnc.c 2015-07-19 11:56 UTC+0200 Viktor Szakats * contrib/hbgd/gdwrp.c ! fix multiple bugs in VF IO * contrib/hbgd/tests/animgif.prg * contrib/hbhttpd/core.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbwin/tests/service.prg * contrib/make.hb * extras/httpsrv/modules/showcounter.prg * package/mpkg.hb * tests/flock.prg * tests/inherit.prg * tests/inifile.prg * tests/stripem.prg * utils/hbmk2/examples/plug_bis.hb + use VF IO 2015-07-18 18:09 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.prg ! typo in prev * tests/readhrb.prg % cleanup * utils/hbmk2/hbmk2.prg * use some VF IO 2015-07-18 17:57 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * bin/commit.hb * config/lang.hb * config/postinst.hb * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/hbnf/doc/en/tempfile.txt * extras/hbdoc/_genbase.prg * extras/hbdoc/_genhtml.prg * extras/hbdoc/_gentxt.prg * extras/hbdoc/_genxml.prg * extras/hbdoc/hbdoc.prg * extras/httpsrv/_cgifunc.prg * extras/httpsrv/_session.prg * extras/httpsrv/uhttpd.prg * package/mpkg.hb * tests/readhrb.prg * use VF IO ! fix double close in hbdoc ! fix file handle leak in hbdoc 2015-07-18 14:42 UTC+0200 Viktor Szakats * package/mpkg.hb * utils/hbmk2/hbmk2.prg * whitespace 2015-07-18 13:30 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_alloc.c * do not handle unsafe (numeric) Windows handles/pointers anymore These were set to cause an RTE since last September, so it seems safe to disable completely now. It still can be enabled by a build-time macro. 2015-07-17 21:31 UTC+0200 Viktor Szakats * contrib/hbcrypto/hbcrypto.hbp * contrib/hbcrypto/hbcrypto.hbx + contrib/hbcrypto/scryptcf.prg + add helper function: hb_scrypt_setup( <nOpsLimit>, <nMemLimit>, @<N>, @<r>, @<p> ) -> NIL 2015-07-17 16:28 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.ch + add upcoming curl 7.44.0 value 2015-07-17 01:29 UTC+0200 Viktor Szakats * contrib/hbcrypto/ed25519.c * variable name cleanup 2015-07-17 01:22 UTC+0200 Viktor Szakats * contrib/hbcrypto/3rd/ed25519/ed25519.h * contrib/hbcrypto/3rd/ed25519/sign.c + add function ed25519_get_pubkey() Related Issue: https://github.com/orlp/ed25519/issues/1 Related PR: https://github.com/orlp/ed25519/pull/5 * contrib/hbcrypto/ed25519.c * contrib/hbcrypto/hbcrypto.hbx * contrib/hbcrypto/tests/ed25519.prg + add wrapper HB_ED25519_GET_PUBKEY() to derive public key from secret key * modify HB_ED25519_SIGN() and HB_ED25519_KEY_EXCHANGE() to return value directly (was: by reference) * contrib/hbcrypto/bcrypt.c * cleanups 2015-07-16 20:12 UTC+0200 Viktor Szakats + contrib/hbcrypto/bcrypt.c * contrib/hbcrypto/hbcrypto.hbp * contrib/hbcrypto/hbcrypto.hbx + contrib/hbcrypto/tests/bcrypt.prg + add new secure hash function: hb_bcrypt( <cPassword>, <cSalt>, <nRounds>, <nKeyLen> ) -> <cKey> Useful for interoparibility, other than that hb_scrypt() is superior. See inside for code authors and licenses. TODO: deduplicate Blowfish code against core * contrib/hbcrypto/scrypt.c * minor * debian/control + update dependency list (add libicu, new firebird) 2015-07-16 19:34 UTC+0200 Viktor Szakats * src/rtl/gttrm/gttrm.c ! fix C++ comments 2015-07-16 17:10 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gttrm/gttrm.c * gives the highest priority to terminal type specified by <params> in //gttrm:<params> switch (or --hb:gttrm:<params>) + added support for extended XTERM colors. It can be enabled by EXCLR GTTRM parameter. So far GTTRM used only standard 8 ANSI colors combined with BOLD and BLINK attributes to highlight text and/or background. Such functionality is supported by nearly all color terminals so is well portable but in some cases BOLD and BLINK attributes where interpreted differently. Now for XTERM compatible terminals GTTRM can use also other methods of color settings. They can be enabled by //gttrm:exclr<n> (or --hb:gttrm:exclr<n>) application command line switch, i.e.: //GTTRM:EXCLR=0 - use 8 ANSI colors with BLINK and BOLD attributes (current default behavior) //GTTRM:EXCLR=1 - use XTERM 16 extended colors //GTTRM:EXCLR=2 - use XTERM 256 extended colors //GTTRM:EXCLR=3 - use XTERM RGB colors (//GTTRM:EXCLR without number is the same as //GTTRM:EXCLR=1) If terminal supports XTERM extended color escape sequences then it's possible to enable 16 colors even if BLINK and BOLD does not do that and if terminal support XTERM RGB color escape sequences then also colors set by HB_GTI_PALETTE will be shown (so far HB_GTI_PALETTE in GTTRM was working only for Linux and PuTTY which support: ESC ] P <n> <rr> <gg> <bb> escape sequence). Warning: I added above modes to test different terminals. It's possible that I'll change it after tests. 2015-07-16 05:18 UTC+0200 Viktor Szakats * src/rtl/disksphb.c ! HB_DISKSPACE() fix accessing an uninitialized buffer when called without parameter on win/dos/os2 systems. In practice it meant the function returned zero. * contrib/hbcrypto/blake2b.c * contrib/hbcrypto/blake2s.c % minor optimization 2015-07-16 02:06 UTC+0200 Viktor Szakats * contrib/hbcrypto/blake2b.c * contrib/hbcrypto/blake2s.c ! fix HB_BLAKE2*() to return correct length when passing a 3rd length parameter and passing .T. as 4th 2015-07-15 21:20 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/config.h * contrib/hbmxml/3rd/minixml/minixml.dif * contrib/hbmxml/3rd/minixml/mxml_fil.c ! fix clang 'warning: keyword is hidden by macro definition [-Wkeyword-macro]' * src/rtl/iousr.c * revert prev, it didn't make any good 2015-07-15 20:26 UTC+0200 Viktor Szakats * contrib/hbcrypto/scrypt.c * contrib/hbhpdf/core.c * contrib/hbhpdf/image.c ! do not strip 'const' * contrib/hbsqlit3/core.c % use hb_parc() instead of hb_parcx() where possible ! fix SQLITE3_BUFF_TO_FILE() to return -1 instead of 1 in hard error cases ! fix SQLITE3_BUFF_TO_FILE() to use hb_retns() * src/rtl/iousr.c * use 'const' for IO object ptr 2015-07-15 19:22 UTC+0200 Viktor Szakats * config/common/clang.mk * utils/hbmk2/hbmk2.prg * disable clang warning '-Wno-reserved-id-macro' * src/vm/strapi.c * do not strip 'const' in comparisons to avoid clang warning '-Wcast-qual' 2015-07-15 18:56 UTC+0200 Viktor Szakats * .travis.yml + try upping clang version ! fix yml structure 2015-07-15 18:49 UTC+0200 Viktor Szakats * .travis.yml + add 'ubuntu-toolchain-r-test' source for gcc5 * .travis.yml * package/harbour.rb + add libicu 2015-07-15 18:32 UTC+0200 Viktor Szakats * .travis.yml * try using new Travis-CI infrastructure https://docs.travis-ci.com/user/migrating-from-legacy/ * contrib/hbfbird/hbfbird.hbp * contrib/sddfb/sddfb.hbp * update debian package references 2015-07-15 17:30 UTC+0200 Viktor Szakats * package/mpkg_win.bat * avoid two strip warnings 2015-07-15 13:12 UTC+0200 Viktor Szakats - contrib/hbcrypto/3rd/scrypt/config.h - contrib/hbcrypto/3rd/scrypt/scrypt_p.h - contrib/hbcrypto/3rd/scrypt/u_sysend.h * contrib/hbcrypto/3rd/scrypt/c_scrypt.c * contrib/hbcrypto/3rd/scrypt/scrypt.dif * contrib/hbcrypto/3rd/scrypt/scrypt.hbp * contrib/hbcrypto/3rd/scrypt/sha256.c * contrib/hbcrypto/hbcrypto.hbp * rely more on Harbour macros and drop redundant code * contrib/hbcrypto/pbkdf2.c ! do not strip 'const' + contrib/hbcrypto/tests/pbkdf2.prg * contrib/hbcrypto/tests/scrypt.prg * split into two * contrib/hbmemio/memio.c * use #if 0 * contrib/hbtip/log.prg ! fix RTE in TIPLog():Clear() method after 7381787a023b50a27731db8a398eea70426cd098 * src/rtl/fssize.c + HB_FSIZE(): use VF IO API when called with .F. as its 2nd parameter * utils/hbmk2/hbmk2.prg * suppress Git password prompt (requires Git 2.3.0 or upper) 2015-07-14 17:51 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/gtxwc/gtxwc.c ! fixed SetMode() when HB_GTI_RESIZABLE is set to .F. 2015-07-14 00:23 UTC+0200 Viktor Szakats * contrib/hbcrypto/3rd/scrypt/scrypt.dif * contrib/hbcrypto/3rd/scrypt/sha256.c * contrib/hbcrypto/3rd/scrypt/sha256.h % use core SHA256/HMAC implementations instead of local duplicates * src/rtl/hbsha2.c * src/rtl/hbsha2hm.c * minor cleanups 2015-07-13 23:54 UTC+0200 Viktor Szakats * contrib/hbcrypto/ed25519.c * contrib/hbcrypto/hbcrypto.hbp * contrib/hbcrypto/hbcrypto.hbx * contrib/hbcrypto/tests/ed25519.prg * finalizing ed25519 functions 2015-07-13 23:47 UTC+0200 Viktor Szakats * contrib/hbblake2 * contrib/hbcrypto * merge hbblake2 into hbcrypto + contrib/hbcrypto/3rd/ed25519 + contrib/hbcrypto/ed25519.c + contrib/hbcrypto/tests/ed25519.prg + add ed25519 public-key signature functionality https://ed25519.cr.yp.to uses low-level code from: https://github.com/orlp/ed25519 2015-07-13 23:37 UTC+0200 Viktor Szakats * contrib/hbscrypt -> contrib/hbcrypto * rename 2015-07-13 23:12 UTC+0200 Viktor Szakats * contrib/hbmxml/3rd/minixml/mxml.hbp ! delete wrong and unnecessary C flag * include/hbcrypto.h * src/rtl/hbsha1.c * src/rtl/hbsha1hm.c * src/rtl/hbsha2.c * src/rtl/hbsha2hm.c * src/rtl/sha1.c * src/rtl/sha1.h * src/rtl/sha1hmac.c * src/rtl/sha1hmac.h * src/rtl/sha2.c * src/rtl/sha2hmac.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 ! fix an unused variable in conditional code ! fix a wrong header reference after prev updates * contrib/gtwvw/gtwvwd.c * comment cleanup 2015-07-13 19:39 UTC+0200 Viktor Szakats + include/hbcrypto.h * include/Makefile - src/rtl/sha2.h - src/rtl/sha2hmac.h * src/rtl/sha2.c * src/rtl/sha2hmac.c + 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 % use HB_ULL() macro instead of local replica in sha2.c % drop unused #include <strings.h> from sha2.c and sha2hmac.c 2015-07-13 19:08 UTC+0200 Viktor Szakats * contrib/hbscrypt/3rd/scrypt/scrypt.dif * contrib/hbscrypt/3rd/scrypt/sha256.c % use 'const' 2015-07-13 18:57 UTC+0200 Viktor Szakats * contrib/hbblake2/tests/hbmk.hbm + add missing hbtest * contrib/hbbz2/core.c * cleanups * contrib/hbtest/core.prg ! date/time display format * src/rtl/hbsha2.c * src/rtl/hbsha2hm.c * src/rtl/sha2.c * src/rtl/sha2.h * src/rtl/sha2hmac.c * src/rtl/sha2hmac.h * more namespacing and Harbourization 2015-07-13 01:16 UTC+0200 Viktor Szakats * appveyor.yml * config/global.mk * contrib/hbblat/hbblat.hbp * doc/howtovcs.txt * utils/hbmk2/hbmk2.prg * minor cleanups * src/rtl/hbsha1.c * src/rtl/hbsha2.c * src/rtl/sha1* * src/rtl/sha2* * rename public SHA-1/SHA-2 context structures to be inside the Harbour namespace 2015-07-11 17:29 UTC+0200 Viktor Szakats * package/getmingw.bat * package/mpkg_win.bat * casing 2015-07-11 14:25 UTC+0200 Viktor Szakats * config/postinst.hb * contrib/make.hb * hide error when git command fails (when run outside a Git repo) + try using include/_repover.txt when run outside a Git repo to obtain build timestamp 2015-07-11 03:53 UTC+0200 Viktor Szakats * package/mpkg_win.bat ! correction to prev * refine listing of included platforms in BUILD.txt 2015-07-11 02:42 UTC+0200 Viktor Szakats * package/mpkg_win.bat * package/mpkg_ts.hb -> package/mpkg.hb ! more deterministic and less redundant BUILD.txt * use Harbour script for EOL conversion to avoid weird error msg in very old unix2dos version shipping with the Git package. * rename script * config/postinst.hb * func name cleanup 2015-07-10 12:01 UTC+0200 Viktor Szakats * appveyor.yml ! update checksums 2015-07-10 11:42 UTC+0200 Viktor Szakats + contrib/hbnetio/doc/es/readme.txt + add Spanish translation by Guillermo Varona Silupú * src/rtl/hbregex.c * comment cleanup 2015-07-10 03:47 UTC+0200 Viktor Szakats * appveyor.yml * openssl 1.0.2d * tests/wvtext.prg ! indenting 2015-07-09 12:27 UTC+0200 Viktor Szakats * CONTRIBUTING.md * README.md * escape more '*' chars to please some Markdown parsers 2015-07-09 12:22 UTC+0200 Viktor Szakats * CONTRIBUTING.md + add named anchors to Troubleshooting numbered list for easy referencing * fix minor nits * package/mpkg_ts.hb * utils/hbmk2/hbmk2.prg % minor optimization * bin/commit.hb * accept '60' as a second in the time pattern 2015-07-08 23:41 UTC+0200 Viktor Szakats * config/lang.hb * package/mpkg_win.bat * utils/hbmk2/po/*.po * minor cleanups 2015-07-08 18:37 UTC+0200 Viktor Szakats * package/mpkg_ts.hb * utils/hbmk2/hbmk2.prg * use a fixed date for timestamping Windows executable making this deterministic across commits. See also: https://github.com/google/syzygy/blob/master/syzygy/zap_timestamp/zap_timestamp.cc#L496-L501 * contrib/gtwvg/class.prg * contrib/gtwvg/menubar.prg * delete __FILE__ from source code 2015-07-08 16:35 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix RTE in prev when showing the warning for an .hbc option 2015-07-08 16:25 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + extend -vcsts option to modify timestamps in win/win64/wce executables. It will clear the timestamp if used outside a supported repository type (Git ATM). This feature will work for every C compiler. + deprecate and show warning and hint for replacement for Harbour compiler options that are specified in legacy Cl*pper format with a '/' prefix. Such format collides with non-windos filenames, and won't work in non-windos Harbour builds anyway, rendering them non-portable. + add hack to accept options that begin with '/' and the complete option points to an existing file on disk. It means that absolute paths like '/home/user/app/main.prg' will now work. Using absolute paths is not recommended practice though. 2015-07-07 18:35 UTC+0200 Viktor Szakats * appveyor.yml + re-enable contribs * package/mpkg_ts.hb * package/mpkg_win.bat * minor cleanups ; Harbour 3.4 Windows builds are now reproducible/deterministic, meaning that builds made from the same Git commit hash will generate bit-identical (.7z.exe) distribution packages. Given of course equal settings and dependencies. With automated Appveyor CI builds dependencies are also controlled by the repository itself, so those builds are guaranteed to be deterministic always. It has been tested with mingw 32-bit and mingw 64-bit (and dual builds) should be supported as well. Other C compilers may or may not work depending on what/if non-deterministic metadata is stored inside their libraries. 2015-07-07 17:26 UTC+0200 Viktor Szakats * package/mpkg_win.bat ! timestamp regression in one of the preceding updates 2015-07-07 15:50 UTC+0200 Viktor Szakats * package/mpkg_ts.hb + extend to rewrite .edata timestamp as well + fix to recalculate PE checksum * config/postinst.hb * comment 2015-07-07 11:27 UTC+0200 Viktor Szakats * src/rtl/filesys.c ! fix hb_fsSetDateTime(), HB_FSETDATETIME(), HB_VFTIMESET() to work on directories * package/mpkg_ts.hb * package/mpkg_win.bat + implement custom code to reset build-timestamp in PE executable headers + use this when creating distributable package * config/win/mingw.mk * utils/hbmk2/hbmk2.prg * disable --no-insert-timestamp binutils/ld option, it is buggy as of 2.25 and will occasionally set the timestamp to random values, -s and strip are also affected Will re-enable in the future. [ Should also temporarily solve: https://github.com/vszakats/hb/issues/142 ] * bin/commit.hb * package/ADDONS.txt -> addons/README.txt * package/mpkg_win.bat * create addons directory in repo, move its README there 2015-07-07 02:00 UTC+0200 Viktor Szakats * package/mpkg_win.bat ! move strip calls to the proper location Should not touch non-Harbour built executables, to keep them intact and to not error on them, if there is an error (e.g. with upx.exe), strip stops processing files. 2015-07-07 01:20 UTC+0200 Viktor Szakats * package/mpkg_win.bat + add workarounds for bugs in binutils/ld --no-insert-timestamp option 2015-07-06 23:14 UTC+0200 Viktor Szakats * config/postinst.hb * contrib/hbhttpd/core.prg * contrib/hbnetio/utils/hbnetio/_console.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg * contrib/make.hb * package/mpkg_ts.hb * src/rtl/tscalar.prg * utils/hbmk2/hbmk2.prg * style timestamp format string to lowercase % cleanup and optimize timestamp operations * hbmk2: -bldhead= and -vcshead= time only constants are now in HH:MM:SS format instead of HHMMSS to be in sync with hb_Version(). [INCOMPATIBILITY] + mpkg_ts: tweak logging 2015-07-06 21:38 UTC+0200 Viktor Szakats * config/postinst.hb ! fix typo in prev * package/mpkg_ts.hb * tested OK, cleanups 2015-07-06 20:18 UTC+0200 Viktor Szakats * appveyor.yml % disable contribs while testing * package/mpkg_win.bat + package/mpkg_ts.hb ! fix setting ts for addons readme file + implement timestamping repository files and directories included in distro * config/postinst.hb * contrib/make.hb * utils/hbmk2/hbmk2.prg % minor optimizations * config/postinst.hb * contrib/make.hb ! fix detecting missing commit date * src/rtl/dirscan.prg * casing 2015-07-06 12:58 UTC+0200 Viktor Szakats * package/mpkg_win.bat ! fix reference file to be an installed one with correct timestamp * contrib/hbnetio/utils/hbnetio/_daemon.prg ! set uid/gid before daemonizing 2015-07-06 10:50 UTC+0200 Viktor Szakats * config/postinst.hb ! typo in prev 2015-07-06 10:47 UTC+0200 Viktor Szakats * config/postinst.hb + timestamp binaries + timestamp some root files * package/mpkg_win.bat ! use reference file for timestamping 2015-07-06 00:57 UTC+0200 Viktor Szakats * config/postinst.hb * contrib/make.hb * utils/hbmk2/hbmk2.prg ! fix multiple bugs in TZ calculation in timestamping code * package/mpkg_win.bat * add temp debug output 2015-07-05 21:42 UTC+0200 Viktor Szakats * config/postinst.hb * contrib/make.hb * utils/hbmk2/hbmk2.prg * TZ test run 2015-07-05 19:33 UTC+0200 Viktor Szakats * config/global.mk * config/postinst.hb * contrib/make.hb * package/mpkg_win.bat * utils/hbmk2/hbmk2.prg ! use Git commit timestamp for timestamping purposes ! convert Git timestamps to local time before using them (except in .bat code) + show detected timestamp in hbmk2 with -info option + add these -vcshead constants: COMMIT_DATE_ISO, COMMIT_DATE, COMMIT_TIME, COMMIT_TIMESTAMP, COMMIT_TIMESTAMP_UTC, COMMIT_NAME, COMMIT_MAIL 2015-07-05 18:06 UTC+0200 Viktor Szakats * config/postinst.hb * terminology % optimization in prev + show local TZ (for debug) + set timestamp of generated .hbd files * contrib/make.hb + set timestamp of generated .hbd files * include/hbver.ch * src/rtl/version.c + add hb_Version( HB_VERSION_BUILD_TIMESTAMP_UTC ) returns build timestamp as a "T" type * utils/hbmk2/hbmk2.prg ! fix to actually set timestamp of targets + -vcsts to set timestamps of generated .hbl files ! list of .hbl files shown to be created contained those that could not be created due to error 2015-07-05 16:13 UTC+0200 Viktor Szakats * config/postinst.hb * package/mpkg_win.bat + add deterministic timestamp for package files created * config/postinst.hb + display detected timestamp ! do not set timestamp if hb_MemoWrit() fails * utils/hbmk2/hbmk2.prg + preserve timestamps on hb_FCopy() 2015-07-05 14:33 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + add experimental -vcsts/-vcsts- option to set target file(s) timestamps to that of the VCS repository. Currently Git is supported. * contrib/hbpost.hbm + enable -vcsts when creating a distro package * config/postinst.hb * package/mpkg_win.bat + set timestamps of generated files to that of the last commit to create deterministic builds + preserve timestamps where possible * config/postinst.hb % add missing STATIC 2015-07-05 03:18 UTC+0200 Viktor Szakats * src/pp/hbpp.c ! fix calculation of negative TZ offsets for UTC timestamp in HB_VER_COMMIT_REV constant of hbverbld.h * utils/hbmk2/hbmk2.prg + add _HBMK_BUILD_TIMESTAMP_UTC_ constant to -bldhead header + add _HBMK_VCS_GIT_AUTHOR_TIMESTAMP_ and _HBMK_VCS_GIT_AUTHOR_TIMESTAMP_UTC_ constants to Git -vcshead header ! fix to prev: --no-insert-timestamp was only kicking off in mingw64 + add provisional support for not yet accepted binutils/ld patch for option: --insert-timestamp=<unixtime> hbmk2 would use the last commit UTC timestamp (implemented for Git only ATM) to set the build date/time in the exe/dll headers in this case. 2015-07-05 01:35 UTC+0200 Viktor Szakats * config/win/mingw.mk * utils/hbmk2/hbmk2.prg ! --no-insert-timestamp ld option is available since binutils 2.25 (not 2.24) adjust code accordingly * utils/hbmk2/hbmk2.prg ! fix typo causing high entropy option not being added to exe link command (but being added twice to dll link command instead) in mingw64 and pocc64 * package/RELNOTES.txt ! casing 2015-07-04 22:02 UTC+0200 Viktor Szakats * config/win/mingw.mk * utils/hbmk2/hbmk2.prg + enable 'ar' binutil option to operate in deterministic mode in -harden hbmk2 mode and Harbour build when using mingw* 4.5 or upper. This means that timestamps and other volatile information won't be encoded into objects/libaries. * config/aix/gcc.mk * config/beos/gcc.mk * config/bsd/gcc.mk * config/bsd/pcc.mk * config/cygwin/gcc.mk * config/hpux/gcc.mk * config/linux/gcc.mk * config/linux/icc.mk * config/linux/sunpro.mk * config/minix/gcc.mk * config/qnx/gcc.mk * config/sunos/gcc.mk * config/sunos/sunpro.mk * config/symbian/gcc.mk * config/vxworks/diab.mk * config/vxworks/gcc.mk * config/wce/mingwarm.mk * config/win/mingw.mk * utils/hbmk2/hbmk2.prg ! fix 'ar' binutil customs options to be specified _after_ the command string 2015-07-04 21:25 UTC+0200 Viktor Szakats * config/win/mingw.mk * utils/hbmk2/hbmk2.prg + do not include build timestamp in PE headers on mingw* 4.9 and upper in -harden mode and in Harbour's own build. This helps creating reproducible/deterministic binaries 2015-07-04 14:37 UTC+0200 Viktor Szakats * appveyor.yml + add custom settings for mingw targets when built in C++ mode to build with static C/C++ libs (otherwise the build fails unless mingw bin directory is in PATH) (This is probably not needed with TDM distros.) * contrib/gtqtc/gtqtc.hbc * delete unnecessary parenthesis * contrib/hbicu/hbicu.hbc + add ICU lib64 directory to lib search path for 64-bit win targets * contrib/hbssl/hbssl.hbm ! try fixing GCC builds in C++ mode failing in openssl/applink.c with errors "invalid conversion from '...' to '...' [-fpermissive]" * utils/hbmk2/hbmk2.prg + for mingw targets, automatically find implibs with the name 'lib<dllname>.dll.a' before falling back to copying the .dll itself 2015-07-04 04:14 UTC+0200 Viktor Szakats * contrib/gtwvg/gtwgu.h * contrib/gtwvg/gtwvg.h ! rename HB_GTWVT structure defined in gtwgu.h to HB_GTWGU ! rename HB_GTWVT structure defined in gtwvg.h to HB_GTWVG (to not even collide with core GTWVT structure where this header was copy-pasted from) * use macro tricks to keep code using above structure intact to not diverge from mainline much more. ; this resolves GCC warning when being built in C++ mode: 'violates one definition rule [-Wodr]' * include/hbinit.h * use native GCC init method with GCC 5.x + C++ mode HB_STATIC_STARTUP triggers -Wunused-variable warnings when building with -O1 or higher optimization. Fixes https://github.com/vszakats/hb/issues/138 2015-07-04 02:04 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! tune down .hbc hinting heuristics to not give false hints in certain cases. (notably when linking contrib .dlls as part of the Harbour build process) % optimize HBC_FindAndProcess() as a result of the above 2015-07-03 22:29 UTC+0200 Viktor Szakats * contrib/hbmysql/mysql.c * contrib/hbsqlit3/core.c * add casts to silence msvc warnings * appveyor.yml * contrib/hbpost.hbm * config/win/msvc.mk * change default of _HB_MSVC_ANALYZE to 'no', now you can enable -analyze option in msvc using 'set _HB_MSVC_ANALYZE=yes' 2015-07-03 22:01 UTC+0200 Viktor Szakats * src/3rd/pcre2/Makefile * src/3rd/pcre2/pcre2.dif * pcre2 10.20 [ci skip] https://lists.exim.org/lurker/message/20150702.132654.bc9e824f.en.html 2015-07-03 21:22 UTC+0200 Viktor Szakats * src/rtl/version.c ! HB_VERSION( HB_VERSION_BUILD_DATE_STR ): fix regression in latest update Fixes https://github.com/vszakats/hb/issues/140 2015-07-03 17:29 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg * utils/hbmk2/Makefile * minor terminology updates [TRANSLATION] 2015-07-03 13:12 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/hbnetio/_daemon.prg * contrib/hbnetio/utils/hbnetio/hbnetio.prg + add support for -gid:, -uid:, -egid:, -euid: options to set (drop) credentials for the daemon process 2015-07-03 12:06 UTC+0200 Viktor Szakats * contrib/hbnetio/utils/hbnetio/hbnetio.hbp * contrib/hbnetio/utils/hbnetio/hbnetio.prg + contrib/hbnetio/utils/hbnetio/_daemon.prg + add daemon support on Linux, when run with -d option (untested) * contrib/hbnetio/utils/hbnetio/netiomgm.hb ! fix duplicate function name when hbnetio.prg is run as a script * utils/hbmk2/hbmk2.prg + hb_regexMatch() full implementation for the sake of completeness 2015-07-03 11:52 UTC+0200 Viktor Szakats * include/hbapi.h * src/common/hbver.c * deprecate low-level API with HB_LEGACY_LEVEL4: hb_verBuildDate() Until then it will now return an empty string. Previously it was returning the local date/time the build was created on. This helps to create _reproducible_ builds and fixes these clang warnings: ../../../hbver.c:1282:39: warning: expansion of date or time macro is not reproducible [-Wdate-time] ../../../hbver.c:1282:49: warning: expansion of date or time macro is not reproducible [-Wdate-time] * src/common/hbverdsp.c * do not display build date/time in /build compiler and --hb:build, //build app options anymore * src/rtl/version.c * HB_VERSION(): HB_VERSION_BUILD_DATE_STR, HB_VERSION_BUILD_DATE, HB_VERSION_BUILD_TIME and HB_BUILDDATE(): will now return the last commit date/time instead of the date/time the build was actually built on. * src/rtl/libnamec.c + offer deprecated HB_LIBPOSTFIX() till transition is made by 3rd party code (this most probably means 'hbide' alone, where I added it years ago) to HB_LIBSUFFIX() (same function, different name) 2015-07-03 11:22 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/libnamec.c + rename HB_LIBPOSTFIX() to HB_LIBSUFFIX() old name is still available, but deprecated. 2015-07-03 00:14 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * restore compatibility with hbqt/qtcontribs project plugin that actively relies on a buggy API deprecated in early 2009. 2015-07-02 15:44 UTC+0200 Viktor Szakats * README.md * reword a section title in the hope it'll make its meaning more clear [ci skip] 2015-07-02 15:12 UTC+0200 Viktor Szakats * src/rtl/hbini.prg ! hb_IniWrite(): fix typo in f3504ed9072c467e5d8cfc4595861bd73fc562a5 causing new file creation to fail. Fixes https://github.com/vszakats/hb/issues/136 2015-07-02 13:58 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c ! fix HB_CURLOPT_SSL_SESSIONID_CACHE option to mistakenly set CURLOPT_SSL_VERIFYHOST internally. This could lead to loss of host verification. Issue is present since d9fe9a468879ba5aa6d3e7da6f7e6658e1f9bd2b 2015-07-02 02:32 UTC+0200 Viktor Szakats * contrib/hbnf/setdate.c * contrib/hbnf/settime.c * uncrustify (whitespace) 2015-07-02 02:19 UTC+0200 Viktor Szakats * contrib/hbnf/hbnf.hbp * contrib/hbnf/setdate.c * contrib/hbnf/settime.c + FT_SETTIME(), FT_SETDATE(): add Windows and Linux support (from hbct code) ! FT_SETTIME(), FT_SETDATE(): update to return success/failure based on the result of the low-level call, previously it always returned .T. on MS-DOS. * contrib/hbct/dattime3.c + SETTIME(), SETDATE(): add MS-DOS support (from hbnf code) 2015-07-02 00:51 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + reenable -c= and -cpp= options on help output as well 2015-07-02 00:24 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + reenable -c= and -cpp= options They were disabled as a quick and dirty fix in 2b757661990077fac8d030f82f44bae7f1e7b411 * contrib/hbpre.hbm * comment out C standard override for contribs * contrib/3rd/sqlite3/sqlite3.hbp * contrib/gtalleg/gtalleg.hbm * contrib/hbct/hbct.hbp * contrib/hbfbird/hbfbird.hbp * contrib/hbfbird/tests/testapi.hbp * contrib/hbfimage/hbfimage.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbmzip/hbmzip.hbp * contrib/hbosx/hbosx.hbp * contrib/hbssl/hbssl.hbm * contrib/hbunix/hbunix.hbp * contrib/rddads/rddads.hbp * contrib/sddfb/sddfb.hbp * contrib/xhb/xhb.hbp * comment out per-project C standard overrides in contribs All components to be linked together should preferably be compiled with the same C/C++ standard. Harbour aims for the oldest (C89), but some 3rd party components require newer or non-pure-ISO standards to compile, so we're not enforcing this oldest standard but rather use the C compiler default, which is usually above C89 (for GCC in particular this default is gnu90 for pre-5.x and gnu11 for 5.x and above). ; leave these comments to indicate special C standard requirements for these components. * contrib/hbfimage/tests/test.prg * cleanup 2015-07-01 20:49 UTC+0200 Viktor Szakats * package/getmingw.bat % use more pushd 2015-07-01 16:55 UTC+0200 Viktor Szakats * src/rdd/dbcmd.c + add hb_FieldPut( <n>, <xVal> ) which is like FieldPut(), but accepts NIL value as 2nd parameter. FieldPut() ignores NIL and shouldn't be changed, because of Clipper compatibility and possible regressions. ; Merge from Aleksander Czajczynski's fork: https://github.com/alcz/harbour/commit/d5e681f79efd38f937935e07769361a50234db18 * include/harbour.hbx * add hb_FieldPut() 2015-07-01 11:57 UTC+0200 Viktor Szakats * package/getmingw.bat ! use less obvious file extension for internal script. Hoping to avoid cases when extension is associated with an application. * doc/windll.txt * formatting 2015-06-30 17:30 UTC+0200 Viktor Szakats * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmlzo/3rd/minilzo/* * update to minilzo 2.09 2015-06-30 14:28 UTC+0200 Viktor Szakats * src/compiler/compi18n.c ! restore fix 05bfd5bd5a846dc080b4ccd02017a2be68e07f59 to silence gcc 5 warning after e364f8634beeec77acf72fedc32f688e2f94c01b 2015-06-30 12:53 UTC+0200 Viktor Szakats * contrib/hbtinymt/3rd/tinymt/tinymt.dif * contrib/hbtinymt/3rd/tinymt/tinymt.hbp * contrib/hbtinymt/3rd/tinymt/tinymt32.h * contrib/hbtinymt/3rd/tinymt/tinymt64.h * merge tinymt 1.1 patch into our local patch https://github.com/MersenneTwister-Lab/TinyMT/commit/c68f0374de14512412e0b305b184642ce1628198 2015-06-30 12:20 UTC+0200 Viktor Szakats * README.md + add contact information (Twitter, GitHub, PGP) 2015-06-30 11:53 UTC+0200 Viktor Szakats * src/3rd/tiff/read.c * src/3rd/tiff/tiff.dif * reapply 3 local patch hunks 2015-06-30 11:30 UTC+0200 Viktor Szakats * src/3rd/tiff/Makefile * src/3rd/tiff/tiff.dif * src/3rd/tiff/* * update to libtiff 4.0.4 * temporatily delete 3 local patch hunks 2015-06-30 11:25 UTC+0200 Viktor Szakats * contrib/gtwvw/doc/intro.en.md * contrib/gtwvw/doc/intro.pt_BR.md * CONTRIBUTING.md * cleanups 2015-06-30 03:30 UTC+0200 Viktor Szakats * src/vm/extrap.c ! fix value of Windows constant defined by Harbour code if missing from C compiler/SDK headers * contrib/gtwvw/doc/intro.en.md * contrib/gtwvw/doc/intro.pt_BR.md * more Markdown formatting * contrib/hbfbird/firebird.c * contrib/hbssl/ssl.c * contrib/sddfb/core.c * include/hbdefs.h * deborlandize 2015-06-30 02:53 UTC+0200 Viktor Szakats * contrib/hbicu/hbicu.hbc ! attempt to fix static linking with MSVC reference: https://github.com/vszakats/hb/issues/134 [ci skip] 2015-06-30 01:20 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hbexpat/core.c * contrib/hbicu/hbicu.hbc * contrib/hbicu/hbicu.hbp * contrib/rddads/rddads.hbp * contrib/sddoci/sddoci.hbp * clean minor URL nits [ci skip] 2015-06-29 23:37 UTC+0200 Viktor Szakats * appveyor.yml + add sha256 checksum verification for all remaining downloads ! move package generation to 'deploy_script' stage * package/mpkg_win.bat + display sha256 of Harbour package built 2015-06-29 21:56 UTC+0200 Viktor Szakats * contrib/hbicu/hbicu.hbc ! add missing libs when dynamic linking to ICU (tested with mingw) related: https://github.com/vszakats/hb/issues/134 * include/hbdefs.h % delete pre-bcc5.5 branch * contrib/gtwvg/wvgwing.c * contrib/hbfbird/firebird.c * contrib/sddfb/core.c * include/hbdefs.h * include/hbmather.h * src/common/hbprintf.c * use hex values uniformly in bcc version guards * doc/xhb-diff.txt ! minor fix * doc/*.txt * cleanups, formatting 2015-06-29 14:47 UTC+0200 Viktor Szakats * README.md + Harbour 3.4 now requires bcc 5.5 or higher (was 4.0 or higher before) * include/hbmather.h % delete bcc 5.3 hack to make it build (with some loss of functionality) * include/hbatomic.h * src/rtl/diskspac.c * src/rtl/disksphb.c * utils/hbmk2/hbmk2.prg * cleanups 2015-06-29 12:57 UTC+0200 Viktor Szakats * include/harbour.hbx * src/rtl/libnamec.c * utils/hbmk2/hbmk2.prg * contrib/rddads/tests/datad.prg * contrib/rddads/tests/manage.prg * rename HB_LIBPOSTFIX() -> HB_LIBSUFFIX() old name accessible in HB_LEGACY_LEVEL5 mode. * internal renames for consistency ; [TRANSLATION] * utils/hbmk2/hbmk2.prg * implib generation to not display an error when trying to copy a file onto itself * doc/windll.txt ! fix obsolete function reference * make it compiler agnostic * markdownize ; and unless you need to load non-Harbour code, use .hrb files, it's better. * config/global.mk * rename internal var * doc/*.txt * minor cleanups 2015-06-29 09:22 UTC+0200 Viktor Szakats * appveyor.yml * package/getmingw.bat * README.md * switch back again to mingw builds with posix thread support * package/RELNOTES.txt * more accurate language 2015-06-28 11:35 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * contrib/gtwvg/tests/_dyndlgs.prg * use constants instead of literals (referring to https://github.com/JoseQuintas/harbour-core/commit/7aad16743b49d9920cdb861a61aee7803b9b598a) 2015-06-28 11:27 UTC+0200 Viktor Szakats * contrib/gtwvg/*.prg * contrib/gtwvw/tests/drawimg.prg * contrib/hbgd/*.prg * contrib/hbmysql/*.prg * contrib/hbtip/*.prg * contrib/xhb/*.prg * doc/en/objfunc.txt * doc/xhb-diff.txt * extras/hbdoc/*.prg * tests/*.prg * utils/hbtest/rt_class.prg * use Class(y) syntax in class definitions FROM -> INHERIT CLASS -> CREATE CLASS 2015-06-28 10:57 UTC+0200 Viktor Szakats * contrib/gtwvg/paint.prg ! typo in comment * contrib/gtwvg/pushbut.prg + WvgPushButton:create(): permit pushbutton with image + text Closing https://github.com/vszakats/hb/issues/133 2015-06-27 11:48 UTC+0200 Viktor Szakats * package/ADDONS.txt * package/RELNOTES.txt * Markdownize * package/RELNOTES.txt * revise install steps 2015-06-27 00:30 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + ignore and give hint when .hbc file is specified via -l option. Closes https://github.com/vszakats/hb/issues/132 [TRANSLATION] 2015-06-26 14:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/cdpapihb.c ! typo in parameter number 2015-06-26 14:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/rtl/cdpapihb.c + added new PRG function: hb_cdpIsCharIdx( [ <cCdpID> ] [, <lNewMode>] ) -> <lPrevMode> It returns .T. when given codepage uses custom character indexes instead of byte indexes. If <cCdpID> is not specified then current HVM codepage is used. Optional logical parameter <lNewMode> allows to enable/disable custom character indexes in codepages which have such functionality, i.e. UTF8, BIG5, CP950. * src/rtl/rtlshort.c * removed __QUITCANCE() - this function does not exist in Cl*pper. 2015-06-26 00:03 UTC+0200 Viktor Szakats * package/mpkg_win.bat % minor cleanup [ci skip] 2015-06-25 16:25 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/ppcore.c ! fixed compilation of initial files passed without path (broken by mistake in recent modifications) 2015-06-25 13:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/ppcore.c ! restored previous algorithm for scanning #included files when included file is given without path Now the following(Cl*pper compatible) file search algorithm is used for files which are not marked as system headers (system headers are enclosed in <>): 1) if file name contains absolute path then open the file from the given location. If path starts with drive letter then is always used as absolute path regardless of used path separator after drive delimiter: ":" 2) if file name contains relative path then open then: a) try to access included file starting from current directory b) try to access included file starting from the path taken from the first compiled file in list of included files c) check INCLUDE paths (paths specified by -I compile switch and taken from INCLUDE envvar) 3) if file name does not contain any path then open then: a) try to access included file starting from the path taken from the first compiled file in list of included files (if it does not have any path then starting from current directory) b) check INCLUDE paths (paths specified by -I compile switch and taken from INCLUDE envvar) For files marked as system headers in #include directive (enclosed in <>) the file name is always used as relative path and Harbour scans only INCLUDE paths (-I and INCLUDE envvar). It's Harbour extension, Cl*pper does not support system headers. ; Maybe we should think about adding yet another step between (b) and (c) in case 2 above and between (a) and (b) in case 3: - try to access included file starting from the path taken from the file with #include directive It should help to create nested projects using relative paths. Maybe it should even have the highest priority. It could be important only in case of file name conflicts. 2015-06-24 21:09 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmzip/mzip.c * src/rtl/filesys.c ! initialize tm_isdst member of tm structure with -1 to force correct local time to UTC conversion in mktime() 2015-06-24 20:32 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/pp/ppcore.c ! fixed directory include precedence in #included files which are not marked as system headers (system headers are enclosed in <>) Now the following order is used: 1) try to access included file as is starting from current directory 2) if included file has relative path then check if the first compiled file has path and if yes try to access file using this path as start point 3) check INCLUDE paths (envvar and -I parameter) Previous version used: 2 for nested files or 1 for first file or when first file was given without path then 3. Now we are Cl*pper compatible but such version strongly depends on current directory which has the highest priority. Personally I do no like such behavior because it may give different results when current directory is changed. 2015-06-24 13:49 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * utils/hbmk2/hbmk2.prg ! fix header search algorithm to handle headers specified with _absolute paths_. This fixed the problem reported by Sergy, here: https://groups.google.com/d/msg/harbour-users/EYT9VQ9M7jk/SPtHIxpUB1oJ Using absolute path to refer to a headers inside source should be avoided and not necessary given properly setup header paths. ; merged Viktor's patch: 2015-06-23 17:50 UTC+0200 Viktor Szakats 2015-06-24 00:33 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/vm/classes.c ! fixed __objGetIVars() to correctly serialize objects without any own and inherited instance variables * contrib/hbhpdf/3rd/libhpdf/hpdfimac.c ! include string.h * contrib/hbhpdf/3rd/libhpdf/libhpdf.dif * rediffed 2015-06-23 17:50 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg ! fix header search algorithm to handle headers specified with _absolute paths_. This fixed the problem reported by Sergy, here: https://groups.google.com/d/msg/harbour-users/EYT9VQ9M7jk/SPtHIxpUB1oJ Using absolute path to refer to a headers inside source should be avoided and not necessary given properly setup header paths. * README.md * minor update for clarity 2015-06-22 10:16 UTC+0200 Viktor Szakats * contrib/hbpost.hbm * utils/hbmk2/pkg_inst.hbm + also install .md files * package/RELNOTES.txt * Markdownize % delete 2.0.0 related changes - contrib/hbamf/issues.txt * contrib/hbamf/readme.txt * formatting, cleanup * merge issues into readme 2015-06-22 09:28 UTC+0200 Viktor Szakats * extras/dbu/readme.txt -> extras/dbu/README.md * extras/gfspell/readme.txt -> extras/gfspell/README.md * extras/hbvpdf/readme.txt -> extras/hbvpdf/README.md * extras/httpsrv/readme.txt -> extras/httpsrv/README.md * extras/ps32/readme.txt -> extras/ps32/README.md * extras/rl/readme.txt -> extras/rl/README.md * extras/superlib/readme.txt -> extras/superlib/README.md * extras/template/readme.txt -> extras/template/README.md * converted to Markdown * contrib/hbblake2/blake2b.c * contrib/hbblake2/blake2s.c ! typos in comments * contrib/gtwvw/doc/intro.en.md * contrib/hbfimage/tests/test.prg * contrib/hbgd/tests/*.prg * contrib/hbhttpd/readme.txt * contrib/hbmzip/* * contrib/hbsqlit3/core.c * contrib/hbtip/ftpcli.prg * contrib/hbwin/hbwin.ch * contrib/xhb/xhb.h * doc/oldnews.txt * extras/hbdoc/* * extras/httpsrv/* * package/* * tests/*.prg * terminology 'folder' -> 'directory' 2015-06-22 08:40 UTC+0200 Viktor Szakats * contrib/hbnf/doc/en/popadder.txt * extras/dbu/readme.txt * extras/ps32/readme.txt * extras/rl/readme.txt * extras/superlib/readme.txt * use markdown-compatible numbered lists + add sha256 and blake2 (see https://blake2.net/) hashes for referred downloads ; [ci skip] 2015-06-19 12:27 UTC+0200 Viktor Szakats * extras/ps32/readme.txt ! update download URL 2015-06-18 18:46 UTC+0200 Viktor Szakats * src/codepage/uc16def.c + update for Unicode 8.0.0 based on this table, using tests/uc16_gen.prg: https://unicode.org/Public/8.0.0/ucd/UnicodeData.txt 2015-06-18 13:16 UTC+0200 Viktor Szakats * tests/uc16_gen.prg + accept input filename as parameter 2015-06-17 12:39 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filesys.c ! fixed FXO_TRUNCATE flag used without FXO_SHARELOCK in POSIX systems * src/rtl/net.c ! typo in variable name * src/vm/task.c ! variable scope * src/compiler/compi18n.c * minor variable type update * ChangeLog.txt ! formatting 2015-06-16 03:29 UTC+0200 Viktor Szakats * contrib/hbwin/tests/ole.prg * use https urls [skip ci] 2015-06-16 02:33 UTC+0200 Viktor Szakats * contrib/hbblake2/blake2b.c * contrib/hbblake2/blake2s.c % add a 'static' for a low-level code * replace size_t with HB_SIZE * minor macro cleanup 2015-06-16 01:53 UTC+0200 Viktor Szakats * contrib/hbblake2/blake2b.c * contrib/hbblake2/blake2s.c ! hb_BLAKE2*() functions to return empty buffers when wrong parameters are passed to them 2015-06-16 01:49 UTC+0200 Viktor Szakats * contrib/hbb2/blake2b.c -> contrib/hbblake2/blake2b.c * contrib/hbb2/blake2s.c -> contrib/hbblake2/blake2s.c * contrib/hbb2/hbb2.hbc -> contrib/hbblake2/hbblake2.hbc * contrib/hbb2/hbb2.hbp -> contrib/hbblake2/hbblake2.hbp * contrib/hbb2/hbb2.hbx -> contrib/hbblake2/hbblake2.hbx * contrib/hbb2/tests/hbmk.hbm -> contrib/hbblake2/tests/hbmk.hbm * contrib/hbb2/tests/test.prg -> contrib/hbblake2/tests/test.prg * rename hbb2 -> hbblake2 2015-06-16 01:41 UTC+0200 Viktor Szakats * include/hbdefs.h + add HB_PUT_UINT64(), HB_GET_UINT64() macros - contrib/hbb2/* * contrib/hbb2/blake2b.c * contrib/hbb2/blake2s.c * contrib/hbb2/hbb2.hbc * contrib/hbb2/hbb2.hbp ! hb_BLAKE2*() functions to return zeroed buffers when wrong parameters are passed to them * change BLAKE2 low-level implementation to this alternate one from the author of the BLAKE2 RFC: https://github.com/mjosaarinen/blake2_mjosref adapted to use Harbour types, macros and ANSI C89 comments License is CC0 (Public Domain) This is compatible with more compilers and should fix https://github.com/vszakats/hb/issues/129 * contrib/hbb2/tests/test.prg + add more BLAKE2 tests 2015-06-15 14:14 UTC+0200 Viktor Szakats * contrib/sddoci/sddoci.hbp * package/harbour.rb * remove ocilib brew formula not accepted by the project 2015-06-15 02:44 UTC+0200 Viktor Szakats * contrib/hbb2/3rd/b2/b2.dif * contrib/hbb2/3rd/b2/b2.hbp * rediffed against new upstream version 0.97 * contrib/hbcurl/easy.c * minor cleanup of some break statements 2015-06-15 00:26 UTC+0200 Viktor Szakats * debian/copyright * LICENSE.txt * update outdated directory reference * make list of directories clearer * contrib/hbb2/blake2b.c * contrib/hbb2/blake2s.c * update license reference 2015-06-13 18:43 UTC+0200 Viktor Szakats * contrib/hbb2/hbb2.hbp + contrib/hbb2/blake2b.c * contrib/hbb2/core.c -> contrib/hbb2/blake2s.c % split two wrappers into two sources 2015-06-13 13:44 UTC+0200 Viktor Szakats - contrib/hbb2/3rd/b2/config.h * contrib/hbb2/3rd/b2/b2.dif * contrib/hbb2/3rd/b2/b2.hbp * contrib/hbb2/3rd/b2/blake2-i.h * contrib/hbb2/3rd/b2/blake2.h * contrib/hbb2/3rd/b2/blake2b.c * contrib/hbb2/3rd/b2/blake2s.c * apply BLAKE2 patches by original author @sneves from https://github.com/BLAKE2/BLAKE2 as of https://github.com/BLAKE2/BLAKE2/commit/b6525c7fa15dbf6713e0597727827d191a31a26a % merge local config.h logic into blake2-i.h 2015-06-13 13:20 UTC+0200 Viktor Szakats - contrib/hbb2/3rd/b2/blake2-k.h * contrib/hbb2/3rd/b2/b2.hbp % delete large and unnecessary header * contrib/hbb2/3rd/b2/b2.hbp * contrib/hbb2/hbb2.hbp * delete cruft and unnecessary options copy-pasted from a template contrib * contrib/hbb2/3rd/b2/b2.dif * contrib/hbb2/3rd/b2/blake2b.c ! fix a small error in reference implementation * this allowed to enable all warnings 2015-06-13 11:27 UTC+0200 Viktor Szakats * contrib/hbb2/core.c ! fix to check lower bound for hash length 2015-06-13 03:16 UTC+0200 Viktor Szakats + contrib/hbb2/core.c + contrib/hbb2/hbb2.hbc + contrib/hbb2/hbb2.hbp + contrib/hbb2/hbb2.hbx + contrib/hbb2/3rd/b2/* + contrib/hbb2/3rd/b2/b2.dif + contrib/hbb2/3rd/b2/b2.hbc + contrib/hbb2/3rd/b2/b2.hbp + contrib/hbb2/tests/hbmk.hbm + contrib/hbb2/tests/test.prg + add hb_BLAKE2s() and hb_BLAKE2b() fast secure hash functions with optional MAC: hb_BLAKE2s( <cIn>, [<cKey>], [<nSize=32>], [<lBinary=.F.>] ) -> <cHash> hb_BLAKE2b( <cIn>, [<cKey>], [<nSize=64>], [<lBinary=.F.>] ) -> <cHash> They were designed to replace MD5 and SHA-1. License is CC0 / Public Domain. ; References: https://blake2.net/ https://tools.ietf.org/html/draft-saarinen-blake2-03 https://en.wikipedia.org/wiki/BLAKE_%28hash_function%29#BLAKE2 2015-06-12 23:47 UTC+0200 Viktor Szakats * package/getmingw.bat * README.md * update 32-bit hosted mingw URLs (there were only posix builds released) 2015-06-12 23:32 UTC+0200 Viktor Szakats * contrib/hbexpat/3rd/expat/expat.hbp * use a different download URL * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbhpdf/3rd/libhpdf/README -> contrib/hbhpdf/3rd/libhpdf/README.txt * contrib/hbmzip/3rd/minizip/README -> contrib/hbmzip/3rd/minizip/README.txt * add .txt extension 2015-06-12 22:08 UTC+0200 Viktor Szakats * appveyor.yml * bump dependency * README.md ! grammar 2015-06-12 11:19 UTC+0200 Viktor Szakats * README.md * add links to 3.0.0 stable source and Windows binary releases. - source release is a Git tag which was made identical to the original SVN tag - binary releases were copied from sf.net and now hosted here since sf.net became an unsafe place to host files 2015-06-12 08:13 UTC+0200 Viktor Szakats * appveyor.yml % make easier to bump dependency versions + tests/mt/hbmk.hbm + add hbmk.hbm file to enable -mt mode 2015-06-11 23:31 UTC+0200 Viktor Szakats * appveyor.yml * update openssl to 1.0.2b * * * update contact email for April (Thanks!) 2015-06-11 16:28 UTC+0200 Viktor Szakats * contrib/hbfimage/hbfimage.hbp * README.md * utils/hbmk2/hbmk2.prg * replace remaining sf.net URLs with search engine queries * update mingw-w64 URL * * * delete sf.net email alias (waiting for re on replacement contact) 2015-06-11 02:25 UTC+0200 Viktor Szakats * contrib/sddoci/sddoci.hbc * contrib/sddoci/sddoci.hbp - delete mixed-mode ocilib flavor (it was dropped in 4.x) * contrib/sddoci/sddoci.hbp * package/harbour.rb + add ocilib Homebrew formula Hope is this Homebrew PR will be merged: https://github.com/Homebrew/homebrew/pull/40518 * contrib/gtqtc/gtqtc.hbp + refer to qt4 homebrew formula (qt4 works a little better with gtqtc, it will sometimes display readable screen, but it can get easily corrupted by resizing or at initial size and some texts are misplaced or missing. Tested with tests/wvtext.prg.) * contrib/hbhttpd/core.prg ! fix to use SHA256 for session IDs and similar (was MD5). Might be INCOMPATIBLE. * contrib/hbsqlit3/tests/authoriz.prg * use SHA256 for password hashes in example code (still not secure but a step up from MD5) * utils/hbmk2/hbmk2.prg * do not link hb_MD5() and hb_SHA1() functions, so these cannot be used anymore in plugins. Use hb_SHA256()/hb_SHA512() instead. [INCOMPATIBLE] * contrib/hbmxml/tests/custom.prg * use SHA256 instead of MD5 in example * doc/codestyl.txt - delete reference to hb_MD5() 2015-06-09 12:43 UTC+0200 Viktor Szakats * contrib/sddoci/core.c * contrib/sddoci/libinfo.c * cleanup to ocilib header inclusion * contrib/hbssl/bio.c * ChangeLog.txt * update OpenSSL ticket urls to automatically login as guest 2015-06-09 01:46 UTC+0200 Viktor Szakats * tests/wvtext.prg * cleanup fontface rotation + add two fonts 2015-06-09 00:30 UTC+0200 Viktor Szakats * package/harbour.rb * sync 'desc' with mainline Harbour formula 2015-06-09 00:22 UTC+0200 Viktor Szakats * include/fileio.ch * src/rtl/vfile.c + add HB_FO_DEFAULTS flag to enable using _SET_PATH and _SET_DEFAULT when opening files using hb_vfOpen() * src/rtl/tlabel.prg * src/rtl/treport.prg % use HB_FO_DEFAULTS when opening files * contrib/xhb/dbgfx.prg * extras/httpsrv/_cgifunc.prg * simplify and avoid race condition in file opening code * contrib/xhb/traceprg.prg * contrib/xhb/xhberr.prg * cleanup file opening flags 2015-06-08 23:32 UTC+0200 Viktor Szakats * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/hbgtcore.c ! add some HB_GTI_* setting to default GT handler (some common ones moved from gttrm.c/gtwin.c) 2015-06-08 23:20 UTC+0200 Viktor Szakats * contrib/gtqtc/hbmk2_qtmoc.hb ! fix to find 'moc' tool in more configurations (e.g. on darwin/homebrew/qt5) GTQTC pops a black window with some garbled pixels when built with latest homebrew/qt5 and wvtext.prg * include/fileio.ch + add HB_FO_CREAT, HB_FO_TRUNC, HB_FO_EXCL constants as alternatives to FO_CREAT, FO_TRUNC, FO_EXCL names which break Cl*pper namespace * src/rtl/gttrm/gttrm.c ! return correct value, but at least correct type for some HB_GTI_* options. (HB_GTI_* options are still very messy across GTs, breaking the idea of "replacable" here.) This commit just fixes tests/wvtext.prg to not RTE with gttrm. 2015-06-08 17:34 UTC+0200 Viktor Szakats * src/rtl/tlabel.prg ! fix to search labels in _SET_PATH too. See more in comment in source. Also referring to: https://groups.google.com/d/msg/harbour-devel/8XX1eDQFsiM/3qkUXL8K5EcJ 2015-06-08 00:00 UTC+0200 Viktor Szakats * package/harbour.rb * make formula updates suggested by Homebrew team. 2015-06-06 18:50 UTC+0200 Viktor Szakats * .travis.yml * README.md * package/harbour.rb ! do not use slang homebrew project it's not the slang Harbour is looking for 2015-06-06 15:39 UTC+0200 Viktor Szakats * contrib/hbcurl/hbcurl.ch + add an upcoming 7.43.0 curl constant 2015-06-06 13:46 UTC+0200 Viktor Szakats * README.md + link to Harbour Facebook community page and a Twitter account 2015-06-06 00:37 UTC+0200 Viktor Szakats * package/harbour.rb + make curl recommended dependency, meaning it will be installed by default and can be disabled manually 2015-06-06 00:35 UTC+0200 Viktor Szakats * .travis.yml * contrib/hbgd/hbgd.hbp ! fix gd lib homebrew formula name * contrib/hbbz2/hbbz2.hbp ! bz2 is part of the OS, no such homebrew formula name * package/harbour.rb + add build options 2015-06-05 22:22 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg * url updates 2015-06-05 22:13 UTC+0200 Viktor Szakats * contrib/hbicu/hbicu.hbc * contrib/hbicu/hbicu.hbp * utils/hbmk2/hbmk2.prg * url updates 2015-06-05 20:47 UTC+0200 Viktor Szakats * extras/hbdoc/hbdoc.prg * remove internal file references 2015-06-05 19:54 UTC+0200 Viktor Szakats * src/rtl/treport.prg ! REPORT FORM: fix regression which caused _SET_PATH to not be searched anymore. Ref b9b235cff96fb295d041276202b5dae09f553154 Reported by Heinz V Bergen: https://groups.google.com/d/msg/harbour-devel/8XX1eDQFsiM/dpa4EFOCmo8J * extras/hbdoc/hbdoc.prg * comment cleanup 2015-06-03 18:07 UTC+0200 Viktor Szakats * appveyor.yml % do not publish artifacts on appveyor itself 2015-06-03 04:11 UTC+0200 Viktor Szakats * appveyor.yml * remove new gcc 5.1 warnings after short experiment with them 2015-06-02 14:32 UTC+0200 Viktor Szakats * appveyor.yml * package/getmingw.bat * README.md * update to mingw 5.1.0 (some win 32-bit hosted urls are not yet working) * utils/hbmk2/hbmk2.prg + add some more embedded mingw compiler directories to PATH. untested. the goal is to make posix mingw builds work by letting the compiler exes find their dlls. 2015-06-02 12:57 UTC+0200 Viktor Szakats * contrib/hbwin/win_prn2.c ! win_PrinterStatus() / XIsPrinter() fix another bad memory leak (similar to the previous one) present in the code since ~2003-09-23 (its initial commit to xHarbour repo). 2015-06-02 12:39 UTC+0200 Viktor Szakats * contrib/hbwin/win_prn2.c ! win_PrinterList( .T. ) / GetPrinters( .T. ) fix bad memory leak present in the code since ~2003-10-08 (its initial commit to xHarbour repo). reported by Alen: https://groups.google.com/d/msg/harbour-users/80lqE6taoKk/5_IeeSHRSQcJ * win_PrinterList( .T. ) close printer handle only if opened successfully 2015-06-02 13:31 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbtip/client.prg * eliminated hb_UserName() from initial random seed * contrib/hbwin/win_prn2.c ! fixed memory leak and potentially wrong handle usage fix borrowed from Viktor's branch: 2015-06-02 12:39-57 UTC+0200 Viktor Szakats * src/rdd/dbf1.c * variable localization 2015-06-01 14:48 UTC+0200 Viktor Szakats * .travis.yml * contrib/gtalleg/gtalleg.hbm * update homebrew formula name of allegro 2015-06-01 14:42 UTC+0200 Viktor Szakats * contrib/gtalleg/gtalleg.hbm * update allegro homepage * utils/hbmk2/hbmk2.prg * minor update to prev 2015-06-01 00:17 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + add support for osslsigncode tool for signing Windows binaries It runs on *nix natively, making it useful in cross-builds 2015-05-30 14:38 UTC+0200 Viktor Szakats * contrib/hbzebra/datamtrx.c * contrib/hbzebra/pdf417.c * url updates 2015-05-30 13:27 UTC+0200 Viktor Szakats * README.md + add alternate translate service * src/rtl/achoice.prg * adjust wording in comment 2015-05-30 12:44 UTC+0200 Viktor Szakats * README.md * grammar, casing 2015-05-30 01:54 UTC+0200 Viktor Szakats * config/global.mk * src/rtl/arc4.c * update two more urls 2015-05-30 01:29 UTC+0200 Viktor Szakats * README.md * config/lang.hb * update more urls * use version agnostic urls where possible + add link to Git training material with multi-language cheat sheet + remove warning after verifying recommended Windows bison to be working well - remove issue counter badge (redundant) 2015-05-29 23:33 UTC+0200 Viktor Szakats * bin/*.hb * config/* * contrib/hbmxml/tests/testmxml.prg * ChangeLog.txt * debian/copyright * doc/oldnews.txt * package/* * README.md * tests/hbdoc.prg * COPYING.txt -> LICENSE.txt * rename COPYING.txt to LICENSE.txt this is a more natural name these days. ; TODO: update copyright headers in sources 2015-05-29 23:19 UTC+0200 Viktor Szakats * contrib/hbbz2/3rd/bz2/bz2.hbp * contrib/hbexpat/3rd/expat/expat.hbp * contrib/hblzf/3rd/liblzf/lzf.hbp * contrib/hbmlzo/3rd/minilzo/minilzo.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbtinymt/3rd/tinymt/tinymt.hbp * contrib/hbxdiff/3rd/libxdiff/xdiff.hbp * src/3rd/jpeg/Makefile * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile * src/3rd/png/Makefile * src/3rd/tiff/Makefile * src/3rd/zlib/Makefile * contrib/hbbz2/3rd/bz2/LICENSE -> contrib/hbbz2/3rd/bz2/LICENSE.txt * contrib/hbexpat/3rd/expat/COPYING -> contrib/hbexpat/3rd/expat/LICENSE.txt * contrib/hblzf/3rd/liblzf/Changes -> contrib/hblzf/3rd/liblzf/Changes.txt * contrib/hblzf/3rd/liblzf/LICENSE -> contrib/hblzf/3rd/liblzf/LICENSE.txt * contrib/hblzf/3rd/liblzf/README -> contrib/hblzf/3rd/liblzf/README.txt * contrib/hbmlzo/3rd/minilzo/COPYING -> contrib/hbmlzo/3rd/minilzo/LICENSE.txt * contrib/hbmlzo/3rd/minilzo/README -> contrib/hbmlzo/3rd/minilzo/README.txt * contrib/hbmxml/3rd/minixml/COPYING -> contrib/hbmxml/3rd/minixml/LICENSE.txt * contrib/hbxdiff/3rd/libxdiff/COPYING -> contrib/hbxdiff/3rd/libxdiff/LICENSE.txt * src/3rd/jpeg/README -> src/3rd/jpeg/README.txt * src/3rd/pcre/LICENCE -> src/3rd/pcre/LICENSE.txt * src/3rd/png/LICENSE -> src/3rd/png/LICENSE.txt * src/3rd/tiff/LICENSE -> src/3rd/tiff/LICENSE.txt * src/3rd/zlib/README -> src/3rd/zlib/README.txt * standardize license filenames + add .txt extension to all 3rd party text files 2015-05-29 22:54 UTC+0200 Viktor Szakats * README.md * src/3rd/jpeg/Makefile * update jpeg project page 2015-05-29 22:19 UTC+0200 Viktor Szakats * .travis.yml * minor cleanup 2015-05-29 22:17 UTC+0200 Viktor Szakats * README.md * update another url 2015-05-29 20:51 UTC+0200 Viktor Szakats * README.md ! md urls need to be urlencoded 2015-05-29 20:48 UTC+0200 Viktor Szakats * README.md * more link pruning and updates 2015-05-29 20:39 UTC+0200 Viktor Szakats * README.md * replace project homepage with GitHub project page 2015-05-29 20:31 UTC+0200 Viktor Szakats * contrib/hbwin/wapi_secur32.c * extras/hbxlsxml/hbxlsxml.hbc * archive.org proxy for two more urls 2015-05-29 19:55 UTC+0200 Viktor Szakats * tests/setkeys.prg ! fix to call hb_SetKey() where needed * README.md * src/rtl/base64d.c * update urls Steer away from sf.net, they seem to keep following unfortunate directions: https://helb.github.io/goodbye-sourceforge/ * use archive.org proxy for some sites hosted on sf.net which are unlikely to be updated in the future * replace gnuwin32 with msysgit project for GNU Bison. This is the same package that offers the Git package and most other GNU tools. * doc/en/*.txt * extras/hbdoc/*.prg * extras/hbdoc/hbdoc.ch * include/hbextlng.ch * src/compiler/hbusage.c * src/rtl/setkey.c * tests/setkeys.prg * update some email addresses 2015-05-29 15:37 UTC+0200 Viktor Szakats * contrib/hbzebra/qrcode.c * update some urls 2015-05-29 15:10 UTC+0200 Viktor Szakats * .travis.yml + do brew update before install 2015-05-29 14:41 UTC+0200 Viktor Szakats * .travis.yml + enable osx builds. first try. 2015-05-29 02:59 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg * do not use hb_UserName() for random seed * contrib/xhb/xhb.hbp * contrib/xhb/xhbfunc.c + contrib/xhb/xhbnetn.c * move hb_UserName() dependent function to separate source ; See: c402ce13509aea9e7f8f510cb5adbead8cde5f52 2015-05-27 13:56 UTC+0200 2015-05-29 02:24 UTC+0200 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif + dbu to support up to 256 fields (was: 128) 2015-05-29 00:22 UTC+0200 Viktor Szakats * README.md * follow redirect 2015-05-28 13:53 UTC+0200 Viktor Szakats * contrib/hbssl/hbssl.ch * contrib/hbssl/ssl.c * contrib/hbssl/sslctx.c * follow openssl deprecations 2015-05-28 13:27 UTC+0200 Viktor Szakats * README.md * update one more url 2015-05-28 13:12 UTC+0200 Viktor Szakats * bin/harbour.ucf * README.md * update urls 2015-05-27 13:56 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/Makefile * src/rtl/net.c + src/rtl/netusr.c * moved hb_UserName() to separate file. It uses internally getpwuid() in *nix builds and access to this function adds additional library dependency which may block static builds in some cases. TODO: eliminate hb_UserName() from things like initial random seed to not create unnecessary dependency. [DONE] * contrib/gtqtc/gtqtc1.cpp + enable software input panel (virtual keyboard) in iOS builds 2015-05-27 12:58 UTC+0200 Viktor Szakats * src/rtl/hbfile.c * src/rtl/hbfilehi.prg + hb_FNameExists() rewritten to work on virtual filesystems 2015-05-27 10:40 UTC+0200 Viktor Szakats * utils/hbtest/hbtest.prg + show success when all tests passed * utils/hbtest/rt_hvma.prg + add link to Przemek's answer to long-time pending incompatibility. 2015-05-26 15:39 UTC+0200 Viktor Szakats * contrib/hbtip/client.prg ! close handle if progress was aborted via callback Referring to https://github.com/vszakats/hb/issues/124#issuecomment-105525388 2015-05-26 13:42 UTC+0200 Viktor Szakats * rt_hvma.prg * silence a Cl*pper incompatibility while it's confirmed (or not) as a bug: https://github.com/harbour/core/issues/98 2015-05-26 12:38 UTC+0200 Viktor Szakats * utils/hbtest/rt_array.prg * utils/hbtest/rt_math.prg ! silence more tests when in non-Cl*pper/strict mode 2015-05-26 11:59 UTC+0200 Viktor Szakats * contrib/hbtip/tests/tipwget.prg + demonstrate callback return value * utils/hbtest/rt_misc.prg ! silence two more test errors when in non-strict mode 2015-05-26 11:01 UTC+0200 Viktor Szakats * utils/hbtest/rt_array.prg * utils/hbtest/rt_hvma.prg ! fix some tests to pass in non-strict mode * contrib/hbgd/hbgd.hbp * minor 2015-05-26 10:00 UTC+0200 Viktor Szakats * contrib/hbicu/core.c * contrib/hbicu/hbicu.hbx + add U_FAILURE( <nErrorCode> ) -> <logical> and U_SUCCESS( <nErrorCode> ) -> <logical> * contrib/hbtip/client.prg * contrib/hbtip/tests/tipwget.prg + TIPClient():exGauge() callback return value is now significant; if it's a .F. processing will be aborted, if it's anything else it continues. [INCOMPATIBLE] for any existing callback that returned .F., it will now fail, while it continued before. Closing feature request https://github.com/vszakats/hb/issues/124 2015-05-25 21:16 UTC+0200 Viktor Szakats * contrib/hbtip/log.prg * contrib/hbtip/client.prg ! add missing FO_WRITE when using hb_vfOpen() * contrib/hbtip/client.prg ! fix a typo while moving to FILE IO API Fixes https://github.com/vszakats/hb/issues/123 * package/harbour.rb + add 'desc' 2015-05-25 20:55 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win.bat * minor renames * contrib/hbicu/tests/test.prg + add #require * * ! grammar 2015-05-25 11:14 UTC+0200 Viktor Szakats * contrib/hbmisc/hbedit.prg % minor optimization * extras/gfspell/spell.prg ! fix hb_vfSize() use 2015-05-21 01:02 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_8_10_2.html 2015-05-20 22:44 UTC+0200 Viktor Szakats * src/rtl/strrepl.c ! whitespace [ci-skip] 2015-05-19 19:59 UTC+0200 Viktor Szakats * appveyor.yml * Courtesy of AppVeyor, Harbour got some extra time to finish its builds. Thanks! 2015-05-19 19:34 UTC+0200 Viktor Szakats * contrib/hbtip/mailassy.prg ! fix tip_MailAssemble() (formerly hb_MailAssemble()) to return an empty string instead of logical .F. if there is no sender or 'to' recipient specified. This way the function returns the same type in every occasions. 2015-05-19 15:17 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/common/hbprintf.c * removed modfl() protection with old HB_OS_IPHONE macro. If someone will need it for some old iOS versions then please read it protected by HB_OS_IOS and __IPHONE_OS_VERSION_MIN_REQUIRED macros or inform me about the exact iOS version which do not support modfl() and I'll add it. * include/hbatomic.h * disable GCC atomic macros for GCC <= 4.5 in OS2 builds. They can be manually enabled by users using: set HB_USER_CFLAGS=-DHB_USE_GCCATOMIC 2015-05-19 12:28 UTC+0200 Viktor Szakats * appveyor.yml * disable contrib dynlibs to fit into the AppVeyor 40 minutes build limit. (the build process got slower by 3-4 minutes lately for non-Harbour reasons) 2015-05-18 23:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsetup.h * set HB_OS_IOS when __IPHONE_OS_VERSION_MIN_REQUIRED is defined * include/hbsetup.h * src/common/hbver.c * detect 64-bit ARM CPUs * contrib/hbct/envparam.c * contrib/hbnf/getenvrn.c ! disabled ENVPARAM() and FT_GETE() in iOS builds + added support for FT_GETE() in OS2 builds 2015-05-16 12:35 UTC+0200 Viktor Szakats * * ! get another word right 2015-05-16 02:46 UTC+0200 Viktor Szakats * appveyor.yml * config/bsd/pcc.mk * config/cygwin/gcc.mk * config/global.mk * config/win/mingw.mk * config/win/msvc.mk * contrib/gtalleg/gtallegd.c * contrib/gtqtc/gtqtc.hbp * contrib/gtqtc/hbmk2_qtmoc.hb * contrib/make.hb * contrib/rddads/rddads.h * doc/oldnews.txt * package/mpkg_win.bat * package/RELNOTES.txt * utils/hbmk2/examples/plug_bis.hb * utils/hbmk2/hbmk2.prg ! fix spelling of 'auto-detect' [TRANSLATION] * README.md * use less contractions * tests/guestbk.prg * comment update 2015-05-15 13:33 UTC+0200 Viktor Szakats * bin/*.hb * config/* * contrib/* * doc/* * extras/* * package/mpkg_rpm_win.sh * src/* * tests/* * utils/* * message styling based on these: https://www.postgresql.org/docs/devel/static/error-style-guide.html [TRANSLATION] 2015-05-15 12:42 UTC+0200 Viktor Szakats * contrib/hbgd/tests/counter.prg ! fix dead link 2015-05-15 12:38 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add upcoming libcurl option HB_CURLOPT_PIPEWAIT 2015-05-14 19:46 UTC+0200 Viktor Szakats * contrib/hbnf/dfile.prg * contrib/hbnf/dispc.c % move argument defaulting to C level + verify passed file handle * contrib/hbfimage/tests/test.prg * contrib/hbgd/tests/*.prg * clean and reduce boilerplate code * contrib/hbnf/tests/aemaxlen.prg * contrib/hbnf/tests/amedian.prg * contrib/hbtip/tests/ftp_ul.prg * use hb_Directory() 2015-05-14 19:21 UTC+0200 Viktor Szakats * contrib/hbct/ctstrfil.c ! fix test value slipped into committed version 2015-05-14 14:44 UTC+0200 Viktor Szakats * contrib/hbct/print.c + PRINTSEND() to use FILE API 2015-05-14 14:18 UTC+0200 Viktor Szakats * contrib/xhb/hblog.prg * contrib/xhb/traceprg.prg ! silence RTEs when hb_vfOpen() returns NIL * contrib/hbnf/tempfile.prg * comment * contrib/hbnf/savearr.prg * cleanups 2015-05-14 13:58 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwdraw.c * contrib/gtwvw/wvwutils.c * contrib/hbct/ctstrfil.c * contrib/hbgd/gdwrp.c * contrib/hbmysql/mysql.c * contrib/hbtip/mime.c * contrib/hbwin/win_bmp.c ! try to get FXO_NOSEEKPOS file open flag right: using it only where hb_fileSeek() and hb_fileSize() are not called * contrib/hbgd/gdwrp.c ! GDIMAGEGIFANIMADD() fix when calling it with a filename (regression after recent FILE IO changes) * contrib/hbgd/hbgd.hbp * update project URL 2015-05-14 13:16 UTC+0200 Viktor Szakats * contrib/hbct/ctstrfil.c + remaining functions to use FILE API instead of FS API * README.md * minor 2015-05-14 02:36 UTC+0200 Viktor Szakats * contrib/xhb/freadlin.c ! typo in comment * contrib/xhb/hbserv.c % delete unused code * src/rtl/filebuf.c * minor formatting 2015-05-13 23:05 UTC+0200 Viktor Szakats * contrib/xhb/dbf2txt.c * contrib/xhb/freadlin.c * contrib/xhb/hbxml.c * contrib/xhb/hbxml.h + accept FILE IO handles where FS IO handles were accepted ! hbxml_dataread() fix to work when a file handle is passed to it % code cleanups 2015-05-13 21:07 UTC+0200 Viktor Szakats * contrib/gtwvw/wvwutils.c * contrib/hbsqlit3/core.c + additional functions to use FILE API instead of FS API * contrib/hbcurl/easy.c * contrib/hbcurl/tests/ftp_uldl.prg * internal cleanup to HB_CURLOPT_[UL|DL]_FILE_SETUP handling * contrib/hbcurl/easy.c * contrib/hbgd/gdwrp.c * contrib/hbmisc/hbeditc.c * contrib/hbtip/mime.c * contrib/hbxdiff/core.c % internal cleanup of logic accepting both FILE and FS handles * contrib/gtwvw/wvwdraw.c * contrib/gtwvw/wvwutils.c * contrib/hbgd/gdwrp.c * contrib/hbmysql/mysql.c * contrib/hbnf/dispc.c * contrib/hbsqlit3/core.c % use more hb_fileSize() * contrib/hbsqlit3/core.c ! SQLITE3_BUFF_TO_FILE() fix potential file handle leak * contrib/hbmisc/ffind.c * contrib/hbmisc/hbmisc.hbx * deprecate FileFind*() functions with HB_LEGACY_LEVEL5 2015-05-13 16:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbct/ctwin.c ! added protection against GPF in hb_ctwGetPosWindow() called before any window is open. It's correct version of this fix. * contrib/hbmemio/memio.c * contrib/xhb/xhbfunc.c ! fixed size of filename buffer - it should be exactly HB_PATH_MAX 2015-05-13 15:38 UTC+0200 Viktor Szakats * contrib/hbxdiff/core.c ! fix another typo 2015-05-13 15:05 UTC+0200 Viktor Szakats * contrib/hbct/ctstrfil.c ! fix a typo + FILESTR(): use FILE API * contrib/hbmisc/hbedit.prg * contrib/hbmisc/hbeditc.c * cleanups 2015-05-13 14:20 UTC+0200 Viktor Szakats * contrib/gtwvw/gtwvwd.c * contrib/gtwvw/wvwdraw.c * contrib/gtwvw/wvwutils.c * contrib/hbmysql/mysql.c * contrib/hbnf/dfile.prg * contrib/hbnf/dispc.c * contrib/hbnf/fttext.c * contrib/hbnf/mkdir.c * contrib/hbnf/rmdir.c + use FILE API instead of FS API * contrib/hbct/ctstrfil.c * contrib/hbct/disk.c * contrib/hbct/files.c + FILESCREEN(), DIRMAKE(), SETFATTR(), SETFDATI(), FILEMOVE(), DELETEFILE(): use FILE API * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for passing FILE IO handles to HB_CURLOPT_[UL|DL]_FILE_SETUP options * accept FS IO handles in HB_CURLOPT_[UL|DL]_FILE_SETUP options * deprecate HB_CURLOPT_[UL|DL]_FHANDLE_SETUP options use ones above for same functionality ! fix some minor quirks after previous patch * contrib/hbcurl/tests/ftp_uldl.prg + add tests for FILE IO and FS IO handles * contrib/hbgd/gdwrp.c * contrib/hbmisc/hbedit.prg * contrib/hbmisc/hbeditc.c * contrib/hbtip/mime.c * contrib/hbxdiff/core.c + accept FILE IO handles where FS IO handles were accepted + use FILE IO API internally ! ED_READTEXT(): fix out of bounds memory access when a negative nSize parameter is passed * contrib/hbmisc/tests/pe.prg ! fix to convert input text to CRLF EOLs, since this is the only EOL style supported by these functions * include/hbapifs.h * src/rtl/vfile.c + add hb_fileParamGet() function. Similar to hb_fileParam() but won't throw an RTE on wrong parameter. Makes is useful for type checking. * contrib/gtwvw/tests/demo.prg ! add missing hbtest dependency to allow running as script * contrib/gtwvw/toolbar.c ! fix toolbar not registering mouse events regression after e36b7435b88cf5d3c0795351ede2ed4621c573c9 2015-05-13 02:14 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c + use VF IO API when using HB_CURLOPT_UL_FILE_SETUP or HB_CURLOPT_DL_FILE_SETUP options ! fix a bug where file handle passed via HB_CURLOPT_UL_FHANDLE_SETUP or HB_CURLOPT_DL_FHANDLE_SETUP was closed under certain circumstances, notably when the session was closed. It means this feature was never working reliably since introducing it in 5ae08a0e0ea54a0b472233b39222cc2aa45cf761 * contrib/hbcurl/tests/ftp_uldl.prg ! download CA bundle to make https test downloads work on non-*nix systems * extras/gfspell/spell.prg % FO_READWRITE -> FO_WRITE * contrib/hbnf/dispc.c * comment 2015-05-12 23:50 UTC+0200 Viktor Szakats * src/rdd/hbsix/sxcompat.prg ! fix to use hb_dbDrop() instead of FErase() on an index file * src/rtl/hbdoc.prg * contrib/hbct/tempfile.prg * contrib/hbformat/hbfmtcls.prg * contrib/hbnf/tempfile.prg * contrib/hbtip/cgi.prg * contrib/hbtip/mail.prg * contrib/hbtip/mailassy.prg * contrib/hbtip/mailsend.prg * contrib/hbtip/thtml.prg * contrib/hbziparc/ziparc.prg * contrib/xhb/traceprg.prg * contrib/xhb/xhbtedit.prg * extras/gfspell/spell.prg * extras/hbvpdf/core.prg * extras/hbxlsxml/xlsxml.prg * extras/httpsrv/_cgifunc.prg + more support for VF IO * contrib/hbnf/tempfile.prg + ft_TempFil(): document an HB_EXTENSION * ft_TempFil(): 3rd reference parameter will now return VF handle instead of numeric OS handle, to obtain the OS handle from the VF handle use the hb_vfHandle() function. [INCOMPATIBLE] * extras/gfspell/spell.prg + increase maximum dictionary from 40000 bytes to 512000 + make it use platform EOL and accept any EOL style when reading files (was: fixed CRLF) ! fix to use hb_dbExists() where applicable * contrib/xhb/hblog.prg ! fix to use hb_dbExists() instead of hb_FileExists() where applicable * contrib/xhb/xdbmodst.prg ! fix to use hb_dbDrop() and hb_dbRename() for tables * contrib/xhb/dbgfx.prg * formatting 2015-05-12 17:44 UTC+0200 Viktor Szakats * contrib/hbct/fcopy.prg * contrib/hbhttpd/log.prg * contrib/hbmisc/fileread.prg * contrib/hbnf/floptst.prg * contrib/hbnf/savearr.prg * contrib/hbtip/cgi.prg * contrib/hbtip/client.prg * contrib/hbtip/ftpcli.prg * contrib/hbtip/httpcli.prg * contrib/hbtip/log.prg * contrib/hbziparc/ziparc.prg * contrib/xhb/dbgfx.prg * contrib/xhb/diskhb.prg * contrib/xhb/hblog.prg * contrib/xhb/traceprg.prg * contrib/xhb/xhberr.prg + update to use hb_vf*() functions instead of classic file I/O API. This makes it possible to use virtual FS IO drivers with these functions. ! fix file creation related race-conditions along the way ; possibly added some bugs, I don't use any of that code, so this is untested yet. * contrib/hbct/fcopy.prg % increase internal buffer to 64 KiB (from 512 bytes) * src/rdd/usrrdd/rdds/logrdd.prg ! OpenLogFile() avoid race-condition in file creation * src/rtl/hbdoc.prg * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/memvarhb.prg * src/rtl/profiler.prg * src/rtl/vfile.c % do not open for reading when only write is needed * src/rtl/vfile.c ! whitespace 2015-05-12 16:03 UTC+0200 Viktor Szakats * contrib/hbmysql/hbmysql.hbp * contrib/sddmy/sddmy.hbp + use unversioned mysql client package 2015-05-12 15:41 UTC+0200 Viktor Szakats * src/rdd/usrrdd/rdds/logrdd.prg * src/rtl/adir.prg * src/rtl/dircmd.prg * src/rtl/dirscan.prg * src/rtl/hbdoc.prg * src/rtl/hbfilehi.prg * src/rtl/hbi18n2.prg * src/rtl/hbini.prg * src/rtl/memvarhb.prg * src/rtl/profiler.prg * src/rtl/tlabel.prg * src/rtl/treport.prg * src/rtl/typefile.prg + update to use hb_vf*() functions instead of classic file I/O API. This makes it possible to use virtual FS IO drivers with these functions. ; hb_iniWrite() supported passing a file handle as 1st parameter, this is not supported anymore, instead a VF handle is accepted here. [INCOMPATIBLE] * src/rtl/vfile.c ! fix casing of hb_vf*() in comments * src/rtl/errsys.prg * we're not in MS-DOS anymore * contrib/hbmysql/hbmysql.hbp * contrib/sddmy/sddmy.hbp ! fix mariadb client package names * contrib/xhb/xhberr.prg * minor 2015-05-10 13:40 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://www.sqlite.org/releaselog/3_8_10_1.html * README.md * minor 2015-05-09 12:17 UTC+0200 Viktor Szakats - package/mpkg_win_auto.bat - delete manual build script * appveyor.yml + add HB_WITH_ options from mpkg_win_auto.bat (commented) 2015-05-09 00:35 UTC+0200 Viktor Szakats * README.md * swap badge to new AppVeyor project that uses appveyor.yml + add link to AppVeyor 2015-05-08 22:45 UTC+0200 Viktor Szakats * appveyor.yml * sync-up with latest config 2015-05-08 22:11 UTC+0200 Viktor Szakats * contrib/hbrun/hbrun.hbp * utils/hbmk2/hbmk2.hbp * utils/hbmk2/hbmk2.prg ! changed the way -shared detection is done. HB_VERSION_SHARED based method replaced with simple constant which is defined in .hbp file when building in -shared mode. This should fix detection e.g. on win/mingw64 platform and on any other that don't require separate build passes for dynamic and static objects. * src/rtl/version.c + add FIXME for HB_VERSION_SHARED 2015-05-08 21:20 UTC+0200 Viktor Szakats * config/win/mingw.mk ! fix minor regression 2015-05-08 18:51 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://sqlite.org/releaselog/3_8_10.html 2015-05-08 14:14 UTC+0200 Viktor Szakats * package/harbour.svg % optimize with 'scour' * package/harbour.icns * package/harbour.ico * package/harbour.xpm * rebuild 2015-05-08 03:48 UTC+0200 Viktor Szakats * CONTRIBUTING.md * README.md ! minor corrections 2015-05-08 03:32 UTC+0200 Viktor Szakats * CONTRIBUTING.md * README.md + replace license text with CC-BY-SA Markdown badge 2015-05-07 23:31 UTC+0200 Viktor Szakats * appveyor.yml + use a new URL shortener 2015-05-07 23:17 UTC+0200 Viktor Szakats * package/harbour.rb ! typo 2015-05-07 23:06 UTC+0200 Viktor Szakats * package/harbour.rb * follow Homebrew formula and make x11 optional (was: recommended) * "last known good" version is now installed with '--devel' option + add 3.0.0 as stable version, it is the one installed by default. * README.md * brew command changed to use '--HEAD' to install latest unstable version 2015-05-07 14:05 UTC+0200 Viktor Szakats * package/mpkg_win_daily.bat -> package/mpkg_win_auto.bat * rename * cleanups 2015-05-07 13:27 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/itemseri.c ! fixed stupid typo which could cause buffer overrun during serialization of hash items with default value. Tanks to Abe for reporting the problem. 2015-05-06 11:37 UTC+0200 Aleksander Czajczynski (hb fki.pl) * contrib/hbpgsql/hbpgsql.h * contrib/hbpgsql/postgres.c * contrib/hbpgsql/tpostgre.prg + recognize NAMEOID and OIDOID columns ; Reappled manually with fixes: https://github.com/alcz/harbour/commit/281e95e68111df6de62e0f624d345b495c6fd5cc [vszakats] 2015-05-05 23:37 UTC+0200 Viktor Szakats * contrib/hbct/ctwin.c ! hb_ctwGetPosWindow() do not access unallocated buffer Documented in https://github.com/tfonrouge/harbour/commit/c645b7941d254ac8c2fab75800c91ad6c492d54a * README.md * minor 2015-05-05 20:06 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/disksphb.c * added default path setting in hb_fsDiskSpace() * src/rtl/vfile.c * removed recent modification - it's not longer necessary 2015-05-05 19:50 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/vfile.c ! do not pass NULL pointer to hb_fileDirSpace() 2015-05-05 19:35 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/filebuf.c ! fixed GPF when NULL filename is passed to Accept() method * include/hbclass.ch * indenting 2015-05-05 17:08 UTC+0200 Viktor Szakats * appveyor.yml ! adjust artifacts * package/mpkg_win_daily.bat * package/mpkg_win.bat * package/RELNOTES.txt * README.md * cleanup terminology. Still messy. 2015-05-05 11:09 UTC+0200 Viktor Szakats * README.md ! minor fixes 2015-05-04 20:29 UTC+0200 Viktor Szakats * config/global.mk ! fix recent regression when detecting gcc version * src/compiler/compi18n.c ! silence gcc 5.1.1 warning 2015-05-04 19:46 UTC+0200 Viktor Szakats * src/pp/hbpp.c % do not add SVN ID comment to generated output 2015-05-04 17:41 UTC+0200 Viktor Szakats * README.md ! fix URL 2015-05-04 17:15 UTC+0200 Viktor Szakats * README.md * move binaries into another repository * tweaks 2015-05-04 17:04 UTC+0200 Viktor Szakats * README.md + add GitHub URL to stable source + add URL to Windows binaries updated after each commit [ci-skip] 2015-05-04 12:41 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbmemio/memio.c ! fixed GPF in hb_VFDirectory( "mem:..." ) - many thanks to Rolf for locating the problem and fix. 2015-05-03 23:10 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c ! revert 7a790811b75fe9f249a345d3fad8a91bda8852c9 2015-04-29 11:57 UTC+0200 2015-05-03 22:33 UTC+0200 Viktor Szakats * appveyor.yml * minor cleanup 2015-05-03 21:44 UTC+0200 Viktor Szakats * contrib/hbmemio/memio.c ! fix memory corruption in *Directory() functions since regression in 7349602fcbd9b336183d2fa355454c60cb2f91e1 Reported and fix suggested by Rolf: https://groups.google.com/d/msg/harbour-devel/8gjH0fYrIhM/5RQjwck4EaYJ 2015-04-30 18:15 UTC+0200 Viktor Szakats * README.md ! fix Travis-CI badge to master branch 2015-04-30 13:33 UTC+0200 Viktor Szakats * contrib/hbicu/core.c * contrib/hbicu/hbicu.hbx * contrib/hbicu/tests/test.prg + add hb_u_getVersion() -> <cVersion> * contrib/hbicu/hbicu.hbp ! fix copy-paste type causing to continue without ICU Fixes https://github.com/vszakats/hb/issues/120 * contrib/hbicu/hbicu.hbc + link static stdc++ library * README.md - delete sourcegraph.com badge and link. It just doesn't work with this repository. 2015-04-30 11:11 UTC+0200 Viktor Szakats * contrib/hbicu/hbicu.hbc + add untested support for *nix systems 2015-04-30 02:51 UTC+0200 Viktor Szakats * contrib/hbhpdf/3rd/libhpdf/libhpdf.hbp * contrib/hbhpdf/hbhpdf.hbp * contrib/hbmxml/3rd/minixml/mxml.hbp * contrib/hbmxml/hbmxml.hbp * contrib/hbmxml/tests/testmxml.prg * contrib/hbmzip/3rd/minizip/minizip.hbp * contrib/hbssl/hbssl.hbm * src/3rd/zlib/Makefile * url updates 2015-04-29 17:20 UTC+0200 Viktor Szakats + contrib/hbicu/core.c + contrib/hbicu/hbicu.hbc + contrib/hbicu/hbicu.hbp + contrib/hbicu/hbicu.hbx + contrib/hbicu/tests/hbmk.hbm + contrib/hbicu/tests/test.prg + add ICU puller wrapper to make it easy to add ICU to an application * contrib/3rd/sqlite3/sqlite3.hbc * contrib/3rd/sqlite3/sqlite3.hbp * use hbicu to check for ICU and pull requires settings 2015-04-29 16:02 UTC+0200 Viktor Szakats * bin/3rdpatch.hb * src/3rd/pcre/Makefile * src/3rd/pcre2/Makefile + use https download URLs for pcre 2015-04-29 15:21 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbc + add ICU4C support at build-time (only tested with recommended mingw version) 2015-04-29 14:38 UTC+0200 Viktor Szakats * src/3rd/pcre/Makefile * src/3rd/pcre/* * updated to pcre 8.37 2015-04-29 11:57 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * recently added features came earlier with 7.42.1 2015-04-29 02:55 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp + use ICU4C lib if available (*nix platforms will need further adjustments) 2015-04-29 00:50 UTC+0200 Viktor Szakats * debian/control ! fix typo. Regression from b52173a3f9dba66fcfd36c8f96b75c2b96db18d8 * src/rdd/dbf1.c ! fix bad typo. Regression from 54819d7ed75f3aee7faf3c75645c1ca7498356b6 ; Both of these nicely spotted by Rolf (aka 'elch'). Thanks a lot! https://groups.google.com/d/msg/harbour-users/Efpv_JIi9eM/jvNUASPbnd0J 2015-04-28 14:37 UTC+0200 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add support for upcoming libcurl 7.43.0 features: CURLOPT_PROXY_SERVICE_NAME CURLOPT_SERVICE_NAME 2015-04-28 01:42 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + implemented mingw/gcc version detection in hbmk2 and core make based on string returned by '-v' option instead of relying on naming of files. If this turns out to be working, global.mk can be further simplified and HB_COMPILER_VER autodetection added with HB_COMPILER set. Only tested with the latest recommended mingw release. * utils/hbmk2/hbmk2.prg ! fix default pocc version to be 0405 instead of 0450 (for 4.5.0) + '-info' to show detected C compiler version 2015-04-27 18:05 UTC+0200 Viktor Szakats * config/global.mk * utils/hbmk2/hbmk2.prg + add mingw 5.1 autodetection * README.md * config/win/mingw.mk * updates for mingw 5.1 2015-04-27 17:21 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rdd/workarea.c ! fixed typo in RDDI_AUTOORDER type - it should be numeric just like in _SET_AUTORDER. Many thanks to Rolf for locating the problem 2015-04-27 03:29 UTC+0200 Viktor Szakats * package/getmingw.bat % simplify prev 2015-04-27 02:31 UTC+0200 Viktor Szakats * package/getmingw.bat ! minor correction 2015-04-25 10:49 UTC+0200 Viktor Szakats * contrib/hbwin/hbwin.ch + add two missing WIN_HWND_* constants 2015-04-24 19:56 UTC+0200 Viktor Szakats * src/rtl/gtwin/gtwin.c + add HB_GTI_WINHANDLE support to GTWIN 2015-04-22 22:29 UTC+0200 Viktor Szakats * package/mpkg_win.bat - copying 3rd libs was unnecessary they are moved there by the build * package/RELNOTES.txt * whitespace 2015-04-22 21:36 UTC+0200 Viktor Szakats * package/mpkg_win.bat + add lib/3rd to final package % simplify final file list 2015-04-22 20:01 UTC+0200 Viktor Szakats * package/mpkg_win.bat ! fixes to prev 2015-04-22 19:01 UTC+0200 Viktor Szakats * package/mpkg_win.bat ! fix to prev + enable unicows libs after solving the bloat problem 2015-04-22 16:02 UTC+0200 Viktor Szakats * package/mpkg_win.bat + add code to include unicows libs to unified installer (commented to save size, anybody interested in these anyway?) % filter out root dir from list of platforms in BUILD.txt * reorder some option for uniformity 2015-04-22 13:28 UTC+0200 Viktor Szakats * package/mpkg_win.bat ! fix to prev 2015-04-22 12:44 UTC+0200 Viktor Szakats * package/mpkg_win.bat * package/RELNOTES.txt + create BUILD.txt that includes build settings, tool/dependency information and platform support included in the package 2015-04-22 09:38 UTC+0200 Viktor Szakats * README.md * config/postinst.hb - delete 7z SFX creation for non-unified packages (it was working, but a pain to maintain and pbly won't be used by (m)any) * utils/hbmk2/hbmk2.prg + add another ugly hack in mingw implib creation, this time to force skipping .def file even if present (dlltool fails with a syntax error when processing .def file and returns 0 anyway - it may be due to LTO stuff in .def output, not sure) * contrib/hbcurl/hbcurl.hbp + support implib creation for curl built directly from source (disable .def file processing with mingw) 2015-04-21 21:06 UTC+0200 Viktor Szakats * appveyor.yml + find msvs 2015 * minor cleanup * contrib/hbunix/linux.prg * update url 2015-04-21 15:21 UTC+0200 Viktor Szakats * package/mpkg_win.bat % deal with bcc implib trickery only if the package actually ships with bcc libs 2015-04-21 01:44 UTC+0200 Viktor Szakats * config/common/watcom.mk * contrib/hbgs/hbgs.hbp * update urls 2015-04-21 00:55 UTC+0200 Viktor Szakats * package/mpkg_win_uni.bat * package/RELNOTES.txt * package/install_mingw.bat -> package/getmingw.bat * rename * add some TODO + open RELNOTES.txt on install (was README.md) * appveyor.yml * package/mpkg_win_daily.bat * README.md * package/mpkg_win_uni.bat -> package/mpkg_win.bat * rename 2015-04-20 23:34 UTC+0200 Viktor Szakats * README.md * minor cleanup 2015-04-20 22:30 UTC+0200 Viktor Szakats * appveyor.yml * package/mpkg_win_daily.bat * README.md * package/winuni/ADDONS.txt -> package/ADDONS.txt * package/winuni/install_mingw.bat -> package/install_mingw.bat * package/winuni/mpkg_win_uni.bat -> package/mpkg_win_uni.bat * package/winuni/RELNOTES.txt -> package/RELNOTES.txt * promote unified installs as _the_ packaging type * update README.md 2015-04-20 21:39 UTC+0200 Viktor Szakats * appveyor.yml * package/winuni/mpkg_win_uni.bat * cleanups + add internal debug option for build script 2015-04-20 21:01 UTC+0200 Viktor Szakats * appveyor.yml % disable non-unified archive to be built * config/postinst.hb + show size of the non-unified archive when built ! fix to escape '%' for hb_StrFormat() in 7z config * utils/hbmk2/hbmk2.prg ! fix typos in 2015-04-20 17:16 UTC+0200 patch to actually work 2015-04-20 19:12 UTC+0200 Viktor Szakats * config/postinst.hb ! fix to prev * package/winuni/install_mingw.bat + give feedback * package/winuni/mpkg_win_uni.bat + include core 3rd party headers in package 2015-04-20 18:05 UTC+0200 Viktor Szakats * config/postinst.hb * package/mpkg_win_daily.bat * package/winuni/mpkg_win_uni.bat ! revert back to 7za (from 7z) 2015-04-20 17:16 UTC+0200 Viktor Szakats * config/postinst.hb * package/winuni/mpkg_win_uni.bat * change 7z archives to not contain a main directory, it messes up SFX installs. * utils/hbmk2/hbmk2.prg + find mingw 'comp/mingw32' subdir just like in 'comp/mingw' 2015-04-20 16:17 UTC+0200 Viktor Szakats * appveyor.yml * zip -> 7z 2015-04-20 16:12 UTC+0200 Viktor Szakats * config/postinst.hb * package/mpkg_win_daily.bat + use .7z format for non-unified packages (one reason is the SFX module doesn't support zip format) ! fix to delete .7z if .7z.exe is made successfuly ! fix template mask in 7z config 2015-04-20 15:46 UTC+0200 Viktor Szakats * config/postinst.hb ! fix to really exclude some files from the install package 2015-04-20 15:38 UTC+0200 Viktor Szakats * appveyor.yml + download 7z to bundle with to the install package ! add -y to 7z commands * cleaned artifacts * config/postinst.hb * package/mpkg_win_daily.bat % create _either_ a .zip package or a .zip.exe package if applicable and tools are available * package/winuni/mpkg_win_uni.bat + bundle 7z license to install package 2015-04-20 14:59 UTC+0200 Viktor Szakats * config/postinst.hb ! fix to prev 2015-04-20 14:40 UTC+0200 Viktor Szakats * config/postinst.hb * package/winuni/mpkg_win_uni.bat + try 'nowait' when launching notepad 2015-04-20 14:33 UTC+0200 Viktor Szakats * appveyor.yml + avoid http redirects * config/postinst.hb ! fix backslash escaping in 7z config * package/winuni/mpkg_win_uni.bat ! fix to include install_mingw.bat in the package + include core 3rd party .h headers in the package ! correct two installer messages * package/winuni/RELNOTES.txt * updates 2015-04-20 13:03 UTC+0200 Viktor Szakats * appveyor.yml ! adjust artifact names * package/winuni/mpkg_win_uni.bat ! fix peculiar batch problem where empty lines around '::' comments cause 'The syntax of the command is incorrect.' error * appveyor.yml * package/winuni/mpkg_win_uni.bat * use canonical URL for a tool * package/winuni/install_mingw.bat + use more resilient batch code 2015-04-20 06:23 UTC+0200 Viktor Szakats * config/postinst.hb ! typo * package/winuni/install_mingw.bat ! fix to delete downloaded zip 2015-04-20 05:45 UTC+0200 Viktor Szakats * README.md * update appveyor badge 2015-04-20 05:36 UTC+0200 Viktor Szakats * config/postinst.hb + replace NSIS installer with 7z SFX solution - package/mpkg_win.nsi - package/winuni/mpkg_win_uni.nsi * .gitattributes % remove NSIS build file * README.md * minor fix to prev 2015-04-20 05:18 UTC+0200 Viktor Szakats * README.md ! casing typo * language * appveyor.yml * README.md * contrib/hbexpat/3rd/expat/expat.hbp * restored some links for the second time * appveyor.yml * package/mpkg_win_daily.bat * package/winuni/mpkg_win_uni.bat + package/winuni/install_mingw.bat + convert text files to Windows EOL style for the inified install + replace NSIS with 7z SFX module for the unified installer + change to _not_ include mingw by default in unified install package + add batch 'install_mingw.bat' to download and unpack mingw into the Harbour tree + include 7za.exe in the unified install to allow mingw package to be unpacked 2015-04-20 02:23 UTC+0200 Viktor Szakats * config/postinst.hb + convert text files to target platform's EOL format on install 2015-04-20 01:07 UTC+0200 Viktor Szakats * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi ! fix 'Harbour (Command line)' shortcut when installed into a path with spaces 2015-04-20 00:23 UTC+0200 Viktor Szakats * appveyor.yml + allow https to http redirects in order to "play well" with sourceforge URLs * config/lang.hb + allow only https redirects * bin/3rdpatch.hb + make sure not to allow protocol downgrade on redirects * contrib/hbexpat/3rd/expat/expat.hbp * use http url to play well with 3rdpatch.hb that now doesn't allow protocol downgrade on redirects * package/mpkg_win.nsi * package/winuni/mpkg_win_uni.nsi + fix 'cd' command in created shortcuts (they may not have worked if Harbour was installed on a different drive than the current one) 2015-04-19 19:05 UTC+0200 Viktor Szakats * appveyor.yml * contrib/hbexpat/3rd/expat/expat.hbp * README.md ! revert 83cfb3e290547338540e8b2590e23e88d251af4e that mirror seems to have gotten misconfigured since 2015-04-19 18:21 UTC+0200 Viktor Szakats * contrib/hbtip/mime.c * contrib/hbzebra/qrcode.c * contrib/xhb/hbserv.c % use 'const' * contrib/hbwin/tests/ole.prg + add HTTPS download example 2015-04-17 09:51 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + add -haltrev[-] option to not increase _HBMK_BUILD_ID_ and _HBMK_VCS_ID_ revision numbers when specified ; [TRANSLATION] 2015-04-15 17:49 UTC+0200 Viktor Szakats * src/rtl/hblpp.c * formatting 2015-04-15 00:48 UTC+0200 Viktor Szakats * contrib/make.hb % use hb_jsonDecode() new call format NOTE: Harbour core/utils need to be rebuilt * src/rtl/hbtoken.c ! fix what it looks like a typo in an unused constant name 2015-04-14 15:05 UTC+0200 Viktor Szakats * src/rtl/hbjson.c + add new, simpler way to call hb_jsonDecode(), when the decoded length is not needed. In such case it's enough to omit the second reference parameter and the decoded value will be returned directly: hb_jsonDecode( cJSON ) --> xValue 2015-04-13 17:41 UTC+0200 Viktor Szakats * contrib/hbamf/amfenc.c ! ANSI C89 regression in 882f382803668bf7104541fdf13a564dfe49188b due to unnecessary line rearrangement Fixes https://github.com/vszakats/hb/issues/118 2015-04-09 19:51 UTC+0200 Viktor Szakats * appveyor.yml * contrib/hbexpat/3rd/expat/expat.hbp * README.md + direct https mirrors for sf.net downloads 2015-04-09 19:39 UTC+0200 Viktor Szakats * src/vm/Makefile * src/vm/vmmt/Makefile + src/vm/legacy.c + add stub for hb_arrayScan() to keep compatibility with binaries made for older/mainline versions. Resolves https://github.com/vszakats/hb/issues/117 2015-04-09 13:16 UTC+0200 Viktor Szakats * bin/commit.hb + bin/.clang-format + add EXPERIMENTAL formatting rules for clang-format 2015-04-09 11:34 UTC+0200 Viktor Szakats * contrib/hbsqlit3/core.c * contrib/hbsqlit3/hbsqlit3.hbx + add sqlite3_status64() % adjust variable scopes ! fix to reset reference parameters in functions with functionality disabled 2015-04-09 11:22 UTC+0200 Viktor Szakats * contrib/3rd/sqlite3/sqlite3.hbp * contrib/3rd/sqlite3/sqlite3.dif * contrib/3rd/sqlite3/* * update sqlite3 to https://sqlite.org/releaselog/3_8_9.html 2015-04-09 04:09 UTC+0200 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif + add very basic support for field types with flags 2015-04-09 00:20 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * contrib/hbnetio/netiosrv.c * contrib/hbtcpio/tcpio.c * call hb_socketShutdown() before hb_socketClose() to force output buffer flush in systems like MS-Windows. 2015-04-07 21:09 UTC+0200 Viktor Szakats * utils/hbmk2/hbmk2.prg + enable '--no-demangle' linker option for gcc compilers to avoid displaying corrupted function names in linker output. This is disabled if -cpp option is used. See also: https://groups.google.com/d/topic/harbour-devel/QgOXOphKHz8/discussion 2015-04-07 17:26 UTC+0200 Viktor Szakats * include/hbapi.h * src/vm/arrays.c % hb_arrayScan() compatibility reworked to have no runtime overhead 2015-04-07 17:19 UTC+0200 Viktor Szakats * src/vm/arrays.c ! typo in prev commit 2015-04-07 17:12 UTC+0200 Viktor Szakats * contrib/hbxpp/xppopc.c * contrib/xhb/xhbmsgs.c * include/hbapi.h * src/vm/arrays.c * src/vm/arrayshb.c * rename hb_arrayScan() to hb_arrayScanCase() * restore hb_arrayScan() with the original interface (without the extra <fMatchCase> option) to keep compatiblity with 3rd party code and mainline Harbour. hb_arrayScan( ... ) is equivalent to hb_arrayScanCase( ..., HB_TRUE ). ; Resolves https://github.com/vszakats/hb/issues/116 2015-04-07 12:01 UTC+0200 Viktor Szakats * README.md * update example 2015-04-07 11:19 UTC+0200 Viktor Szakats * contrib/xhb/xcstr.prg ! ValToTimestamp() fix conversion for C and D input types * src/rdd/dbsdf.prg * src/rdd/dbstrux.prg ! whitespace 2015-04-06 20:24 UTC+0200 Viktor Szakats * ChangeLog.txt + document 2nd parameter of HB_TSTOSTR() 2015-04-06 19:31 UTC+0200 Viktor Szakats * README.md % use new comment style (except for MS-DOS and OS/2) 2015-04-06 19:26 UTC+0200 Viktor Szakats * README.md % delete unnecessary parenthesis 2015-04-06 19:19 UTC+0200 Viktor Szakats * extras/rddado/ado.prg * minor cleanup to prev * include/std.ch * src/debug/dbgmenu.prg * tests/round.prg * tests/set.prg * utils/hbtest/rt_misc.prg ! whitespace 2015-04-06 18:39 UTC+0200 Viktor Szakats * contrib/hbmysql/tmysql.prg * contrib/hbpgsql/tests/dbf2pg.prg * contrib/hbtest/table.prg * contrib/xhb/htmutil.prg * extras/rddado/ado.prg * src/rdd/dbstrux.prg * src/rdd/dbtotal.prg * src/rdd/hbsix/sxcompat.prg ! fix to handle when table field type has flags * contrib/hbpgsql/tests/dbf2pg.prg + support more source field types * contrib/hbtest/table.prg * src/rdd/dbstrux.prg ! support wider field widths * contrib/xhb/decode.prg * contrib/xhb/hbstruct.prg * contrib/xhb/thtm.prg * contrib/xhb/xcstr.prg * src/rdd/usrrdd/rdds/arrayrdd.prg * tests/dbi.prg + add timestamp support * contrib/xhb/htmutil.prg ! fix to recognize more field types as numeric * contrib/xhb/xcstr.prg * contrib/xhb/xhb.hbx + add ValToTimestamp() (NOTE: this one is not available in xHarbour itself) * include/dbinfo.ch * some comments added * src/debug/dbgwa.prg + leave space for field type flags and more space for width ! casing * src/rdd/dblist.prg * src/rdd/dbsdf.prg * src/rdd/dbsort.prg * src/rdd/dbstrux.prg * src/rdd/dbtotal.prg ! whitespace * src/rdd/dbtotal.prg ! fix to recognize more memo types * src/rdd/usrrdd/rdds/arrayrdd.prg % optimize out hb_Decode() function * tests/dbi.prg ! use constants ! typos * cleanups 2015-04-05 23:35 UTC+0200 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif + add two more field types ! some fixes to prev 2015-04-05 20:56 UTC+0200 Viktor Szakats * extras/dbu/dbu53.dif * cleanup to prev 2015-04-05 20:51 UTC+0200 Viktor Szakats * extras/dbu/dbu52.dif * extras/dbu/dbu53.dif + add basic support for most Harbour field types * contrib/hbcurl/tests/ftp_uldl.prg * minor cleanups 2015-04-03 11:43 UTC+0200 Viktor Szakats * contrib/hbwin/win_svc.c + win_ServiceInstall() add two new optional parameters: <cUsername> (5th) and <cPassword> (6th) ! win_ServiceInstall() do not convert an omitted <cDisplayName> (2nd) parameter to empty string, pass it to Windows as NULL instead 2015-04-02 02:40 UTC+0200 Viktor Szakats * config/global.mk + autodetect MSVS 2015 C compiler * src/rtl/gttone.c ! fix to compile with MSVS 2015 * utils/hbmk2/hbmk2.prg * use DO CASE 2015-04-01 16:38 UTC+0200 Viktor Szakats * src/3rd/png/* * src/3rd/png/Makefile * src/3rd/png/png.dif * update libpng to 1.6.17 2015-04-01 15:09 UTC+0200 Viktor Szakats * include/hbsetup.h * README.md * update for upcoming MSVS version 2015-04-01 14:59 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c ! fixed typo in my previous commit for AltD() function detection Thanks to Franček Prijatelj for reporting the problem and Abe for self contain example * src/rdd/dbfcdx/dbfcdx1.c * reverted byte order in Harbour CDX signature - by mistake I used little endian. When existsing index is open then reverted signatures are accepted for backward compatiblity though they will be removed in the future. * src/rdd/workarea.c * move results of EVALBLOCK() RDD method from Harbour stack return item to workarea valResult item instead of copping it. ; Warning: This modification may exploit problems in code which wrongly looks for result of EVALBLOCK() RDD method in HVM stack return item instead of workarea valResult item. 2015-04-01 11:45 UTC+0200 Viktor Szakats * src/rdd/dbcmd.c * src/rdd/dbcmd53.c * src/rdd/workarea.c % clean a variable scope * correct a variable type * merge dangling copyright messages, add year of contribution 2015-04-01 03:05 UTC+0200 Viktor Szakats * contrib/hbwin/tests/ole.prg ! fix shortcuts to directories with spaces/commas * README.md + add link to Git for Windows package with easy to find portable packages * package/winuni/mpkg_win_uni.bat * style 2015-03-31 23:31 UTC+0200 Viktor Szakats * contrib/hbpgsql/hbpgsql.hbx * contrib/hbpgsql/postgres.c + add PQresStatus( <nNum> ) -> <cString> * contrib/hbmisc/hbeditc.c * delete double empty lines 2015-03-31 20:46 UTC+0200 Viktor Szakats * include/hbexprb.c ! fix misplaced declaration in prev commit 2015-03-31 20:25 UTC+0200 Viktor Szakats * contrib/gtwvg/wvgcuig.c * contrib/gtwvw/gtwvwd.c * contrib/hbamf/amf*.c * contrib/hbcairo/core.c * contrib/hbct/*.c * contrib/hbmemio/memio.c * contrib/hbmisc/*.c * contrib/hbnetio/netio*.c * contrib/hbnf/fttext.c * contrib/hbtip/mime.c * contrib/hbwin/*.c * contrib/hbzebra/*.c * contrib/rddads/*.c * contrib/rddbm/bmdbfx.c * contrib/rddsql/sql*.c * contrib/sddmy/core.c * contrib/sddpg/core.c * contrib/xhb/*.c * extras/gfspell/spellc.c * include/hbexpra.c * include/hbexprb.c * src/common/*.c * src/compiler/*.c * src/nortl/nortl.c * src/pp/ppcore.c * src/rtl/*.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gttrm/gttrm.c * src/rtl/gtxwc/gtxwc.c % variable scopes adjusted (the first pass on these sources was done with a less thorough analyzer setting) 2015-03-31 00:26 UTC+0200 Viktor Szakats * include/hbdefs.h * src/rdd/*.c * src/rdd/dbfcdx/dbfcdx1.c * src/rdd/dbffpt/dbffpt1.c * src/rdd/dbfnsx/dbfnsx1.c * src/rdd/dbfntx/dbfntx1.c * src/rdd/hbsix/*.c * src/rdd/hsx/hsx.c * src/rdd/usrrdd/usrrdd.c * src/vm/*.c % variable scopes adjusted * minor cleanups along the way 2015-03-30 13:57 UTC+0200 Viktor Szakats * src/codepage/uc16def.c * tests/uc16_gen.prg * src/common/*.c * src/compiler/*.c * src/pp/*.c * src/rtl/*.c * src/rtl/gtcrs/gtcrs.c * src/rtl/gtdos/gtdos.c * src/rtl/gtgui/gtgui.c * src/rtl/gtpca/gtpca.c * src/rtl/gtsln/gtsln.c * src/rtl/gtsln/gtsln.h * src/rtl/gtsln/kbsln.c * src/rtl/gtsln/keytrans.c * src/rtl/gtstd/gtstd.c * src/rtl/gttrm/gttrm.c * src/rtl/gtwin/gtwin.c * src/rtl/gtwvt/gtwvt.c * src/rtl/gtxwc/gtxwc.c % variable scopes adjusted * minor cleanups along the way 2015-03-30 12:11 UTC+0200 Viktor Szakats * contrib/hbnetio/netiocli.c * backtracking from a previous commit (it seems better style to not narrow the scope of a buffer having an alias on an upper level) 2015-03-30 09:18 UTC+0200 Viktor Szakats * contrib/gtalleg/gtallegd.c * contrib/gtqtc/gtqtc1.cpp * contrib/gtwvg/*.c * contrib/gtwvw/*.c * contrib/hbamf/amfenc.c * contrib/hbcairo/core.c * contrib/hbct/*.c * contrib/hbfbird/firebird.c * contrib/hbgd/gdwrp.c * contrib/hbgt/strcount.c * contrib/hbmemio/memio.c * contrib/hbmisc/*.c * contrib/hbmxml/core.c * contrib/hbmzip/mzip.c * contrib/hbnetio/netio*.c * contrib/hbsqlit3/core.c * contrib/hbtip/mime.c * contrib/hbwin/*.c * extras/gfspell/spellc.c ! fix missing NULL checks ! fix missing parenthesis % variable scopes adjusted ! fix unnecessary var initialization ! fix missing var initialization ! fix passing uninitalized buffer to Windows API ! fix possible unused value warning * README.md + added link to Cppcheck static analysis tool 2015-03-29 16:50 UTC+0200 Viktor Szakats * contrib/hbnf/settime.c * contrib/hbwin/axcore.c * silence potential uninitialized variables warnings * contrib/hbxdiff/core.c * contrib/hbzebra/*.c * contrib/rddads/ads1.c * contrib/rddads/adsx.c * contrib/rddbm/bmdbfx.c * contrib/rddsql/sqlmix.c * contrib/sddfb/core.c * contrib/xhb/*.c % variable scopes * cleaned some ambiguous expressions 2015-03-29 13:27 UTC+0200 Viktor Szakats * config/detect.mk + detect ncurses on win platform (it's part of recommended mingw distro, inside /opt/include) * src/rtl/gtcrs/gtcrs.h ! fixes to compile on win (still fails due to some *nix specific code) 2015-03-29 13:03 UTC+0200 Viktor Szakats * contrib/hbfimage/hbfimage.hbp * update to support implib generation for latest versions * utils/hbmk2/hbmk2.prg * remove EXPERIMENTAL tag from some features * package/winuni/RELNOTES.txt * version updates 2015-03-29 03:08 UTC+0200 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * make hbrun optional 2015-03-28 18:41 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! try fixing a bug 2015-03-28 18:11 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * debug * package/winuni/RELNOTES.txt * cleanup 2015-03-28 18:00 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.nsi ! default dir didn't work 2015-03-28 17:56 UTC+0100 Viktor Szakats * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvw/tests/demo.prg % delete unnecessary hb_dbDrop() calls and index names for temp tables * contrib/hbtest/tests/test.prg * minor * contrib/hbtest/table.prg * contrib/hbwin/win_err.prg % minor optimizations * contrib/hbwin/win_err.prg * update SDK version 2015-03-28 17:31 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat + add internal option 2015-03-28 17:14 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! typo 2015-03-28 16:53 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * package/winuni/RELNOTES.txt * rely more on cwd instead of HB_RT + include version number in RELNOTES for daily build 2015-03-28 16:32 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat + add some comment 2015-03-28 15:45 UTC+0100 Viktor Szakats * tests/test.dbf * clean NOTES column to have less redundant text, to make it smaller when embedded into hbtest * contrib/hbtest/hbtest.hbp * contrib/hbtest/hbtest.hbx * contrib/hbtest/tests/test.prg + contrib/hbtest/table.prg + add hbtest_Table( [<cAlias>][, ...RDD options...] ) -> <lSuccess> it will create and open a temp table with the content of tests/test.dbf. The table will be opened in exclusive mode and each call will create a unique instance of the table. + table.prg includes a self-generator script, which will regenerate itself based on tests/test.dbf content, when run with 'hbrun' as a script. * appveyor.yml + switch to NSIS3 ! switch to mingw with win32 threads * config/postinst.hb * delete '-v2' NSIS option -> display a summary of the NSIS process * README.md ! switch back to win32 threaded mingw. posix needs mingw/bin be put in PATH to work properly due to pthread .dll dependencies of internal compiler tools (e.g. cc1) * contrib/hbwin/hbwinole.h ! casing in comment * package/mpkg_win.nsi + enable new NSIS3 options when possible * package/mpkg_win_daily.bat * minor cleanups * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + make upx optional ! include mingw/mingw64 runtime .dlls when needed + prepare for the case when mingw64 is the embedded compiler and not mingw + prepare for the case when no mingw compiler is embedded * src/rtl/gtwin/gtwin.c ! move misplaced comment to its proper location * contrib/gtwvg/tests/_tbrowse.prg * contrib/gtwvg/tests/_wvtcls.prg * contrib/gtwvg/tests/demowvg.prg * contrib/gtwvg/tests/demowvg1.prg * contrib/gtwvg/tests/hbmk.hbm * contrib/gtwvw/tests/demo.prg * contrib/gtwvw/tests/hbmk.hbm * contrib/gtwvw/tests/prog0.prg * contrib/gtwvw/tests/prog1.prg * contrib/gtwvw/tests/prog2.prg * contrib/hbtip/tests/dbtohtml.prg + leverage hbtest_Table() instead of depending on tests/test.dbf physical file. Should workaround issue https://github.com/vszakats/hb/issues/114 2015-03-27 17:18 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! fix two line splits * whitespace 2015-03-27 15:40 UTC+0100 Viktor Szakats * contrib/hbwin/win_proxyc.c + add option to enable using winhttp.h (off by default) + add option to enable WINHTTP_AUTO_DETECT_TYPE_DHCP 2015-03-27 17:00 UTC+0100 Viktor Szakats * src/debug/dbgentry.c * whitespace 2015-03-27 16:21 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/debug/dbgentry.c % small optimizations * src/rtl/gtwvt/gtwvt.c ! fixed extended keycodes generated for ASCII characters * src/rtl/gtwin/gtwin.c % removed meaningless code * src/rtl/inkeyapi.c * added translation for extended keycodes to ASCII characters in hb_keyChar() 2015-03-27 13:07 UTC+0100 Viktor Szakats * README.md * trying to format something 2015-03-27 10:08 UTC+0100 Viktor Szakats * README.md * split line 2015-03-27 09:56 UTC+0100 Viktor Szakats * package/mpkg_win_daily.bat * use shallow git clone instead of source tarball to let us allow to extract git revision information. * package/winuni/mpkg_win_uni.bat * split some long line * README.md + add view counter via sourcegraph.com 2015-03-27 00:46 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * avoid a warning message 2015-03-26 19:46 UTC+0100 Viktor Szakats * package/mpkg_win_daily.bat * replace hard-coded values with variables * package/winuni/mpkg_win_uni.nsi + add NSIS 3 specific implementation of some logic 2015-03-26 18:06 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * bloody hell 2015-03-26 17:19 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! fix putting ADDONS.txt in place 2015-03-26 15:13 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.nsi ! fix a missed rename 2015-03-26 14:11 UTC+0100 Viktor Szakats - package/winuni/HARBOUR_README_*.txt * README.md * delete compiler placeholder READMEs * move mingwarm install instructions into README.md * revise and update mingwarm install instructions * bin/commit.hb * package/winuni/HARBOUR_README_ADDONS.txt -> package/winuni/ADDONS.txt * rename to have short name + update its content * package/mpkg_win_daily.bat * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + replace HB_OPT_NSIS control options with autodetection inside the .nsi itself + make mingw libs optional - delete support for x64 hosted binaries with -x64 suffixes + detect and include in .nsi package djgpp, pocc, watcom if available * src/common/hbver.c ! fix compile error when building for wce regression from c236e1353e5f24707545f79303c85dd69495e9af ! define the two other VER_NT_* constants, if not set 2015-03-26 02:38 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.nsi + add option to disable 32-bit mingw libs 2015-03-26 01:46 UTC+0100 Viktor Szakats * contrib/hbwin/win_proxyc.c * comment cleanup * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + make some contrib components optional * README.md - delete just added 3rd party service that fails to work 2015-03-26 00:07 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi + adjust masks to allow 64-bit hosted installs 2015-03-25 22:28 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * debug off ! fix typos in prev 2015-03-25 21:36 UTC+0100 Viktor Szakats * config/postinst.hb ! missing .txt extension in MS-DOS builds * package/winuni/mpkg_win_uni.bat * debug changes 2015-03-25 20:42 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat + use mingw64 base system if it's the only one available + add missing CONTRIBUTING.md from .7z package % silence 7z * package/winuni/mpkg_win_uni.nsi ! typo in ChangeLog.txt name * make root docs mandatory 2015-03-25 20:09 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi ! apply recent changes in file layout 2015-03-25 19:38 UTC+0100 Viktor Szakats * package/mpkg_win_daily.bat * package/winuni/mpkg_win_uni.bat + move output redirection to mpkg_win_daily.bat so the unified script can be properly debugged when run in CI environments 2015-03-25 18:05 UTC+0100 Viktor Szakats * config/postinst.hb + add undocumented setting to skip creating the actual (.zip, .exe) release packages 2015-03-25 11:32 UTC+0100 Viktor Szakats * .travis.yml + instruct Travis CI to only deal with 'master' branch 2015-03-25 10:47 UTC+0100 Viktor Szakats * package/harbour.rb * minor enhancement * utils/hbtest/hbtest.prg + translate Windows OS error to MS-DOS code when built with Harbour 2015-03-25 01:19 UTC+0100 Viktor Szakats * contrib/hbcurl/tests/email.prg * limit protocols to SMTPS and SMTP 2015-03-24 23:47 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * package/winuni/RELNOTES.txt + burn Harbour and mingw versions into RELNOTES 2015-03-24 23:21 UTC+0100 Viktor Szakats * contrib/hbmysql/tmysql.prg + sync mysql types across the tree related functions * package/winuni/mpkg_win_uni.bat * package/winuni/RELNOTES.txt + burn current git revision into RELNOTES 2015-03-24 22:45 UTC+0100 Viktor Szakats * appveyor.yml + set version in package (artifact) names to 'daily' * add some comments + add 'artifacts' + revert root to be versionless + add 'before_deploy' commands * package/harbour.rb ! delete hbtest call from test, it returns failure code making the test section fail * package/mpkg_win_daily.bat * package/winuni/mpkg_win_uni.bat % use 'pushd' instead of 'cd /d' * package/mpkg_win_daily.bat % minor cleanup 2015-03-24 19:37 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * debug 2015-03-24 19:05 UTC+0100 Viktor Szakats * contrib/hbmysql/tmysql.prg + merged some bits from this post by Elch: https://groups.google.com/d/msg/harbour-users/3BAQnYYK2SE/KyniNxsLzfAJ Unfortunately many upstream contribs (like this one) are so outdated and uncleaned compare to 3.4 that it's very difficult to spot mergable changes. I suggest for contributors to take a 3.4 file as a base for patches, it will be of benefit for everyone. ; untested. clears a TODO. 2015-03-24 18:20 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat ! typo in prev * add comment 2015-03-24 18:06 UTC+0100 Viktor Szakats * contrib/hbcurl/easy.c * contrib/hbcurl/hbcurl.ch + add upcoming libcurl 7.42.0 features * ChangeLog.txt + add link to 'git log' HOW-TO. It's a dynamic and automatic version of ChangeLog.txt. It's a very powerful tool and eventually the concept shall replace this manually maintained log of the same changes. In 3.4 it merely serves as form of documentation, the build system doesn't rely on it anymore. You can even grep in the dynamic log using 'git log -g -S<text>'. 2015-03-24 17:37 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat * suppress more noise from output * minor internal cleanups 2015-03-24 16:58 UTC+0100 Viktor Szakats * config/postinst.hb % cleanup to prev * package/mpkg_win_daily.bat * package/winuni/mpkg_win_uni.bat ! always use 'cd /d' % silence some xcopy commands % silence some del commands * utils/hbtest/hbtest.prg * output cleanup * utils/hbtest/make_c5x.bat * utils/hbtest/make_xpp.bat * comment cleanup 2015-03-24 15:38 UTC+0100 Viktor Szakats * config/postinst.hb + some tweaks to output around HB_BUILD_POSTRUN 2015-03-24 14:53 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * src/rtl/hbsocket.c * use inet_pton() or inet_aton() if available instead of inet_addr() 2015-03-24 14:18 UTC+0100 Viktor Szakats * config/postinst.hb + add support for command arguments in HB_BUILD_POSTRUN ! fix to quote command names adding support for spaces in HB_DIR_7Z, HB_DIR_NSIS dirnames + do not limit HB_BUILD_POSTRUN to run Harbour tools by allowing a path component in commands * appveyor.yml + call hbspeed with --stdout option * appveyor.yml * contrib/hbwin/hbwin.hbp * contrib/hbwin/win_proxyc.c + do not rely on winhttp.h header, try to recreate its content internally. It means that win_ProxyDetect() regardless of C compiler used * README.md + add url to Sourcegraph * minor cleanup 2015-03-24 13:42 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/harbour.hbx * src/vm/cmdarg.c + added new PRG function hb_ACmdLine() -> <array> borrowed from Viktor's branch (2015-03-12 03:02 UTC+0100 Viktor Szakats) It returns array with all command line parameters. Unlike hb_AParams( __dbgProcLevel() - 1 ) hb_ACmdLine() returns all parameters also hidden ones just like hb_CmdLine() function and hb_argv()/hb_argc() Please also remember that hb_AParams() returns current value of parameters which could be changed bu user code so they can be different then original parameters passed to given function. * src/rtl/gtchrmap.c * casting * include/std.ch * synced casing with Viktor's branch 2015-03-24 12:18 UTC+0100 Viktor Szakats * config/postinst.hb ! add missed tokenization of HB_BUILD_POSTRUN 2015-03-24 10:44 UTC+0100 Viktor Szakats * package/winuni/mpkg_win_uni.bat % silence a large xcopy * appveyor.yml + add upx * clean double backslash ! fix workdir to not clash with default target dir for unified build 2015-03-24 04:09 UTC+0100 Viktor Szakats * appveyor.yml * config/postinst.hb * README.md + add HB_BUILD_POSTRUN option to run Harbour binaries at the end of the build process 2015-03-24 03:49 UTC+0100 Viktor Szakats * appveyor.yml % delete unnecessary double quotes * config/global.mk + add quote around shell executable in log output 2015-03-24 03:26 UTC+0100 Viktor Szakats * src/main/harbour.c * src/pp/hbpp.c * src/vm/mainstd.c * src/vm/mainwin.c ! attempt to fix harbour dll linkage with win/mingw64 and wce/mingwarm targets after: https://github.com/vszakats/hb/commit/fffb9f3fdcb90bbc77fea7c6926ccf7326065278 related: https://github.com/vszakats/hb/issues/110 2015-03-24 03:15 UTC+0100 Viktor Szakats * appveyor.yml + install nsis + install proper mingw + enable release package creation * config/postinst.hb * cleanup * package/mpkg_win_nightly.bat -> package/mpkg_win_daily.bat * rename nightly to daily * package/winuni/mpkg_win_uni.bat + pick the right mingw runtime dlls when using the 64-bit hosted dual-target distro 2015-03-23 22:03 UTC+0100 Viktor Szakats * config/global.mk * config/postinst.hb * package/mpkg_win_nightly.bat * package/winuni/RELNOTES.txt * terminology cleanup 2015-03-23 21:02 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl) * include/hbsix.ch * include/std.ch * formatting 2015-03-23 20:47 UTC+0100 Viktor Szakats * tests/rdd/make_c52.bat * tests/rdd/make_c53.bat * utils/hbtest/make_c5x.bat * utils/hbtest/make_xpp.bat % comment style 2015-03-23 20:29 UTC+0100 Viktor Szakats * tests/bldtest/* -> tests/build/* * tests/hbpptest/* -> tests/hbpp/* * tests/rddtest/* -> tests/rdd/* * remove "test" from folder names under the main 'tests' folder 2015-03-23 20:26 UTC+0100 Viktor Szakats * doc/dirstruc.txt * package/harbour.spec * package/winuni/mpkg_win_uni.bat * package/winuni/mpkg_win_uni.nsi * utils/Makefile + utils/hbspeed/Makefile * tests/speedtst.prg -> utils/hbspeed/hbspeed.prg + promote tests/speedtst.prg into 'hbspeed' which is built as pa